Template:Item Infobox: Difference between revisions

From Valheim Wiki
Created page with "__NOTOC__ {| id="scraper-infobox" class="wikitable" style="padding-left: 20px; min-width: 280px; max-width: 400px; float: right; margin: 0;" |- | id="scraper-item-name" class=..."
 
No edit summary
 
(60 intermediate revisions by the same user not shown)
Line 1: Line 1:
__NOTOC__
<includeonly><!--
{| id="scraper-infobox" class="wikitable" style="padding-left: 20px; min-width: 280px; max-width: 400px; float: right; margin: 0;"
-->{{#vardefine:__name|{{#if:{{{name|}}}|{{{name}}}|{{#replace:{{BASEPAGENAME}}| (Item)|}}}}}}<!--
-->{{#if:{{{dlc|}}}|
{{DLC Infobox|{{{dlc}}}}}
}}
{| id="scraper-infobox" class="wikitable infobox-table" style="padding-left: 20px; min-width: 280px; max-width: 350px; float: right; margin: 0; margin-left: 14px;"
|-
| id="scraper-item-name" class="tableheader" colspan="2"| {{#var:__name}}
|-
|-
| id="scraper-item-name" class="tableheader" colspan="2"| {{#if:{{{name|}}}|{{{name}}}|{{BASEPAGENAME}}}}<br />{{
{{Item Infobox/image
#if:{{{katakana|}}}{{{japname|}}} | ({{{katakana|}}}{{#if:{{{japname|}}} | {{#if:{{{katakana|}}} | &nbsp; }}''{{{japname}}}'' }})
| name   = {{{name|}}}
| pic2  = {{{pic2|}}}
| height = {{{height|}}}
}}
}}
|-
|-
| colspan="2"|
{{#if:{{{internalid|}}}|{{Item Infobox/internalid|{{{internalid}}}}}}}
{{#if:{{{pic2|}}}|{{#tag:tabber|
|-
{{PAGENAME}}=
{{#if:{{{type|}}}|{{Item Infobox/type|{{{type}}}}}}}
<div style="float: center;">
<div class="infoboxhover" title="{{{t1|}}}" style="text-align: center;">
<center>[[File:{{#if:{{{name|}}}|{{{name}}}|{{BASEPAGENAME}}}}.png|250px]]</center>
</div>
</div>
{{!}}-{{!}}
{{BASEPAGENAME}} {{{pic2}}}=
<div style="float: center;">
<div class="infoboxhover" style="text-align: center;">
<center>[[File:{{#if:{{{name|}}}|{{{name}}}|{{BASEPAGENAME}}}} {{{pic2}}}.png|250px]]
</center>
</div>
</div>
}}|
<div style="float: center;">
<div id="scraper-item-image" class="infoboxhover" style="text-align: center;">
<center>[[File:{{#if:{{{name|}}}|{{{name}}}|{{BASEPAGENAME}}}}.png|250px{{#if:{{{height|}}}|{{!}}{{{height}}}}}]]</center>
</div>
</div>}}{{#ifexist: File:{{BASEPAGENAME}}.png||[[Category:Missing Item image]]}}
|-
|-
{{#if:{{{location|}}}|
{{#if:{{{location|}}}|{{Item Infobox/location|{{{location}}}}}}}
{{!}}'''Location(s):'''{{!}}{{!}}{{{location}}}
|-
{{#if:{{{weight|}}}|{{Item Infobox/weight|{{{weight}}}}}}}
|-
{{#if:{{{armor|}}}|{{Item Infobox/armor|{{{armor}}}}}}}
|-
{{#if:{{{tooltip|}}}|{{Item Infobox/tooltip|{{{tooltip}}}}}}}
|-
{{#if:{{{stack|}}}|{{Item Infobox/stack|{{{stack}}}}}}}
|-
{{#if:{{{dlc|}}}|{{Item Infobox/dlc|{{{dlc}}}}}
}}
}}
|}
|}</includeonly><noinclude>
<noinclude>
{{Item Infobox
| type    = Ore
| location = Mud
| tooltip  = Cool ore description
| armor    = 32 / 34 /36 / 38
| weight  = 27.5
| stack    = 33
| dlc      = Beta
}}
</noinclude><noinclude>
<pre>
<pre>
{{Digimon Infobox
{{Item Infobox
  |location=Ocean
| type    = Ore
  | location = Mud
| tooltip  = Cool ore description
| armor    = 32 / 34 /36 / 38
| weight  = 27.5
| stack    = 33
| dlc      = Beta
}}
}}
</pre>
</pre>
</noinclude>
</noinclude><!--
<includeonly>
--><includeonly>
[[Category:Item]]</includeonly><noinclude>This Template has Auto Category: [[:Category:Item|Category:Item]] Linked into it.</noinclude>
[[Category:Items]]<!--
--></includeonly><!--
--><noinclude>This Template has Auto Category: [[:Category:Items|Category:Items]] linked into it. If the <code>|type</code> argument is provided to this template, it'll also have Category:'''Types''' in its plural form auto linked into it.</noinclude>
__NOTOC__

Latest revision as of 12:52, 7 January 2024

DLC
This article is for a downloadable content item or feature. It may be purchaseable, or may no longer be available.
Item Infobox
Type Ore
Location(s) Mud
Weight 27.5
Armor 32 / 34 /36 / 38
Tooltip Cool ore description
Max stack 33
DLC Beta


{{Item Infobox
 | type     = Ore
 | location = Mud
 | tooltip  = Cool ore description
 | armor    = 32 / 34 /36 / 38
 | weight   = 27.5
 | stack    = 33
 | dlc      = Beta
}}

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.