Template:Infobox caught: Difference between revisions

From Coral Island Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 42: Line 42:
         <data source="spring">
         <data source="spring">
           <label>Spring</label>
           <label>Spring</label>
           <default>&nbsp;</default>
           <default>{{check|blank}}</default>
           <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 50: Line 50:
         <data source="summer">
         <data source="summer">
           <label>Summer</label>
           <label>Summer</label>
           <default>&nbsp;</default>
           <default>{{check|blank}}</default>
           <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 58: Line 58:
         <data source="fall">
         <data source="fall">
           <label>Fall</label>
           <label>Fall</label>
           <default>&nbsp;</default>
           <default>{{check|blank}}</default>
           <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 66: Line 66:
         <data source="winter">
         <data source="winter">
           <label>Winter</label>
           <label>Winter</label>
           <default>&nbsp;</default>
           <default>{{check|blank}}</default>
           <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 156: Line 156:
       -->{{#if:{{{rarity|}}}|[[Category:{{{rarity}}} fish]]}}<!--
       -->{{#if:{{{rarity|}}}|[[Category:{{{rarity}}} fish]]}}<!--
       -->{{#ifeq:{{{spring|}}}|&nbsp;| |[[Category:Spring fish]]}}<!--
       -->{{#ifeq:{{{spring|}}}|&nbsp;| |[[Category:Spring fish]]}}<!--
       -->{{#ifeq:{{{summer|}}}| ||[[Category:Summer fish]]}}<!--
       -->{{#ifeq:{{{summer|}}}|{{check|blank}}||[[Category:Summer fish]]}}<!--
       -->{{#ifeq:{{{fall|}}}|&nbsp;| |[[Category:Fall fish]]}}<!--
       -->{{#ifeq:{{{fall|}}}|&nbsp;| |[[Category:Fall fish]]}}<!--
       -->{{#ifeq:{{{winter|}}}|&nbsp;| |[[Category:Winter fish]]}}<!--
       -->{{#ifeq:{{{winter|}}}|&nbsp;| |[[Category:Winter fish]]}}<!--

Revision as of 13:16, 16 February 2024

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

Example