Template:Fish Data/doc
The {{Fish Data}} template is used for creating a template for profiles for fish, amphibians and reptiles.
Usage[edit]
Variables[edit]
name[edit]
This is the common name of the fish in question. Generally the most common name should be listed here.
image[edit]
This filed should be set to the file name the image that will be displayed in the profile box
caption[edit]
This caption will be displayed beneath the image
species[edit]
This is the species name of the most commonly associated fish, it should generally be the same as the page name
difficulty[edit]
This should be set as a rating of difficulty. Only values from Template:Units-difficulty will be recognized.
min_tank_size[edit]
This is the minimum tank size that the fish should be kept in. This should only be a numeric value, and contain no units. Either Liters or US Gallons may be used.
min_tank_size_units[edit]
This value should indicate the units you used in the min_tank_size variable. You should enter either L or Gal. This value is passed to the Template:Units-vol, so only strings recognized there will be understood.
max_size[edit]
This is the maximum size that the fish commonly grows to in captivity. Units can be either cm or inches. Only numeric values should be entered.
max_size_units[edit]
This is the units you entered the max_size value for. Generally you should enter either cm or in here. Values are parsed using Template:Units-size
min_temperature[edit]
This value is used to denote the lower range of the animals viable temperature. The value can be in either Ferinheight or Celsius. The units must match the max_temperature variable.
max_temperature[edit]
The high end of the animals viable temperature range. The value can be in either Ferinheight or Celsius. The units must match the max_temperature variable.
temperature_units[edit]
This variable defines the units used in the min_temperature and max_temperature variables. Understood variables are F and C. These values are parsed by Template:Units-temp
min_ph[edit]
This variable represents the minimum pH the animal can tolerate. This should be a numeric value.
max_ph[edit]
This variable represents the maximum pH the animal can tolerate. This should be a numeric value.
min_water_hardness[edit]
This variable represents the minimum water hardness the animal can tolerate. This should be a numeric value.
max_water_hardness[edit]
This variable represents the maximum water hardness the animal can tolerate. This should be a numeric value.
stocking_ratio_female[edit]
This number, combined with the stocking ratio male should indicate the number of males to females to keep in single tank.
stocking_ratio_male[edit]
This number, combined with the stocking ratio female should indicate the number of males to females to keep in single tank.
availability[edit]
This is a string representing how common a fish is. This string is parsed by the Template:Units-availability template.
diet[edit]
This is a string representing the type of food this animal should be fed. This value is parsed by the Template:Units-diet
food_pellet[edit]
This is a boolean (1 for true, or 0 for false) indicating if this fish will accept pellet food.
food_flake[edit]
This is a boolean (1 for true, or 0 for false) indicating if this fish will accept flake food.
food_live[edit]
This is a boolean (1 for true, or 0 for false) indicating if this fish will accept live food.
food_vegetables[edit]
This is a boolean (1 for true, or 0 for false) indicating if this fish will accept fresh veggies.
food_other[edit]
This is a boolean (1 for true, or 0 for false) indicating if this fish will requires a non-standard food.
min_life_span[edit]
This variable indicates the low-end of the expected lifespan of the fish.
max_life_span[edit]
This variable indicates the high-end of the expected lifespan of the fish.
min_sg[edit]
This value is used to indicate the low end of the tolerable specific gravity. For freshwater set this to one, or leave it blank.
max_sg[edit]
This value is used to indicate the high end of the tolerable specific gravity. For freshwater set this to one, or leave it blank.
Code[edit]
{{Fish Data |name = |image = |caption = |species = |difficulty = |min_tank_size = |min_tank_size_unit = |max_size = |min_size = |size_units = |min_ph = |max_ph = |min_temperature = |max_temperature = |temperature_units = |min_water_hardness = |max_water_hardness = |stocking_ratio_female = |stocking_ratio_male = |availability = |diet = |food_pellet = |food_flake = |food_live = |food_vegetables = |food_other = |min_life_span = |max_life_span = |min_sg = |max_sg = }}
Change log[edit]
- March 3, 2011
- Change log started