WoW:API GameTooltip SetHyperlink: Difference between revisions

Gave example of using this function for spells
No edit summary
(Gave example of using this function for spells)
Line 8: Line 8:
== Arguments ==
== Arguments ==
:("itemString" or "itemLink")
:("itemString" or "itemLink")
:;"itemString" - [[itemString]] - Representing an in-game item or enchant. For instance:
:;"itemString" - [[itemString]] - Representing an in-game item, enchant or spell. For instance:
:: "item:16846:0:0:0:0:0:0:0" is the link id for the "Giantstalker's Helm".
:: "item:16846:0:0:0:0:0:0:0" is the link id for the "Giantstalker's Helm".
:: "enchant:23804" is the link id for "Enchant Weapon - Mighty Intellect".
:: "enchant:23804" is the link id for "Enchant Weapon - Mighty Intellect".
:: "spell:16039" is the link id for the [[shaman]] [[talent]] "[[Convection]]"
:;"itemLink" - [[itemLink]] - A clickable string of an in-game item.
:;"itemLink" - [[itemLink]] - A clickable string of an in-game item.


Anonymous user