https://www.theaquariumwiki.com/w/index.php?title=Template:Fish_Data/doc&feed=atom&action=historyTemplate:Fish Data/doc - Revision history2024-03-29T15:44:35ZRevision history for this page on the wikiMediaWiki 1.29.2https://www.theaquariumwiki.com/w/index.php?title=Template:Fish_Data/doc&diff=65628&oldid=prevPsiPro: /* Usage */2011-03-22T01:48:30Z<p><span dir="auto"><span class="autocomment">Usage</span></span></p>
<p><b>New page</b></p><div>__NOTOC__<br />
The <nowiki>{{</nowiki>'''Fish Data'''}} template is used for creating a template for profiles for fish, amphibians and reptiles.<br />
== Usage ==<br />
=== Variables ===<br />
==== name ====<br />
This is the common name of the fish in question. Generally the most common name should be listed here.<br />
==== image ====<br />
This filed should be set to the file name the image that will be displayed in the profile box<br />
==== caption ====<br />
This caption will be displayed beneath the image<br />
==== species ====<br />
This is the species name of the most commonly associated fish, it should generally be the same as the page name<br />
==== difficulty ====<br />
This should be set as a rating of difficulty. Only values from [[Template:Units-difficulty]] will be recognized.<br />
==== min_tank_size ====<br />
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.<br />
==== min_tank_size_units ====<br />
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.<br />
==== max_size ====<br />
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.<br />
==== max_size_units ====<br />
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]]<br />
==== min_temperature ====<br />
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.<br />
==== max_temperature ====<br />
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.<br />
==== temperature_units ====<br />
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]]<br />
<br />
====min_ph ====<br />
This variable represents the minimum pH the animal can tolerate. This should be a numeric value.<br />
====max_ph ====<br />
This variable represents the maximum pH the animal can tolerate. This should be a numeric value.<br />
====min_water_hardness ====<br />
This variable represents the minimum water hardness the animal can tolerate. This should be a numeric value.<br />
<br />
====max_water_hardness ====<br />
This variable represents the maximum water hardness the animal can tolerate. This should be a numeric value.<br />
<br />
====stocking_ratio_female ====<br />
This number, combined with the stocking ratio male should indicate the number of males to females to keep in single tank.<br />
====stocking_ratio_male ====<br />
This number, combined with the stocking ratio female should indicate the number of males to females to keep in single tank.<br />
====availability ====<br />
This is a string representing how common a fish is. This string is parsed by the [[Template:Units-availability]] template.<br />
====diet ====<br />
This is a string representing the type of food this animal should be fed. This value is parsed by the [[Template:Units-diet]]<br />
====food_pellet ====<br />
This is a boolean (1 for true, or 0 for false) indicating if this fish will accept pellet food.<br />
====food_flake ====<br />
This is a boolean (1 for true, or 0 for false) indicating if this fish will accept flake food.<br />
====food_live ====<br />
This is a boolean (1 for true, or 0 for false) indicating if this fish will accept live food.<br />
====food_vegetables ====<br />
This is a boolean (1 for true, or 0 for false) indicating if this fish will accept fresh veggies.<br />
====food_other ====<br />
This is a boolean (1 for true, or 0 for false) indicating if this fish will requires a non-standard food.<br />
====min_life_span ====<br />
This variable indicates the low-end of the expected lifespan of the fish.<br />
====max_life_span ====<br />
This variable indicates the high-end of the expected lifespan of the fish.<br />
====min_sg ====<br />
This value is used to indicate the low end of the tolerable specific gravity. For freshwater set this to one, or leave it blank.<br />
====max_sg ====<br />
This value is used to indicate the high end of the tolerable specific gravity. For freshwater set this to one, or leave it blank.<br />
<br />
<br />
=== Code ===<br />
<pre><br />
{{Fish Data<br />
|name = <br />
|image = <br />
|caption = <br />
|species = <br />
|difficulty = <br />
|min_tank_size = <br />
|min_tank_size_unit =<br />
|max_size = <br />
|min_size = <br />
|size_units = <br />
|min_ph = <br />
|max_ph = <br />
|min_temperature = <br />
|max_temperature =<br />
|temperature_units = <br />
|min_water_hardness = <br />
|max_water_hardness = <br />
|stocking_ratio_female = <br />
|stocking_ratio_male = <br />
|availability = <br />
|diet = <br />
|food_pellet = <br />
|food_flake = <br />
|food_live = <br />
|food_vegetables =<br />
|food_other = <br />
|min_life_span = <br />
|max_life_span = <br />
|min_sg =<br />
|max_sg =<br />
}}<br />
</pre><br />
<br />
==Change log==<br />
*March 3, 2011<br />
**Change log started</div>PsiPro