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
Created page with "<includeonly> {{#if: {{{animated|}}}|Category:Animated images}}<!-- -->{{#if: {{{creature|}}}|[[Category:Images of {{#switch: {{ucfirst:{{lc:{{{creature}}}}} |fish = Fish |crab = Crabs}}]]}}<!-- -->{{#if: {{{island|}}}|[[Category:Images of {{{island}}} Island Fish]]}}<!-- -->{{#if: {{{type|}}}|[[Category:Images of {{ucfirst:{{lc:{{{type}}}}}}} Fish]]}}<!-- -->{{#if: {{{rarity|}}}|[[Category:Images of {{ucfirst:{{lc:{{{rarity}}}}}}} Fish]]}}<!-- -->{{#if: {{{rari..."
 
m adjusted syntax and parameters
Line 2: Line 2:
{{#if: {{{animated|}}}|[[Category:Animated images]]}}<!--
{{#if: {{{animated|}}}|[[Category:Animated images]]}}<!--


-->{{#if: {{{creature|}}}|[[Category:Images of {{#switch: {{ucfirst:{{lc:{{{creature}}}}} |fish = Fish |crab = Crabs}}]]}}<!--
-->{{#if: {{{creature|}}}|[[Category:Images of {{#switch: {{lc:{{{creature}}}}}|fish|crab = {{ucfirst:{{{creature}}}}}s|fish = Fish|crab= Crabs}}]]}}<!--


-->{{#if: {{{island|}}}|[[Category:Images of {{{island}}} Island Fish]]}}<!--
-->{{#if: {{{type|}}}|[[Category:Images of {{#switch: {{lc:{{{type}}}}}|normal|elusive= {{ucfirst:{{{type}}}}}s|normal = Normal|elusive = Elusive}} fish]]}}<!--


-->{{#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: {{{rarity2|}}}|[[Category:Images of {{ucfirst:{{lc:{{{rarity2}}}}}}} fish]]}}<!--


-->{{#if: {{{rarity2|}}}|[[Category:Images of {{ucfirst:{{lc:{{{rarity2}}}}}}} Fish]]}}<!--
-->{{#if: {{{island|}}}|[[Category:Images of {{{island}}} fish]]}}</includeonly>
</includeonly>


<noinclude>
<noinclude>
Line 17: Line 16:
{
{
"params": {
"params": {
"type": {
"description": "The type of 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 50: Line 39:
"description": "The island collection the fish belongs to",
"description": "The island collection the fish belongs to",
"type": "string",
"type": "string",
"required": true
"required": true,
},
"time": {
"label": "Time",
"description": "Time of day the fish is active",
"type": "string",
"suggestedvalues": [
"suggestedvalues": [
"Day",
"Verdant Woods",
"Night",
"Floral Forest",
"Always"
"Dark Grove",
],
"Tropical Overgrowth",
"required": true
"Coral Shores",
"Twisted Swamp",
"Ancient Sands",
"Blazing Canyon",
"Ashen Wastes"
]
},
},
"creature": {
"creature": {
Line 68: Line 57:
"type": "string",
"type": "string",
"suggestedvalues": [
"suggestedvalues": [
"Fish",
"fish",
"Crab"
"crab"
],
],
"required": true
"required": true
},
"type": {
"label": "Type",
"description": "the type of fish",
"type": "string",
"suggestedvalues": [
"normal",
"elusive"
]
}
}
},
},
"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",
"creature",
"island",
"type",
"time",
"rarity",
"rarity",
"rarity2"
"rarity2",
"type"
]
]
}
}
</templatedata></noinclude>
</templatedata></noinclude>

Revision as of 02:35, 6 December 2024


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

Template parameters[Edit template data]

ParameterDescriptionTypeStatus
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
Creaturecreature

What kind of creature the fish is categorized as

Suggested values
fish crab
Stringrequired
Rarityrarity

The rarity of the fish

Suggested values
Common Uncommon Rare Epic Legendary Mythic
Stringrequired
rarity2rarity2

The second rarity (i.e. Seasonal or Limited) of the fish, if any

Stringoptional
Typetype

the type of fish

Suggested values
normal elusive
Stringoptional