Template:Infobox animal: Difference between revisions

From Coral Island Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 13: Line 13:
       <format><!--
       <format><!--
           -->{{#switch:{{{type}}}<!--
           -->{{#switch:{{{type}}}<!--
             -->|Coop Animal
             -->|Coop Animal<!--
             -->|Barn Animal
             -->|Barn Animal<!--
             -->|Stable Animal
             -->|Stable Animal<!--
                 --> = [[{{{type}}}]]<!--
                 --> = [[{{{type}}}]]<!--
             -->|#default = {{{type|}}}<!--
             -->|#default = {{{type|}}}<!--
Line 23: Line 23:
     <data source="housing">
     <data source="housing">
       <label>Housing</label>
       <label>Housing</label>
       <format>{{#if:{{{housing|}}}|{{#explode:{{{housing|}}}|;|0}}{{#if:{{#explode:{{{housing|}}}|;|1}}|&nbsp;Lv. {{#explode:{{{housing|}}}|;|1}}}}}}</format>
       <format>{{#if:{{{housing|}}}|{{Icon|{{#explode:{{{housing|}}}|;|0}}}}{{#if:{{#explode:{{{housing|}}}|;|1}}|&nbsp;Lv. {{#explode:{{{housing|}}}|;|1}}}}}}</format>
     </data>
     </data>
     <data>
     <data>

Revision as of 14:07, 8 February 2024

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