Template:Item infobox: Difference between revisions
No edit summary |
No edit summary |
||
Line 13: | Line 13: | ||
;Rarity | ;Rarity | ||
:Normal}} | :Normal}} | ||
;Value : {{{value}}} | ;Value : {{#switch:{{{value-type}}}|fame={{{value}}} {{{value-type}}}|coin={{money|value={{{value}}}}}}} | ||
{{#if:{{{goal|}}}| | {{#if:{{{goal|}}}| | ||
;Part of | ;Part of | ||
Line 47: | Line 47: | ||
|rarity= | |rarity= | ||
|value= | |value= | ||
|value-type= | |||
|goal= | |goal= | ||
|id= | |id= | ||
Line 85: | Line 86: | ||
; rarity : Optional. Should be one of the following: normal, magic, rare, soul, unique. Defaults to normal. | ; rarity : Optional. Should be one of the following: normal, magic, rare, soul, unique. Defaults to normal. | ||
; value : Required. Listed value on the item. | ; 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. | ; 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. | ; gallery1...gallery5 : Optional. Images related to the item. | ||
Line 98: | Line 102: | ||
|level= | |level= | ||
|rarity= | |rarity= | ||
|value=2000 fame | |value=2000 | ||
|value-type=fame | |||
|goal= | |goal= | ||
|id= | |id= | ||
Line 110: | Line 115: | ||
|level= | |level= | ||
|rarity= | |rarity= | ||
|value=2000 fame | |value=2000 | ||
|value-type=fame | |||
|goal= | |goal= | ||
|id= | |id= |
Revision as of 07:55, 30 June 2024
Warning:
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 NPC differs from the article name. Defaults to the name of the article:
{{PAGENAME}}
- icon
- Optional. Icon of the item.
- 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. Defaults to normal.
- 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
{{Item infobox |name=Blessing Stone |icon=Blessing stone icon.gif |description= |type=Enchanting tool |level= |rarity= |value=2000 |value-type=fame |goal= |id= }}
Page Template:NPC infobox/styles.css has no content.
Blessing Stone
- Type
- Enchanting tool
- Rarity
- Normal
- Value
- 2000 fame
TODO
- Add properties to parameters