Template:Infobox item/Draft: Difference between revisions

From Coral Island Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 19: Line 19:
               -->|Resource<!-- crafting mat
               -->|Resource<!-- crafting mat
               -->|Resource equipment|Artisan equipment<!-- crafting
               -->|Resource equipment|Artisan equipment<!-- crafting
              -->|Artisan product<!-- artisan product
               -->|Animal product<!-- ranching
               -->|Animal product<!-- ranching
               -->|Scavengeable|Mushroom<!-- foraging
               -->|Scavengeable|Mushroom<!-- foraging
Line 114: Line 115:
         <label>Base</label>
         <label>Base</label>
         <format>{{#switch:{{lc:{{{sell|}}}}}
         <format>{{#switch:{{lc:{{{sell|}}}}}
         | 0 = ''Unsellable''
         |0 = ''Unsellable''
         | #default= {{#if:{{{diff_quality|}}}|{{formatnum:{{{sell|}}}}}|{{c|{{{sell|}}}}}}}
         |#default= {{{sell|}}}
         }}</format>
         }}</format>
       </data>
       </data>
Line 217: Line 218:
       -->[[Category:{{{type}}}s]]<!--
       -->[[Category:{{{type}}}s]]<!--
       -->{{#if:{{{season|}}}|{{#ifeq:{{{season|}}}|Any<!--
       -->{{#if:{{{season|}}}|{{#ifeq:{{{season|}}}|Any<!--
         -->|[[Category:Any season scavengeables}}]]<!--
         -->|[[Category:Any season forageables}}]]<!--
         -->|{{Array|{{{season}}}|;|[[Category:{item} scavengeables]]}}<!--
         -->|{{Array|{{{season}}}|;|[[Category:{item} forageables]]}}<!--
       -->}}}}<!--
       -->}}}}<!--
   -->|Bomb|Decoy<!-- combat
   -->|Bomb|Decoy<!-- combat
Line 263: Line 264:
   Categories<!--
   Categories<!--
-->{{#if:{{{category|}}}|{{Array|{{{category|}}}|;|[[Category:{item}]]}}}}<!--
-->{{#if:{{{category|}}}|{{Array|{{{category|}}}|;|[[Category:{item}]]}}}}<!--
-->{{#if:{{{item_group|}}}|{{Array|{{{item_group}}}|;|[[Category:{item}s]]}}}}<!--
-->{{#if:{{{regrowth|}}}|[[Category:Regrowing crops]]}}<!--
-->{{#if:{{{regrowth|}}}|[[Category:Regrowing crops]]}}<!--
-->{{#if:{{{rank|}}}|[[Category:Town rank {{{rank}}}]]}}<!--
-->{{#if:{{{rank|}}}|[[Category:Town rank {{{rank}}}]]}}<!--
Line 303: Line 305:
}}
}}
{{clr}}
{{clr}}
==Example 2==
==Example 2==
{{Infobox item/Draft
{{Infobox item/Draft
Line 310: Line 313:
}}
}}
{{clr}}
{{clr}}
==Example 3==
==Example 3==
{{Infobox item/Draft
{{Infobox item/Draft
Line 323: Line 327:
|health      = 36
|health      = 36
|energy      = 25
|energy      = 25
|diff_quality = 1
}}
 
==Example 4==
{{Infobox item/Draft
|description    = Red and gooey.
|source        = Mason jar
|item_group    = Jam
 
<!--Sell Prices-->
|sell          =  220
|bronze        =  250
|silver        =  280
|gold          =  320
|osmium        =  425
 
<!--Health-->
|health        = 100
|health_bronze  = 115
|health_silver  = 125
|health_gold    = 150
|health_osmium  = 200
 
<!--Restoration-->
|energy        = 50
|energy_bronze  = 60
|energy_silver  = 65
|energy_gold    = 80
|energy_osmium  = 105
}}
}}
}}</noinclude>
}}</noinclude>

Revision as of 15:01, 6 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