Template:Infobox animal: Difference between revisions

From Coral Island Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
 
(2 intermediate revisions by the same user not shown)
Line 5: Line 5:
   <image source="image">
   <image source="image">
     <default>{{Exists|File:{{#titleparts:{{PAGENAME}}}}.png|{{#titleparts:{{PAGENAME}}}}.png|}}</default>
     <default>{{Exists|File:{{#titleparts:{{PAGENAME}}}}.png|{{#titleparts:{{PAGENAME}}}}.png|}}</default>
    <caption source="description" />
   </image>
   </image>
   <group>
   <group>
Line 20: Line 19:
         -->}}
         -->}}
       </format>
       </format>
    </data>
    <data source="description">
      <label>Description</label>
     </data>
     </data>
     <data source="building">
     <data source="building">
Line 50: Line 52:
-->{{Namespace|main=<!--
-->{{Namespace|main=<!--
   Type
   Type
  -->[[Category:Farm animals]]<!--
   -->{{#switch:{{{type}}}<!--
   -->{{#switch:{{{type}}}<!--
         -->|Coop Animal<!--
         -->|Coop Animal<!--
         -->|Barn Animal<!--
         -->|Barn Animal<!--
         -->|Stable Animal<!--
         -->|Stable Animal<!--
             -->= [[{{{type}}}s]]<!--
             -->= [[Category:{{lc:{{{type}}}s}}]]<!--
         -->|#default = [[Category:Pages with wrong input]]<!--
         -->|#default = [[Category:Pages with wrong input]]<!--
   -->}}<!--
   -->}}<!--

Latest revision as of 05:49, 10 February 2024

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