Template:Infobox caught: Difference between revisions

From Coral Island Wiki
Jump to navigation Jump to search
mNo edit summary
No edit summary
Line 144: Line 144:
       -->{{#if:{{{fall|}}}|[[Category:Fall {{lc:{{{type}}}}}s]]}}<!--
       -->{{#if:{{{fall|}}}|[[Category:Fall {{lc:{{{type}}}}}s]]}}<!--
       -->{{#if:{{{winter|}}}|[[Category:Winter {{lc:{{{type}}}}}s]]}}<!--
       -->{{#if:{{{winter|}}}|[[Category:Winter {{lc:{{{type}}}}}s]]}}<!--
      -->{{#ifeq:{{{weather|}}}<!--
        -->|Any<!--
        -->|[[Category:Any weather {{{type}}}]]<!--
        -->|{{Array|{{{weather}}}|;|[[Category:{item} weather {{lc:{{{type}}}}}s]]}}<!--
      -->}}<!--
       -->{{#switch:{{{difficulty}}}<!--
       -->{{#switch:{{{difficulty}}}<!--
         -->|Very easy|Easy|Medium|Hard|Very hard = [[Category:{{{difficulty}}} difficulty {{lc:{{{type}}}s}}]]<!--
         -->|Very easy|Easy|Medium|Hard|Very hard = [[Category:{{{difficulty}}} difficulty {{lc:{{{type}}}s}}]]<!--
Line 157: Line 162:
       -->{{#if:{{{size|}}}|[[Category:{{{size}}} size fish]]}}<!--
       -->{{#if:{{{size|}}}|[[Category:{{{size}}} size fish]]}}<!--
       -->{{#if:{{{pattern|}}}|[[Category:{{{pattern}}} pattern fish]]<!--
       -->{{#if:{{{pattern|}}}|[[Category:{{{pattern}}} pattern fish]]<!--
      -->{{#ifeq:{{{weather|}}}<!--
        -->|Any<!--
        -->|[[Category:Any weather {{{type}}}]]<!--
        -->|{{Array|{{{weather}}}|;|[[Category:{item} weather fish]]}}<!--
      -->}}<!--
       -->{{#switch:{{{difficulty}}}<!--
       -->{{#switch:{{{difficulty}}}<!--
         -->|Very easy|Easy|Medium|Hard|Very hard = [[Category:{{{difficulty}}} difficulty fish]]<!--
         -->|Very easy|Easy|Medium|Hard|Very hard = [[Category:{{{difficulty}}} difficulty fish]]<!--
Line 165: Line 175:
   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|}}}|;|{{lc:[[Category:Caught in {item} weather]]}}}}}}<!--
-->{{#switch:{{{time}}}<!--
-->{{#switch:{{{time}}}<!--
   -->|All day = [[Category:Found all day]]<!--
   -->|All day = [[Category:Found all day]]<!--

Revision as of 16:45, 16 February 2024

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

Example