Template:Item infobox: Difference between revisions
No edit summary |
|||
| Line 5: | Line 5: | ||
<div class="wrapper> | <div class="wrapper> | ||
{{#if:{{{description}}}|{{quote|quote={{{description}}}|source=In-game description.}}}} | {{#if:{{{description}}}|{{quote|quote={{{description}}}|source=In-game description.}}}} | ||
;Type | ;Type | ||
:{{{type}}} | :[[{{{type}}}]]{{#if:{{{level|}}}| | ||
{{#if:{{{level|}}}| | |||
;Level | ;Level | ||
:{{{level}}}}} | :{{{level}}}}}{{#if:{{{rarity|}}}| | ||
{{#if:{{{rarity|}}}| | |||
;Rarity | ;Rarity | ||
:{{rarity|{{{rarity}}}}}}} | :{{rarity|{{{rarity}}}}}}} | ||
;Value | ;Value | ||
:{{#switch:{{{value-type}}}|fame={{{value}}} {{{value-type}}}|coin={{money|value={{{value}}}}}}} | :{{#switch:{{{value-type}}}|fame={{{value}}} {{{value-type}}}|coin={{money|value={{{value}}}}}}}{{#if:{{{goal|}}}| | ||
{{#if:{{{goal|}}}| | |||
;Part of | ;Part of | ||
:[[{{{goal}}}]]}} | :[[{{{goal}}}]]}}{{#if:{{{id|}}}| | ||
{{#if:{{{id|}}}| | |||
;Item id | ;Item id | ||
:{{{id}}}}} | :{{{id}}}}} | ||
| Line 102: | Line 97: | ||
|description=Prevents the destruction of items when enchanting. | |description=Prevents the destruction of items when enchanting. | ||
|type=Enchanting tool | |type=Enchanting tool | ||
|level= | |level= | ||
|rarity= | |rarity= | ||
|value=2000 | |value=2000 | ||
| Line 115: | Line 110: | ||
|description=Prevents the destruction of items when enchanting. | |description=Prevents the destruction of items when enchanting. | ||
|type=Enchanting tool | |type=Enchanting tool | ||
|level= | |level= | ||
|rarity= | |rarity= | ||
|value=2000 | |value=2000 | ||
Revision as of 19:44, 30 June 2024
Description
This is the Item infobox template. It should be transcluded in the following format:
{{Item infobox
|name=
|icon=
|description=
|type=
|level=
|rarity=
|value=
|value-type=
|goal=
|id=
|gallery1...gallery5=
|gallery-text1...gallery-text5=
}}
Parameters
- name
- Optional. Only include if the name of the item differs from the article name. Defaults to the name of the article:
{{PAGENAME}} - icon
- Optional. Icon of the item.
- description
- Optional. Skill description.
- type
- Required. The type of item. Options:
- Crafting material
- Crafting sheet
- Crafting tool
- Boots
- Mage Boots
- Circlet
- Gloves
- Mage Gloves
- Helmet
- Jacket
- Pants
- Robe
- Shield
- Cape
- Necklace
- Ring
- Axe
- Bow
- Dagger
- Hammer
- Mace
- Polearm
- Staff
- Sword
- Wand
- level
- Optional. The level or levels of the item.
- rarity
- Optional. Should be one of the following: normal, magic, rare, soul, unique.
- value
- Required. Listed value on the item.
- value-type
- Required. Type of currency to display. Options:
- coin
- fame
- goal
- Optional. Specific quest or challenge this item is affiliated with. If entering multiple goals, put each new goal on a new line.
- gallery1...gallery5
- Optional. Images related to the item.
- gallery-text1...gallery-text5
- Optional. Image descriptions.
Example
Blessing Stone
“Prevents the destruction of items when enchanting.—In-game description.
- Type
- Enchanting tool
- Value
- 2000 fame
{{Item infobox
|name=Blessing Stone
|icon=Blessing Stone icon.gif
|description=Prevents the destruction of items when enchanting.
|type=Enchanting tool
|level=
|rarity=
|value=2000
|value-type=fame
|goal=
|id=
}}
TODO
- Add properties to parameters