Template:Item/doc
Jump to navigation
Jump to search
The template produces an item link (with an optional icon) that when hovered over will display an extensive tooltip, pulling information from that item's wiki page. Note that the tooltip function requires a valid {{itemtip}} on the item's Wowpedia page. Like most other links, it will display in red if the <page_name> is incorrect.
Usage: {{item|<page_name>|<display_name>}}
- <page_name> is required.
- <display_name> is optional. If just "s" or "es" is entered, the link will add an "s" or "es" to the page name.
- newicon is optional and can be used to display a completely different icon if needed.
- Examples
Make a regular item link like Reins of the Bengal Tiger into a shorter name:
{{item|Reins of the Bengal Tiger|Bengal Tiger}}
: Bengal Tiger
Make an item a plural:
Use a different icon:
{{item|Blinky Egg|Blinky|newicon=inv_babyfaeriedragon}}
: Blinky
In cases where you're just linking an item, just link the item as usual (i.e. [[item link]]
). This template should only be used in cases like above, especially for hotfix articles and patch notes.
Test cases
- Shadowmourne:
showicon=no
, only a link (no icon) - Shadowmourne:
icon=
, only a link (no icon) - Shadowmourne:
newicon=
, do not change the icon - Shadowmourne:
newicon=inv_motorcyclefelreavermount_fire
, change the icon to File:inv_motorcyclefelreavermount_fire.png. - Shadowmourne: Nothing. Display the default icon and link (ideally the template isn't needed for this purpose)
- es:
|es
Append "es" to the display name - s:
|s
Append "s" to the display name - Totally a new Ashbringer:
|whatever
Changes the name entirely