Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Template:FishImage: Difference between revisions

Template page
m single word edit i swear im moving on now
No edit summary
Line 1: Line 1:
<includeonly>
<includeonly>{{#if: {{{type|}}}|[[Category:Images of {{ucfirst:{{lc:{{{type}}}}}}} fish]]}}<!--
{{#if: {{{animated|}}}|[[Category:Animated images]]}}<!--
 
-->{{#if: {{{creature|}}}|[[Category:Images of {{#switch: {{lc:{{{creature}}}}}|fish|crab = {{ucfirst:{{{creature}}}}}|fish = Fish|crab = Crabs}}]]}}<!--
 
-->{{#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]]}}<!--
-->{{#if: {{{time|}}}|[[Category:Images of {{ucfirst:{{lc:{{{time}}}}}}}-time fish]]}}<!--
-->{{#if: {{{island|}}}|[[Category:Images of {{{island}}} fish]]}}</includeonly><noinclude>


-->{{#if: {{{rarity2|}}}|[[Category:Images of {{ucfirst:{{lc:{{{rarity2}}}}}}} fish]]}}<!--
-->{{#if: {{{island|}}}|[[Category:Images of {{{island}}} fish]]}}</includeonly>
<noinclude>
<templatedata>
<templatedata>
{
{
"params": {
"params": {
"type": {
"description": "The type of the fish",
"type": "string",
"required": true,
"label": "Type",
"suggestedvalues": [
"Normal",
"Elusive"
]
},
"rarity": {
"rarity": {
"description": "The rarity of the fish",
"description": "The rarity of the fish",
Line 29: Line 30:
"Mythic"
"Mythic"
]
]
},
"rarity2": {
"description": "The second rarity (i.e. Seasonal or Limited) of the fish, if any",
"type": "string",
"required": false
},
},
"island": {
"island": {
Line 52: Line 48:
]
]
},
},
"creature": {
"time": {
"label": "Creature",
"description": "The time that the fish is available",
"description": "What kind of creature the fish is categorized as",
"type": "string",
"type": "string",
"suggestedvalues": [
"required": true,
"fish",
"crab"
],
"required": true
},
"type": {
"label": "Type",
"label": "Type",
"description": "the type of fish",
"type": "string",
"suggestedvalues": [
"suggestedvalues": [
"Normal",
"Day",
"Elusive"
"Night"
]
]
}
}
Line 74: Line 61:
"description": "This template is intended for use in adding categories to a fish's file page.",
"description": "This template is intended for use in adding categories to a fish's file page.",
"paramOrder": [
"paramOrder": [
"island",
"creature",
"type",
"type",
"rarity",
"rarity",
"rarity2"
"island",
"time"
]
]
}
}
</templatedata></noinclude>
</templatedata></noinclude>

Revision as of 07:58, 8 December 2024


This template is intended for use in adding categories to a fish's file page.

Template parameters[Edit template data]

ParameterDescriptionTypeStatus
Typetype

The type of the fish

Suggested values
Normal Elusive
Stringrequired
Rarityrarity

The rarity of the fish

Suggested values
Common Uncommon Rare Epic Legendary Mythic
Stringrequired
Islandisland

The island collection the fish belongs to

Suggested values
Verdant Woods Floral Forest Dark Grove Tropical Overgrowth Coral Shores Twisted Swamp Ancient Sands Blazing Canyon Ashen Wastes
Stringrequired
Typetime

The time that the fish is available

Suggested values
Day Night
Stringrequired