Template:Item Infobox: Difference between revisions

From Valheim Wiki
No edit summary
No edit summary
Line 16: Line 16:
{{#if:{{{type|}}}|{{Item Infobox/type|{{{type}}}}}}}
{{#if:{{{type|}}}|{{Item Infobox/type|{{{type}}}}}}}
|-
|-
{{#if:{{{location|}}}|
{{#if:{{{location|}}}|{{Item Infobox/location|{{{location}}}}}}}
{{!}}'''Location(s):'''{{!}}{{!}}{{{location}}}
}}
|-
|-
{{#if:{{{weight|}}}|
{{#if:{{{weight|}}}|{{Item Infobox/weight|{{{weight}}}}}}}
{{!}}'''Weight:'''{{!}}{{!}}{{{weight}}}
}}
|-
|-
{{#if:{{{tooltip|}}}|
{{#if:{{{tooltip|}}}|{{Item Infobox/weight|{{{tooltip}}}}}}}
{{!}}'''Tooltip:'''{{!}}{{!}}''{{{tooltip}}}''
}}
|-
|-
{{#if:{{{stack|}}}|
{{#if:{{{stack|}}}|{{Item Infobox/stack|{{{stack}}}}}}}
{{!}}'''Max stack:'''{{!}}{{!}}{{{stack}}}
}}
|-
|-
{{#if:{{{dlc|}}}|
{{#if:{{{dlc|}}}|{{Item Infobox/dlc|{{{dlc}}}}}
{{Item Infobox/dlc|{{{dlc}}}}}
}}
}}
|}</includeonly><noinclude>
|}</includeonly><noinclude>

Revision as of 16:37, 7 January 2022


Item Infobox
Type Ore
Location(s) Mud
Weight 27.5
Weight Cool ore description
Max stack 33


{{Item Infobox
 | type     = Ore
 | location = Mud
 | tooltip  = Cool ore description
 | weight   = 27.5
 | stack    = 33
}}

This Template has Auto Category: Category:Items linked into it. If the |type argument is provided to this template, it'll also have Category:Types in its plural form auto linked into it.