Template:Fish Data

From The Aquarium Wiki
Revision as of 01:33, 6 September 2017 by PsiPro (talk | contribs) (Reverted edits by HalfbeakedGar (talk) to last revision by PsiPro)
Jump to: navigation, search


Documentation icon Documentationviewedithistory⧼Code-rev-purge-link⧽

This documentation is transcluded from Template:Fish Data/doc.


The {{Fish Data}} template is used for creating a template for profiles for fish, amphibians and reptiles.

Usage

Variables

name

This is the common name of the fish in question. Generally the most common name should be listed here.

image

This filed should be set to the file name the image that will be displayed in the profile box

caption

This caption will be displayed beneath the image

species

This is the species name of the most commonly associated fish, it should generally be the same as the page name

difficulty

This should be set as a rating of difficulty. Only values from Template:Units-difficulty will be recognized.

min_tank_size

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

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

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

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

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

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

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

This variable represents the minimum pH the animal can tolerate. This should be a numeric value.

max_ph

This variable represents the maximum pH the animal can tolerate. This should be a numeric value.

min_water_hardness

This variable represents the minimum water hardness the animal can tolerate. This should be a numeric value.

max_water_hardness

This variable represents the maximum water hardness the animal can tolerate. This should be a numeric value.

stocking_ratio_female

This number, combined with the stocking ratio male should indicate the number of males to females to keep in single tank.

stocking_ratio_male

This number, combined with the stocking ratio female should indicate the number of males to females to keep in single tank.

availability

This is a string representing how common a fish is. This string is parsed by the Template:Units-availability template.

diet

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

This is a boolean (1 for true, or 0 for false) indicating if this fish will accept pellet food.

food_flake

This is a boolean (1 for true, or 0 for false) indicating if this fish will accept flake food.

food_live

This is a boolean (1 for true, or 0 for false) indicating if this fish will accept live food.

food_vegetables

This is a boolean (1 for true, or 0 for false) indicating if this fish will accept fresh veggies.

food_other

This is a boolean (1 for true, or 0 for false) indicating if this fish will requires a non-standard food.

min_life_span

This variable indicates the low-end of the expected lifespan of the fish.

max_life_span

This variable indicates the high-end of the expected lifespan of the fish.

min_sg

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

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

{{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

  • March 3, 2011
    • Change log started<div style="clear:both;" />