Template:FishImage: Difference between revisions
Template page
More actions
m adjusted syntax and parameters |
m small spelling fix |
||
Line 2: | Line 2: | ||
{{#if: {{{animated|}}}|[[Category:Animated images]]}}<!-- | {{#if: {{{animated|}}}|[[Category:Animated images]]}}<!-- | ||
-->{{#if: {{{creature|}}}|[[Category:Images of {{#switch: {{lc:{{{creature}}}}} | -->{{#if: {{{creature|}}}|[[Category:Images of {{#switch: {{lc:{{{creature}}}}} = {{ucfirst:{{{creature}}}}}|fish = Fish|crab= Crabs}}]]}}<!-- | ||
-->{{#if: {{{type|}}}|[[Category:Images of {{ | -->{{#if: {{{type|}}}|[[Category:Images of {{ucfirst:{{lc:{{{type}}}}}}} fish]]}}<!-- | ||
-->{{#if: {{{rarity|}}}|[[Category:Images of {{ucfirst:{{lc:{{{rarity}}}}}}} fish]]}}<!-- | -->{{#if: {{{rarity|}}}|[[Category:Images of {{ucfirst:{{lc:{{{rarity}}}}}}} fish]]}}<!-- | ||
Line 67: | Line 67: | ||
"type": "string", | "type": "string", | ||
"suggestedvalues": [ | "suggestedvalues": [ | ||
" | "Normal", | ||
" | "Elusive" | ||
] | ] | ||
} | } | ||
Line 76: | Line 76: | ||
"island", | "island", | ||
"creature", | "creature", | ||
"type", | |||
"rarity", | "rarity", | ||
"rarity2 | "rarity2" | ||
] | ] | ||
} | } | ||
</templatedata></noinclude> | </templatedata></noinclude> |
Revision as of 02:45, 6 December 2024
This template is intended for use in adding categories to a fish's file page.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Island | island | The island collection the fish belongs to
| String | required |
Creature | creature | What kind of creature the fish is categorized as
| String | required |
Type | type | the type of fish
| String | optional |
Rarity | rarity | The rarity of the fish
| String | required |
rarity2 | rarity2 | The second rarity (i.e. Seasonal or Limited) of the fish, if any | String | optional |