https://assets.theaquariumwiki.com/w/index.php?title=Template:Categorize&feed=atom&action=history
Template:Categorize - Revision history
2024-03-28T18:03:13Z
Revision history for this page on the wiki
MediaWiki 1.29.2
https://assets.theaquariumwiki.com/w/index.php?title=Template:Categorize&diff=67723&oldid=prev
PsiPro at 01:21, 8 August 2011
2011-08-08T01:21:35Z
<p></p>
<p><b>New page</b></p><div><includeonly>{{#striplines:<br />
{{#ifeq: {{units-temp|{{{temperature_units|}}} }}<br />
| c <br />
| {{#ifexpr: {{{min_temperature}}} < 15 | [[Category:Cold Water {{type-phrase|{{{type}}} }} Species]] }}<br />
{{#ifexpr: {{{min_temperature}}} >= 15 and {{{min_temperature}}} <= 19 | [[Category:Sub-Tropical {{type-phrase|{{{type}}} }} Species]] }}<br />
{{#ifexpr: {{{min_temperature}}} > 19 and {{{min_temperature}}} < 30 | [[Category:Tropical {{type-phrase|{{{type}}} }} Species]] }}<br />
| }}<br />
<br />
<br />
{{#ifeq: {{units-temp|{{{temperature_units|}}} }}<br />
| f<br />
| {{#ifexpr: {{{min_temperature}}} < 50 | [[Category:Cold Water {{type-phrase|{{{type}}} }} Species]] }}<br />
{{#ifexpr: {{{min_temperature}}} >= 50 and {{{min_temperature}}} <= 66 | [[Category:Sub-Tropical {{type-phrase|{{{type}}} }} Species]] }}<br />
{{#ifexpr: {{{min_temperature}}} > 66 and {{{min_temperature}}} < 86 | [[Category:Tropical {{type-phrase|{{{type}}} }} Species]] }}<br />
| }}<br />
<br />
{{#ifeq: {{Units-vol|{{{tank_size_units|}}} }}<br />
| g<br />
| {{#ifexpr: {{{tank_size}}} <= 10 | [[Category:Tank Size - {{gal|10}} or Less - {{type-phrase|{{{type}}} }}]] }}<br />
{{#ifexpr: {{{tank_size}}} <= 20 and {{{tank_size}}} > 10 | [[Category:Tank Size - {{gal|10}} to {{gal|20}} - {{type-phrase|{{{type}}} }}]] }}<br />
{{#ifexpr: {{{tank_size}}} <= 30 and {{{tank_size}}} > 20 | [[Category:Tank Size - {{gal|20}} to {{gal|30}} - {{type-phrase|{{{type}}} }}]] }}<br />
{{#ifexpr: {{{tank_size}}} <= 40 and {{{tank_size}}} > 30 | [[Category:Tank Size - {{gal|30}} to {{gal|40}} - {{type-phrase|{{{type}}} }}]] }}<br />
{{#ifexpr: {{{tank_size}}} <= 50 and {{{tank_size}}} > 40 | [[Category:Tank Size - {{gal|40}} to {{gal|50}} - {{type-phrase|{{{type}}} }}]] }}<br />
{{#ifexpr: {{{tank_size}}} <= 60 and {{{tank_size}}} > 50 | [[Category:Tank Size - {{gal|50}} to {{gal|60}} - {{type-phrase|{{{type}}} }}]] }}<br />
{{#ifexpr: {{{tank_size}}} <= 70 and {{{tank_size}}} > 60 | [[Category:Tank Size - {{gal|60}} to {{gal|70}} - {{type-phrase|{{{type}}} }}]] }}<br />
{{#ifexpr: {{{tank_size}}} <= 80 and {{{tank_size}}} > 70 | [[Category:Tank Size - {{gal|70}} to {{gal|80}} - {{type-phrase|{{{type}}} }}]] }}<br />
{{#ifexpr: {{{tank_size}}} <= 90 and {{{tank_size}}} > 80 | [[Category:Tank Size - {{gal|80}} to {{gal|90}} - {{type-phrase|{{{type}}} }}]] }}<br />
{{#ifexpr: {{{tank_size}}} <= 100 and {{{tank_size}}} > 90 | [[Category:Tank Size - {{gal|90}} to {{gal|100}} - {{type-phrase|{{{type}}} }}]] }}<br />
{{#ifexpr: {{{tank_size}}} > 100 | [[Category:Tank Size - {{gal|100}} and greater - {{type-phrase|{{{type}}} }}]] }}<br />
| }}<br />
<br />
{{#ifeq: {{Units-vol|{{{tank_size_units|}}} }}<br />
| l <br />
| {{#ifexpr: {{{tank_size}}}/3.7854118 round 1 <= 10 | [[Category:Tank Size - {{gal|10}} or Less - {{type-phrase|{{{type}}} }}]] }}<br />
{{#ifexpr: {{{tank_size}}}/3.7854118 round 1 <= 20 and {{{tank_size}}}/3.7854118 round 1 > 10 | [[Category:Tank Size - {{gal|10}} to {{gal|20}} - {{type-phrase|{{{type}}} }}]] }}<br />
{{#ifexpr: {{{tank_size}}}/3.7854118 round 1 <= 30 and {{{tank_size}}}/3.7854118 round 1 > 20 | [[Category:Tank Size - {{gal|20}} to {{gal|30}} - {{type-phrase|{{{type}}} }}]] }}<br />
{{#ifexpr: {{{tank_size}}}/3.7854118 round 1 <= 40 and {{{tank_size}}}/3.7854118 round 1 > 30 | [[Category:Tank Size - {{gal|30}} to {{gal|40}} - {{type-phrase|{{{type}}} }}]] }}<br />
{{#ifexpr: {{{tank_size}}}/3.7854118 round 1 <= 50 and {{{tank_size}}}/3.7854118 round 1 > 40 | [[Category:Tank Size - {{gal|40}} to {{gal|50}} - {{type-phrase|{{{type}}} }}]] }}<br />
{{#ifexpr: {{{tank_size}}}/3.7854118 round 1 <= 60 and {{{tank_size}}}/3.7854118 round 1 > 50 | [[Category:Tank Size - {{gal|50}} to {{gal|60}} - {{type-phrase|{{{type}}} }}]] }}<br />
{{#ifexpr: {{{tank_size}}}/3.7854118 round 1 <= 70 and {{{tank_size}}}/3.7854118 round 1 > 60 | [[Category:Tank Size - {{gal|60}} to {{gal|70}} - {{type-phrase|{{{type}}} }}]] }}<br />
{{#ifexpr: {{{tank_size}}}/3.7854118 round 1 <= 80 and {{{tank_size}}}/3.7854118 round 1 > 70 | [[Category:Tank Size - {{gal|70}} to {{gal|80}} - {{type-phrase|{{{type}}} }}]] }}<br />
{{#ifexpr: {{{tank_size}}}/3.7854118 round 1 <= 90 and {{{tank_size}}}/3.7854118 round 1 > 80 | [[Category:Tank Size - {{gal|80}} to {{gal|90}} - {{type-phrase|{{{type}}} }}]] }}<br />
{{#ifexpr: {{{tank_size}}}/3.7854118 round 1 <= 100 and {{{tank_size}}}/3.7854118 round 1 > 90 | [[Category:Tank Size - {{gal|90}} to {{gal|100}} - {{type-phrase|{{{type}}} }}]] }}<br />
{{#ifexpr: {{{tank_size}}}/3.7854118 round 1 > 100 | [[Category:Tank Size - {{gal|100}} and greater - {{type-phrase|{{{type}}} }}]] }}<br />
| }}<br />
<br />
{{#arraymap:{{{light_needs|}}}|,|@@@@|{{Categorize-light-needs|@@@@|{{{type|}}}}}|}}<br />
<br />
{{#ifeq: {{{captive_bred|0}}} <br />
| 1 <br />
| [[Category:Captive bred fish]]<br />
|<br />
}}<br />
<br />
{{#ifexpr: {{{max_sg}}} = 1 <br />
| [[Environment::Freshwater| ]]<br />
}}<br />
<br />
{{#ifexpr: {{{max_sg}}} < 1.020 and {{{max_sg}}} > 1<br />
| [[Environment::Brackish| ]]<br />
}}<br />
<br />
{{#ifexpr: {{{max_sg}}} > 1.020<br />
| [[Environment::Marine| ]]<br />
}}<br />
<br />
{{#if: {{Units-difficulty|{{{difficulty|}}} }} | <br />
[[Category:{{type-phrase|{{{type}}} }} Difficulty - {{Units-difficulty|{{{difficulty}}} }}]]<br />
}}<br />
{{#if: {{units-availability|{{{availability|}}} }} | <br />
[[Category:{{type-phrase|{{{type}}} }} Availability- {{units-availability|{{{availability}}} }}]]<br />
}}<br />
<br />
{{#if: {{units-Habitat|{{{habitat|}}} }} |<br />
[[Category:Habitat {{units-Habitat|{{{habitat|}}} }} - {{type-phrase|{{{type}}} }}]]<br />
}}<br />
{{#if: {{units-diet|{{{diet|}}} }} |<br />
[[Category:{{type-phrase|{{{type}}} }} Diet - {{units-diet| {{{diet|}}} }}]]<br />
}}<br />
<br />
[[Category:{{type-phrase|{{{type}}} }}]]<br />
<br />
}}</includeonly><noinclude><br />
Please only edit this page if you know how to read and write wikicode. Documentation can be found at http://meta.wikimedia.org/wiki/ParserFunctions<br />
{{template_doc}}<br />
[[Category:Categorization Templates]]<br />
</noinclude></div>
PsiPro