Template:Infobox animal: Difference between revisions

From Coral Island Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 32: Line 32:
           -->{{#if:{{{year|}}}|<br />Year {{{year|}}}}}<!--
           -->{{#if:{{{year|}}}|<br />Year {{{year|}}}}}<!--
           -->{{#if:{{{building|}}}|<br />{{#explode:{{{building|}}}|;|0}}{{#if:{{#explode:{{{building|}}}|;|1}}|&nbsp;Lv. {{#explode:{{{building|}}}|;|1}}}}}}<!--
           -->{{#if:{{{building|}}}|<br />{{#explode:{{{building|}}}|;|0}}{{#if:{{#explode:{{{building|}}}|;|1}}|&nbsp;Lv. {{#explode:{{{building|}}}|;|1}}}}}}<!--
      -->}}<!--
      -->{{#if:{{{mastery|}}}|<!--
          -->{{#switch:{{#explode:{{{mastery|}}}|;|0}}|Farming|Ranching|Foraging|Mining|Diving|<!--bug-->Catching|Fishing|Combat|0=<!--
            -->{{#if:{{{rank|}}}|<br />}}{{Mastery|{{{mastery|}}}}}<!--
          -->}}<!--
       -->}}<!--
       -->}}<!--
     --></default>
     --></default>
Line 52: Line 47:
     </data>
     </data>
   </group>
   </group>
</infobox></includeonly><noinclude>{{Documentation|type=Infobox}}</noinclude>
</infobox><!--
-->{{Namespace|main=<!--
  Type
  -->{{#switch:{{{type}}}<!--
        -->|Coop Animal<!--
        -->|Barn Animal<!--
        -->|Stable Animal<!--
            -->= [[{{{type}}}s]]<!--
        -->|#default = [[Category:Pages with wrong input]]<!--
  -->}}<!--
  -->{{#if:{{{rank|}}}|[[Category:Town rank {{{rank}}}]]}}<!--
  -->{{#if:{{{year|}}}|[[Category:Year {{{year}}}]]}}<!--
-->}}</includeonly><noinclude>{{Documentation|type=Infobox}}</noinclude>

Revision as of 17:00, 8 February 2024

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