Template:Infobox item/Draft: Difference between revisions

From Coral Island Wiki
Jump to navigation Jump to search
No edit summary
Tag: Reverted
No edit summary
Tag: Reverted
Line 257: Line 257:
-->}}<!--
-->}}<!--
   Animal products
   Animal products
-->{{#if:{{{produced_by|}}}|<!--
-->{{#if:{{#explode:{{{produced_by|}}}|;|0}}}}|<!--
   -->{{#switch:{{{produced_by}}}<!--
   -->{{#switch:{{#explode:{{{produced_by|}}}|;|0}}}}<!--
       -->|Chicken|Duck|Peafowl|Quail = [[Category:{{{produced_by}}} products]][[Category:Coop products]]<!--
       -->|Chicken|Duck|Peafowl|Quail = [[Category:{{{produced_by}}} products]][[Category:Coop products]]<!--
       -->|Pig|Luwak|Goat|Cow|Llama = [[Category:{{{produced_by}}} products]][[Category:Barn products]]<!--
       -->|Pig|Luwak|Goat|Cow|Llama = [[Category:{{{produced_by}}} products]][[Category:Barn products]]<!--
Line 266: Line 266:
   Categories<!--
   Categories<!--
-->{{#if:{{{category|}}}|{{Array|{{{category|}}}|;|[[Category:{item}]]}}}}<!--
-->{{#if:{{{category|}}}|{{Array|{{{category|}}}|;|[[Category:{item}]]}}}}<!--
-->{{#if:{{{item_group|}}}|{{Array|{{{item_group}}}|;|[[Category:{item}s]]}}}}<!--
-->{{#if:{{{item_group|}}}|{{Array|{{{item_group}}}|;|[[Category:{item}]]}}}}<!--
-->{{#if:{{{regrowth|}}}|[[Category:Regrowing crops]]}}<!--
-->{{#if:{{{regrowth|}}}|[[Category:Regrowing crops]]}}<!--
-->{{#if:{{{rank|}}}|[[Category:Town rank {{{rank}}}]]}}<!--
-->{{#if:{{{rank|}}}|[[Category:Town rank {{{rank}}}]]}}<!--

Revision as of 03:52, 10 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

}}}}

Example 5

}}}}