Template:Infobox item: Difference between revisions
Jump to navigation
Jump to search
Salty Nori (talk | contribs) (add missing type param for crops) |
Salty Nori (talk | contribs) No edit summary |
||
Line 69: | Line 69: | ||
<format><!-- | <format><!-- | ||
-->{{{growth|}}} days<!-- | -->{{{growth|}}} days<!-- | ||
-->{{#if:{{{growth_note|}}}| ({{{growth_note|}}})}}<!-- | |||
-->{{#if:{{{regrowth|}}}|<br />{{{regrowth|}}} {{#ifeq:{{{regrowth|}}}|1|day|days}} (regrowth)}} | -->{{#if:{{{regrowth|}}}|<br />{{{regrowth|}}} {{#ifeq:{{{regrowth|}}}|1|day|days}} (regrowth)}} | ||
</format> | </format> | ||
Line 218: | Line 219: | ||
-->|Decor<!-- farm decor | -->|Decor<!-- farm decor | ||
-->= [[Category:{{{type}}}]]<!-- | -->= [[Category:{{{type}}}]]<!-- | ||
-->|#default = [[Category:Pages with wrong input]]<!-- | |||
-->}}<!-- | -->}}<!-- | ||
Seed type | Seed type | ||
Line 232: | Line 234: | ||
Categories<!-- | Categories<!-- | ||
-->{{#if:{{{category|}}}|{{Array|{{{category|}}}|;|[[Category:{item}]]}}}}<!-- | -->{{#if:{{{category|}}}|{{Array|{{{category|}}}|;|[[Category:{item}]]}}}}<!-- | ||
{{#if:{{{regrowth|}}}|[[Category:Regrowing crops]]}}<! | -->{{#if:{{{regrowth|}}}|[[Category:Regrowing crops]]}}<! | ||
-->{{#if:{{{rank|}}}|[[Category:Town rank {{{rank}}}]]}}<!-- | -->{{#if:{{{rank|}}}|[[Category:Town rank {{{rank}}}]]}}<!-- | ||
-->{{#if:{{{year|}}}|[[Category:Year {{{year}}}]]}}<!-- | -->{{#if:{{{year|}}}|[[Category:Year {{{year}}}]]}}<!-- |
Revision as of 06:17, 19 January 2024
Template documentation
Note: parts of or the entire template might not be visible without values provided.
Note: parts of or the entire template might not be visible without values provided.
Main | Documentation | Sandbox | Usage |
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
}}