Template:Infobox item/Draft: Difference between revisions
Jump to navigation
Jump to search
Salty Nori (talk | contribs) No edit summary Tag: Undo |
Salty Nori (talk | contribs) No edit summary |
||
Line 48: | Line 48: | ||
<label>Journal category</label> | <label>Journal category</label> | ||
<format>{{{journal|}}}</format> <!-- Journal side nav --> | <format>{{{journal|}}}</format> <!-- Journal side nav --> | ||
</data> | </data> | ||
<data source="season"> | <data source="season"> | ||
Line 61: | Line 57: | ||
-->}} | -->}} | ||
</format> | </format> | ||
</data> | |||
<data source="weather"> | |||
<label>Weather</label> | |||
<format><!-- | |||
-->{{#ifeq:{{{weather|}}}<!-- | |||
-->|Any|Any weather<!-- | |||
-->|{{Array|{{{weather|}}}|;|[[{item}]]|{newline}|sort=0}}<!-- | |||
-->}} | |||
</format> | |||
</data> | |||
<data source="time"> | |||
<label>Time of day</label> | |||
<format><!-- | |||
-->{{#ifeq:{{{time|}}}<!-- | |||
-->|All day|All day<!-- | |||
-->|{{Array|{{{time|}}}|;|[[{item}]]|{newline}|sort=0}}<!-- | |||
-->}} | |||
</format> | |||
</data> | |||
<data source="location"> | |||
<label>Location</label> | |||
<format>{{Array|{{{location|}}}|;|[[{item}]]|{newline}|sort=0}}</format> | |||
</data> | |||
<data source="rarity"> | |||
<label>Rarity</label> | |||
</data> | |||
<data source="size"> | |||
<label>Size</label> | |||
</data> | |||
<data source="pattern"> | |||
<label>Pattern</label> | |||
</data> | |||
<data source="difficulty"> | |||
<label>Difficulty</label> | |||
</data> | </data> | ||
<data source="seed"> | <data source="seed"> | ||
Line 103: | Line 133: | ||
<data source="produced_by"> | <data source="produced_by"> | ||
<label>Produced by</label> | <label>Produced by</label> | ||
<format>{{Icon|{{{produced_by|}}}}}</format> | <format>{{Icon|{{{produced_by|}}}|note={{#if:{{{produced_note|}}}|{{{produced_note|}}}}}}}</format> | ||
</data> | </data> | ||
<data source="source"> | <data source="source"> | ||
Line 116: | Line 146: | ||
<format>{{#switch:{{lc:{{{sell|}}}}} | <format>{{#switch:{{lc:{{{sell|}}}}} | ||
|0 = ''Unsellable'' | |0 = ''Unsellable'' | ||
|#default= {{{sell|}}} | |#default= {{formatnum:{{{sell|}}}}} | ||
}}</format> | }}</format> | ||
</data> | </data> | ||
Line 260: | Line 290: | ||
-->{{#switch:{{{produced_by}}}<!-- | -->{{#switch:{{{produced_by}}}<!-- | ||
-->|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|Sheep = [[Category:{{{produced_by}}} products]][[Category:Barn products]]<!-- | ||
-->|#default = [[Category:{{{produced_by}}} products]]<!-- | -->|#default = [[Category:{{{produced_by}}} products]]<!-- | ||
-->}}<!-- | -->}}<!-- |
Revision as of 08:11, 16 February 2024
This is the template draft page for Template:Infobox item (diff).
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
Example 2
Example 3