Jump to content

Template:Infobox item: Difference between revisions

From Project Arise Wiki
[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.

Template parameters[Edit template data]

This template prefers block formatting of parameters.

ParameterDescriptionTypeStatus
Namename

Defaults to the page title.

Stringoptional
Imageimage

File name without File:.

Fileoptional
Typetype

no description

Example
Weapon, Armor, Raw resource, Consumable
Stringsuggested
Slotslot

no description

Example
Head, Chest, Main hand
Stringoptional
Rarityrarity

no description

Suggested values
Common Uncommon Rare Heroic Epic Legendary
Stringsuggested
Levellevel

no description

Numbersuggested
Statsstats

no description

Contentoptional
How to getsource

Drops, gathering, crafting, vendor.

Contentsuggested
Used forused_for

Recipes or other uses.

Contentoptional