FANDOM


Template documentation (for the template shown above, sometimes hidden or invisible)
Description:
Produces an item link that also displays an extensive tooltip (when hovered over, the same as {{item}}), pulling information from that item's wiki page. The tooltip feature is sometimes disabled due to load issues on the website, however {{loot}} puts less load on the server than {{item}}. Also, while {{item}} has the option to display an item's icon, {{loot}} creates DB links to items without WoWwiki pages. Note that the tooltip function requires a valid {{infobox_item}} on the item's WoWwiki page.
Syntax:
{{loot|<quality>|<page_name>|<display_name>}}
Parameter dividers are required up to the last required parameter.
<quality> (optional) changes the color of the link to match the corresponding Quality.
If this parameter is blank or invalid, the link will be colored as a standard hyperlink. Valid values are: poor, common, uncommon, rare and epic. Note that this will neither affect nor be affected by the item's quality/color in the tooltip.
<page_name> (required) is the TOR_Wiki page name for the item, whence it pulls the tooltip info.
If this parameter is not a valid page name, the link will still display as normal, but the tooltip will Error, and DB search links will be appended via Javascript to the link. Clicking such a link will open a creation page.
<display_name> (optional) changes the link text, though the tooltip is unaffected.
If just "s" is entered, the link will add an "s" to the page name.
Example:
{{loot|foo|Smuggled Goods}}
{{loot|Poor|Smuggled Goods}}
{{loot|Common|Standard-Issue Medpac}}
{{loot|Rare|Eralam Crystal|s}}
{{loot|uncommon|Critical Reinforced Fiber Armguards}}
{{loot|epic|Alusteel}}
Result:
[Smuggled Goods]
[Smuggled Goods]
[Standard-Issue Medpac]
[Eralam Crystals]
[Critical Reinforced Fiber Armguards]
[Alusteel]

Visit Template:Loot/doc to edit this text! (How does this work?)
Community content is available under CC-BY-SA unless otherwise noted.