Template:Infobox item: Difference between revisions
Appearance
| [checked revision] | [checked revision] |
Content deleted Content added
Templates for items, creatures and loot |
Template page shows docs and example only |
||
| Line 1: | Line 1: | ||
<div class="infobox"> |
<includeonly><div class="infobox"> |
||
<div class="infobox-title">{{{name|{{PAGENAME}}}}}</div>{{#if:{{{image|}}}| |
<div class="infobox-title">{{{name|{{PAGENAME}}}}}</div>{{#if:{{{image|}}}| |
||
<div class="infobox-image">[[File:{{{image}}}|240px]]</div>}}{{#if:{{{type|}}}| |
<div class="infobox-image">[[File:{{{image}}}|240px]]</div>}}{{#if:{{{type|}}}| |
||
| Line 9: | Line 9: | ||
<div class="infobox-row"><span>How to get</span><span>{{{source}}}</span></div>}}{{#if:{{{used_for|}}}| |
<div class="infobox-row"><span>How to get</span><span>{{{source}}}</span></div>}}{{#if:{{{used_for|}}}| |
||
<div class="infobox-row"><span>Used for</span><span>{{{used_for}}}</span></div>}} |
<div class="infobox-row"><span>Used for</span><span>{{{used_for}}}</span></div>}} |
||
</div>{{#ifeq:{{NAMESPACE}}||[[Category:Items]]}}<noinclude> |
</div>{{#ifeq:{{NAMESPACE}}||[[Category:Items]]}}</includeonly><noinclude> |
||
Put it at the top of an item page; leave out what you don't know. |
Put it at the top of an item page; leave out what you don't know. |
||
<pre> |
<pre> |
||
Latest revision as of 17:33, 16 November 2026
Put it at the top of an item page; leave out what you don't know.
{{Infobox item
| type = Raw resource
| rarity = Common
| level = 1
| source = Mining copper veins
| used_for = Smelting
}}
Example item
TypeRaw resource
RarityCommon
Level1
How to getMining copper veins
Used forSmelting
Item summary box. Adds the page to Category:Items.
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| Name | name | Defaults to the page title. | String | optional |
| Image | image | File name without File:. | File | optional |
| Type | type | no description
| String | suggested |
| Slot | slot | no description
| String | optional |
| Rarity | rarity | no description
| String | suggested |
| Level | level | no description | Number | suggested |
| Stats | stats | no description | Content | optional |
| How to get | source | Drops, gathering, crafting, vendor. | Content | suggested |
| Used for | used_for | Recipes or other uses. | Content | optional |