Template:Infobox caught: Difference between revisions

From Coral Island Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 145: Line 145:
       -->{{#if:{{{spring|}}}|[[Category:Winter {{lc:{{{type}}}}}s]]}}<!--
       -->{{#if:{{{spring|}}}|[[Category:Winter {{lc:{{{type}}}}}s]]}}<!--
       -->{{#switch:{{{difficulty}}}<!--
       -->{{#switch:{{{difficulty}}}<!--
         -->|Very Easy|Easy|Medium|Hard|Very Hard = [[Category:{{lc:{{{difficulty}}} difficulty {{{type}}}s}}]]<!--
         -->|Very easy|Easy|medium|Hard|Very hard = [[Category:{{{{difficulty}}} difficulty {{lc:{{{type}}}s}}]]<!--
         -->|#default = [[Category:Pages with wrong input]]<!--
         -->|#default = [[Category:Pages with wrong input]]<!--
       -->}}<!--
       -->}}<!--
Line 158: Line 158:
       -->{{#if:{{{pattern|}}}|[[Category:{{{pattern}}} pattern fish]]<!--
       -->{{#if:{{{pattern|}}}|[[Category:{{{pattern}}} pattern fish]]<!--
       -->{{#switch:{{{difficulty}}}<!--
       -->{{#switch:{{{difficulty}}}<!--
         -->|Very Easy|Easy|Medium|Hard|Very Hard = [[Category:{{lc:{{{difficulty}}}}} difficulty fish]]<!--
         -->|Very easy|Easy|Medium|Hard|Very hard = [[Category:{{{difficulty}}} difficulty fish]]<!--
         -->|#default = [[Category:Pages with wrong input]]<!--
         -->|#default = [[Category:Pages with wrong input]]<!--
       -->}}<!--
       -->}}<!--
Line 165: Line 165:
   Categories
   Categories
-->{{#if:{{{item_group|}}}|{{Array|{{{item_group}}}|;|[[Category:{item}s]]}}}}<!--
-->{{#if:{{{item_group|}}}|{{Array|{{{item_group}}}|;|[[Category:{item}s]]}}}}<!--
-->{{#ifeq:{{{weather|}}}|Any|[[Category:Caught in any weather]]|{{Array|{{{weather|}}}|;|[[Category:Caught while {{lc:{item}<!-- -->}}]]}}}}<!--
-->{{#ifeq:{{{weather|}}}|Any|[[Category:Caught in any weather]]|{{Array|{{{category|}}}|;|[[Category:Caught in {{lc:{item}}}]]}}}}<!--
-->{{#switch:{{{time}}}<!--
-->{{#switch:{{{time}}}<!--
   -->|All day = [[Category:Found all day]]<!--
   -->|All day = [[Category:Found all day]]<!--

Revision as of 14:23, 16 February 2024

Documentation icon Template documentation
Note: parts of or the entire template might not be visible without values provided.

Example