Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Template:Item: Difference between revisions

Template page
Added description parameter, for use in some select items (e.g. Mastery Key)
added tradeable parameter
 
Line 14: Line 14:
   <data source="type">
   <data source="type">
<label>Type</label>
<label>Type</label>
  </data>
  <data source="tradeable">
<format><center>[[File:Tradeable.png|x18px|alt=Tradeable]]</center></format>
   </data>
   </data>
</infobox>
</infobox>
Line 53: Line 56:
"{{Type|Material}}"
"{{Type|Material}}"
]
]
},
"tradeable": {
"label": "Tradeable",
"description": "Whether the item is tradeable",
"type": "string",
"example": "yes"
}
}
},
},
Line 60: Line 69:
"description",
"description",
"rarity",
"rarity",
"type"
"type",
"tradeable"
],
],
"format": "block"
"format": "block"

Latest revision as of 11:42, 18 August 2025


Adds a item infobox to the page

Template parameters[Edit template data]

This template prefers block formatting of parameters.

ParameterDescriptionTypeStatus
Imageimage

Image of the item

Unknownsuggested
Descriptiondescription

Description of the item from its tooltip

Example
A powerful key used to open the mysterious Mastery Gate.
Stringsuggested
Rarityrarity

Rarity of the item

Example
{{Rarity|common}}
Stringsuggested
Typetype

Type of the item

Suggested values
{{Type|Openable}} {{Type|Quest Scroll}} {{Type|Consumable}} {{Type|Currency}} {{Type|Material}}
Example
{{Type|openable}}
Stringsuggested
Tradeabletradeable

Whether the item is tradeable

Example
yes
Stringoptional