Template:Infobox item/Draft: Difference between revisions

From Coral Island Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 101: Line 101:
         <label>[[Enchanting]] value</label>
         <label>[[Enchanting]] value</label>
       </data>
       </data>
       <data source="animal">
       <data source="produced_by">
         <label>Animal</label>
         <label>Produced by</label>
         <format>{{Icon|{{{animal|}}}}}</format>
         <format>{{Icon|{{{produced_by|}}}}}</format>
       </data>
       </data>
       <data source="source">
       <data source="source">
Line 257: Line 257:
-->}}<!--
-->}}<!--
   Animal products
   Animal products
-->{{#if:{{{animal|}}}|<!--
-->{{#if:{{{produced_by|}}}|<!--
   -->{{#switch:{{{animal}}}<!--
   -->{{#switch:{{{produced_by}}}<!--
       -->|Chicken|Duck|Peafowl|Quail = [[Category:{{{animal}}} products]][[Category:Coop products]]<!--
       -->|Chicken|Duck|Peafowl|Quail = [[Category:{{{produced_by}}} products]][[Category:Coop products]]<!--
       -->|Pig|Luwak|Goat|Cow|Llama = [[Category:{{{animal}}} products]][[Category:Barn products]]<!--
       -->|Pig|Luwak|Goat|Cow|Llama = [[Category:{{{produced_by}}} products]][[Category:Barn products]]<!--
      -->|#default = [[Category:{{{produced_by}}} products]]<!--
   -->}}<!--
   -->}}<!--
-->}}<!--
-->}}<!--
Line 277: Line 278:
   -->|Scavengeable|Mushroom= {{#if:{{{journal_id|}}}|[[Category:Scavengeable|{{{journal_id}}}]]|[[Category:Scavengeable]][[Category:Item missing sort ID]]}}<!--
   -->|Scavengeable|Mushroom= {{#if:{{{journal_id|}}}|[[Category:Scavengeable|{{{journal_id}}}]]|[[Category:Scavengeable]][[Category:Item missing sort ID]]}}<!--
   -->|Gem|Geode= {{#if:{{{journal_id|}}}|[[Category:Gem|{{{journal_id}}}]]|[[Category:Gem]][[Category:Item missing sort ID]]}}<!--
   -->|Gem|Geode= {{#if:{{{journal_id|}}}|[[Category:Gem|{{{journal_id}}}]]|[[Category:Gem]][[Category:Item missing sort ID]]}}<!--
   -->|Artisan product|Animal product|Fish|Ocean critter|Artifact|Fossil|Letter|Torn page= {{#if:{{{journal_id|}}}|[[Category:{{{type}}}|{{{journal_id}}}]]|[[Category:{{{type}}}]][[Category:Item missing sort ID]]}}<!--
   -->|Animal product|Fish|Ocean critter|Artifact|Fossil|Letter|Torn page= {{#if:{{{journal_id|}}}|[[Category:{{{type}}}|{{{journal_id}}}]]|[[Category:{{{type}}}]][[Category:Item missing sort ID]]}}<!--
   -->|#default=<!--
   -->|#default=<!--
   -->}}<!--
   -->}}<!--

Revision as of 17:11, 8 February 2024

225Asian Bookshelves.png
This is the template draft page for Template:Infobox item (diff).
Documentation icon Template documentation
Note: parts of or the entire template might not be visible without values provided.

Example 1

Example 2

Example 3


Example 4