Template:Infobox caught: Difference between revisions

From Coral Island Wiki
Jump to navigation Jump to search
No edit summary
(add links to labels)
 
(2 intermediate revisions by the same user not shown)
Line 41: Line 41:
         <header>Conditions</header>
         <header>Conditions</header>
         <data source="spring">
         <data source="spring">
           <label>Spring</label>
           <label>[[Spring]]</label>
           <format>{{#if:{{{spring|}}}|<!--
           <format>{{#if:{{{spring|}}}|<!--
           -->{{#ifeq:{{#explode:{{{spring|}}}|;|0}}|1|{{check|yes}}|&nbsp;}}{{#if:{{#explode:{{{spring|}}}|;|1}}<!--
           -->{{#ifeq:{{#explode:{{{spring|}}}|;|0}}|1|{{check|yes}}|&nbsp;}}{{#if:{{#explode:{{{spring|}}}|;|1}}<!--
Line 48: Line 48:
         </data>
         </data>
         <data source="summer">
         <data source="summer">
           <label>Summer</label>
           <label>[[Summer]]</label>
           <format>{{#if:{{{summer|}}}|<!--
           <format>{{#if:{{{summer|}}}|<!--
           -->{{#ifeq:{{#explode:{{{summer|}}}|;|0}}|1|{{check|yes}}|&nbsp;}}{{#if:{{#explode:{{{summer|}}}|;|1}}<!--
           -->{{#ifeq:{{#explode:{{{summer|}}}|;|0}}|1|{{check|yes}}|&nbsp;}}{{#if:{{#explode:{{{summer|}}}|;|1}}<!--
Line 55: Line 55:
         </data>
         </data>
         <data source="fall">
         <data source="fall">
           <label>Fall</label>
           <label>[[Fall]]</label>
           <format>{{#if:{{{fall|}}}|<!--
           <format>{{#if:{{{fall|}}}|<!--
           -->{{#ifeq:{{#explode:{{{fall|}}}|;|0}}|1|{{check|yes}}|&nbsp;}}{{#if:{{#explode:{{{fall|}}}|;|1}}<!--
           -->{{#ifeq:{{#explode:{{{fall|}}}|;|0}}|1|{{check|yes}}|&nbsp;}}{{#if:{{#explode:{{{fall|}}}|;|1}}<!--
Line 62: Line 62:
         </data>
         </data>
         <data source="winter">
         <data source="winter">
           <label>Winter</label>
           <label>[[Winter]]</label>
           <format>{{#if:{{{winter|}}}|<!--
           <format>{{#if:{{{winter|}}}|<!--
           -->{{#ifeq:{{#explode:{{{winter|}}}|;|0}}|1|{{check|yes}}|&nbsp;}}{{#if:{{#explode:{{{winter|}}}|;|1}}<!--
           -->{{#ifeq:{{#explode:{{{winter|}}}|;|0}}|1|{{check|yes}}|&nbsp;}}{{#if:{{#explode:{{{winter|}}}|;|1}}<!--
Line 99: Line 99:
       </data>
       </data>
       <data source="weather">
       <data source="weather">
         <label>Weather</label>
         <label>[[Weather]]</label>
         <format><!--
         <format><!--
             -->{{#ifeq:{{{weather|}}}<!--
             -->{{#ifeq:{{{weather|}}}<!--
Line 154: Line 154:
       -->}}<!--
       -->}}<!--
   -->|Fish<!-- fishing
   -->|Fish<!-- fishing
       -->= [[Category:{{{type}}}]]<!--
       -->= [[Category:{{{type}}}es]]<!--
       -->{{#if:{{{rarity|}}}|[[Category:{{{rarity}}} fish]]}}<!--
       -->{{#if:{{{rarity|}}}|[[Category:{{{rarity}}} fish]]}}<!--
       -->{{#if:{{{spring|}}}|[[Category:Spring fish]]}}<!--
       -->{{#if:{{{spring|}}}|[[Category:Spring fish]]}}<!--
Line 164: Line 164:
       -->{{#ifeq:{{{weather|}}}<!--
       -->{{#ifeq:{{{weather|}}}<!--
         -->|Any<!--
         -->|Any<!--
         -->|[[Category:Any weather {{{type}}}]]<!--
         -->|[[Category:Any weather fish]]<!--
         -->|{{Array|{{{weather}}}|;|[[Category:{item} weather fish]]}}<!--
         -->|{{Array|{{{weather}}}|;|[[Category:{item} weather fish]]}}<!--
       -->}}<!--
       -->}}<!--

Latest revision as of 06:53, 17 February 2024

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

Example