WoW:ItemLink: Difference between revisions

11 bytes removed ,  25 October 2013
no edit summary
No edit summary
No edit summary
Line 2: Line 2:
{{wowapitype}}
{{wowapitype}}


An [[ItemLink]] is a string that can be processed by the WoW UI to produce UI item 'link' text for a [[item|game item]]. [[ItemLink|ItemLinks]] are [[itemString|ItemStrings]] with additional formatting to make in-game text controls display them as clickable hyperlinks. ItemLinks are returned various functions, including {{apif|GetAuctionItemLink}}, {{apif|GetContainerItemLink}}, {{apif|GetInventoryItemLink}}.
An [[ItemLink]] is a string that can be processed by the WoW UI to produce UI item 'link' text for a [[item|game item]]. [[ItemLink]]s are [[itemString|ItemStrings]] with additional formatting to make in-game text controls display them as clickable hyperlinks. ItemLinks are returned various functions, including {{apif|GetAuctionItemLink}}, {{apif|GetContainerItemLink}}, {{apif|GetInventoryItemLink}}.


== Format ==
== Format ==
Line 10: Line 10:
** The next three sets of two characters represent the red, green, and blue levels, just like HTML.
** The next three sets of two characters represent the red, green, and blue levels, just like HTML.
* <tt>"'''|H'''"</tt> - Hyperlink link data starts here
* <tt>"'''|H'''"</tt> - Hyperlink link data starts here
* <tt>"'''item:7073:0:0:0:0:0:0:0:0:0:0'''"</tt> - The embedded item string. See [[itemString]]. Changed in 5.0.4.  
* <tt>"'''item:7073:0:0:0:0:0:0:0:0:0:0'''"</tt> - The embedded item string. See [[itemString]]. Changed in 5.0.4.
* <tt>"'''|h'''"</tt> - End of link, text follows
* <tt>"'''|h'''"</tt> - End of link, text follows
* <tt>"'''[Broken Fang]'''"</tt> - The actual text displayed
* <tt>"'''[Broken Fang]'''"</tt> - The actual text displayed
Anonymous user