Template:Infobox item: Difference between revisions

From Coral Island Wiki
Jump to navigation Jump to search
(move size)
(adjust type for resource)
Line 194: Line 194:
         -->|[[Category:Any season {{lc:{{{type}}}s}}]]<!--
         -->|[[Category:Any season {{lc:{{{type}}}s}}]]<!--
         -->|{{Array|{{{season}}}|;|[[Category:{item} {{lc:{{{type}}}s}}]]}}<!--
         -->|{{Array|{{{season}}}|;|[[Category:{item} {{lc:{{{type}}}s}}]]}}<!--
      -->}}}}<!--
  -->|Resource=<!-- crafting mat
      -->[[Category:Resources]]<!--
      -->{{#if:{{{seed}}}|[[Category:Crops]][[Category:Crop|{{{journal_id}}}]]}}<!--
      -->{{#if:{{{season|}}}|{{#ifeq:{{{season|}}}|Any<!--
        -->|[[Category:Any season crops}}]]<!--
        -->|{{Array|{{{season}}}|;|[[Category:{item} crops]]}}<!--
       -->}}}}<!--
       -->}}}}<!--
   -->|Cooked dish<!-- food
   -->|Cooked dish<!-- food
       -->= [[Category:{{{type}}}es]]<!--
       -->= [[Category:{{{type}}}es]]<!--
   -->|Bomb|Decoy<!-- combat
   -->|Bomb|Decoy<!-- combat
  -->|Resource<!-- crafting mat
   -->|Resource equipment|Artisan equipment<!-- crafting
   -->|Resource equipment|Artisan equipment<!-- crafting
   -->|Animal product<!-- ranching
   -->|Animal product<!-- ranching

Revision as of 09:09, 22 January 2024

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

Example 1

{{Infobox item
|mastery      = Diving;7
|type         = Animal product
|item_group   = Milk; Eggs
|journal      = Produce
|season       = Winter; Spring
|seed         = Apple sapling
|seed_price   = 20
|growth       = 9
|regrowth     = 3
|giant_crop   = yes
|wild_seed    = yes
|rank         = B
|year         = 2
|building     = Coop;2
|sell         = 100
|health       = 40
|energy       = 20
|effect       = Drunk
|source       = Foraging;Diving;Farming
}}

Example 2

{{Infobox item
|type         = Animal product
|item_group   = Milk; Eggs
|journal      = Produce
|season       = Winter; Spring
|seed         = Apple sapling
|seed_price   = 20
|growth       = 9
|regrowth     = 3
|giant_crop   = yes
|wild_seed    = yes
|rank         = B
|year         = 2
|building     = Coop;2
|sell         = 100
|health       = 40
|energy       = 20
|effect       = Drunk
|diff_quality = 1
}}