Template:FishImage: Difference between revisions
Template page
More actions
No edit summary |
Added separate label for grotto just in case |
||
Line 2: | Line 2: | ||
-->{{#if: {{{rarity|}}}|[[Category:Images of {{ucfirst:{{lc:{{{rarity}}}}}}} fish]]}}<!-- | -->{{#if: {{{rarity|}}}|[[Category:Images of {{ucfirst:{{lc:{{{rarity}}}}}}} fish]]}}<!-- | ||
-->{{#if: {{{island|}}}|[[Category:Images of {{{island}}} fish]]}}<!-- | -->{{#if: {{{island|}}}|[[Category:Images of {{{island}}} fish]]}}<!-- | ||
-->{{#if: {{{grotto|}}}|[[Category:Images of {{{grotto}}} fish]]}}<!-- | |||
-->{{#if: {{{time|}}}|[[Category:Images of {{ucfirst:{{lc:{{{time}}}}}}}-time fish]]}}</includeonly><noinclude> | -->{{#if: {{{time|}}}|[[Category:Images of {{ucfirst:{{lc:{{{time}}}}}}}-time fish]]}}</includeonly><noinclude> | ||
Line 35: | Line 36: | ||
"description": "The island collection the fish belongs to", | "description": "The island collection the fish belongs to", | ||
"type": "string", | "type": "string", | ||
"required": | "required": false, | ||
"suggestedvalues": [ | "suggestedvalues": [ | ||
"Verdant Woods", | "Verdant Woods", | ||
Line 46: | Line 47: | ||
"Blazing Canyon", | "Blazing Canyon", | ||
"Ashen Wastes" | "Ashen Wastes" | ||
] | |||
}, | |||
"grotto": { | |||
"label": "Grotto", | |||
"description": "The grotto collection the fish belongs to", | |||
"type": "string", | |||
"required": false, | |||
"suggestedvalues": [ | |||
"Sunken Swamp", | |||
"Mirrored Oasis", | |||
"Volcanic Springs" | |||
] | ] | ||
}, | }, | ||
Line 65: | Line 77: | ||
"rarity", | "rarity", | ||
"island", | "island", | ||
"grotto", | |||
"time" | "time" | ||
] | ] | ||
} | } | ||
</templatedata></noinclude> | </templatedata></noinclude> |
Revision as of 11:14, 19 December 2024
This template is intended for use in adding categories to a fish's file page.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Type | type | The type of the fish
| String | required |
Rarity | rarity | The rarity of the fish
| String | required |
Island | island | The island collection the fish belongs to
| String | optional |
Grotto | grotto | The grotto collection the fish belongs to
| String | optional |
Type | time | The time that the fish is available
| String | required |