Difference between revisions of "Item info/Documentation"

(Added documentation page)
 
m (Added level parameter)
Line 2: Line 2:
 
Displays an information page about an item.
 
Displays an information page about an item.
 
==Usage==
 
==Usage==
{{T|Item info|icon{{=}}icon|name{{=}}name|description{{=}}description|quality{{=}}common|tier{{=}}I|value{{=}}1|category{{=}}category}}
+
{{T|Item info|icon{{=}}icon|name{{=}}name|description{{=}}description|quality{{=}}common|tier{{=}}I|level{{=}}1|value{{=}}1|category{{=}}category}}
 
==Parameters==
 
==Parameters==
 
{{parameter|icon|An image of the item.|<nowiki>{{PAGENAME}}.png</nowiki>|Only use if the icon name differs from the name of the page.}}
 
{{parameter|icon|An image of the item.|<nowiki>{{PAGENAME}}.png</nowiki>|Only use if the icon name differs from the name of the page.}}
Line 9: Line 9:
 
{{parameter|quality|The item's quality.|common|Used to determine the background color of the heading. Choose from "common", "uncommon", "rare", "epic", or "legendary".}}
 
{{parameter|quality|The item's quality.|common|Used to determine the background color of the heading. Choose from "common", "uncommon", "rare", "epic", or "legendary".}}
 
{{parameter|tier|The item's tier.||In [https://en.wikipedia.org/wiki/Roman_numerals roman numerals].}}
 
{{parameter|tier|The item's tier.||In [https://en.wikipedia.org/wiki/Roman_numerals roman numerals].}}
 +
{{parameter|level|The player [[level]] required for item use.|}}
 
{{parameter|value|The item's selling price when sold to a vendor.|}}
 
{{parameter|value|The item's selling price when sold to a vendor.|}}
 
{{parameter|category|The item's category.|}}
 
{{parameter|category|The item's category.|}}

Revision as of 15:15, 30 May 2023

Description

Displays an information page about an item.

Usage

{{Item info|<icon=icon>|<name=name>|<description=description>|<quality=common>|<tier=I>|<level=1>|<value=1>|<category=category>}}

Parameters

Arrow.pngicon: An image of the item.
Optional. Defaults to '{{PAGENAME}}.png'.
Notes: Only use if the icon name differs from the name of the page.
Arrow.pngname: The name of the item.
Optional. Defaults to '{{PAGENAME}}'.
Notes: Only use if the template is on a different page to the icon's main article.
Arrow.pngdescription: A description of the item.
Optional.
Arrow.pngquality: The item's quality.
Optional. Defaults to 'common'.
Notes: Used to determine the background color of the heading. Choose from "common", "uncommon", "rare", "epic", or "legendary".
Arrow.pngtier: The item's tier.
Optional.
Notes: In roman numerals.
Arrow.pnglevel: The player Level required for item use.
Optional.
Arrow.pngvalue: The item's selling price when sold to a vendor.
Optional.
Arrow.pngcategory: The item's category.
Optional.

Possible categories:

Armor.
Chips.
Consumables.
Crafting Materials.
Crafting Materials.
Quest Items.
Raw Materials.
Resources.
Runes.
Weapons.