Difference between revisions of "Item info/Documentation"
Stratonian (talk | contribs) m |
Stratonian (talk | contribs) m (Tooltip 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|tier{{=}}I|level{{=}}1|value{{=}}1|category{{=}}category|quests{{=}}Quest 1, Quest 2}} | + | {{T|Item info|icon{{=}}icon|name{{=}}name|tooltip{{=}}tooltip|description{{=}}description|tier{{=}}I|level{{=}}1|value{{=}}1|category{{=}}category|quests{{=}}Quest 1, Quest 2}} |
==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.}} | ||
{{parameter|name|The name of the item.|<nowiki>{{PAGENAME}}</nowiki>|Only use if the template is on a different page to the item's main article.}} | {{parameter|name|The name of the item.|<nowiki>{{PAGENAME}}</nowiki>|Only use if the template is on a different page to the item's main article.}} | ||
+ | {{parameter|tooltip|The tooltip text that appears upon hovering over the item.|}} | ||
{{parameter|description|A description of the item.|}} | {{parameter|description|A description of the item.|}} | ||
{{parameter|quality|The item's quality.||Only use if the quality is constant (e.g. for [[Raw Material]]s).}} | {{parameter|quality|The item's quality.||Only use if the quality is constant (e.g. for [[Raw Material]]s).}} |
Revision as of 20:50, 30 August 2023
Description
Displays an information page about an item.
Usage
{{Item info|<icon=icon>|<name=name>|<tooltip=tooltip>|<description=description>|<tier=I>|<level=1>|<value=1>|<category=category>|<quests=Quest 1, Quest 2>}}
Parameters
- icon: An image of the item.
- Optional. Defaults to '
{{PAGENAME}}.png
'. - Notes: Only use if the icon name differs from the name of the page.
- name: The name of the item.
- Optional. Defaults to '
{{PAGENAME}}
'. - Notes: Only use if the template is on a different page to the item's main article.
- quality: The item's quality.
- Optional.
- Notes: Only use if the quality is constant (e.g. for Raw Materials).
- tier: The item's tier.
- Optional.
- Notes: In roman numerals.
Possible categories:
- •Armor.
- •Artifacts.
- •Chips.
- •Consumables.
- •Crafting Materials.
- •Quest Items.
- •Raw Materials.
- •Runes.
- •Weapons.
Errors
No description was provided. Add a description parameter.