Template:Loot/doc


 * 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 tooltip on the item's WoWwiki page.


 * Syntax
 * Parameter dividers are required up to the last required parameter.
 * &lt;quality&gt; (optional) changes the color of the link to match the corresponding Quality, or yellow for enchantments.
 * If this parameter is blank or invalid, the link will be colored as a standard hyperlink. Valid values are: poor, common, uncommon, rare, epic, legendary, heirloom, and enchant.  Note that this will neither affect nor be affected by the item's quality/color in the tooltip.
 * &lt;page_name&gt; (required) is the WoWwiki 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.
 * &lt;display_name&gt; 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.
 * Optional Spell id. Shows superscript links to DBs.
 * Optional WowDB or Wowhead subdomain. Used when  used.
 * Currently supports  (for WowDB  DB, but point to correct Wowhead link also), or   (for Wowhead  DB, but point to correct WowDB link also). Only used for WoWDB (  for  or  ) and Wowhead (  or   for ;   just redirects to www, so isn't needed;  no longer works).
 * Currently supports  (for WowDB  DB, but point to correct Wowhead link also), or   (for Wowhead  DB, but point to correct WowDB link also). Only used for WoWDB (  for  or  ) and Wowhead (  or   for ;   just redirects to www, so isn't needed;  no longer works).


 * Example&#58;
 * Result&#58;

ru:Шаблон:Добыча