no edit summary
No edit summary |
|||
| Line 2: | Line 2: | ||
{{wowapitype}} | {{wowapitype}} | ||
An [[ItemLink]] is a string that can be | 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}}. | ||
== Format == | == Format == | ||
| Line 41: | Line 41: | ||
"124" is the ascii value of the "|" character. If you are writing this in a regular .lua file, feel free to go ahead and just use "|" and "||". However, if you're typing it in an in-game editor, it's better to use the ascii code escape to avoid problems. | "124" is the ascii value of the "|" character. If you are writing this in a regular .lua file, feel free to go ahead and just use "|" and "||". However, if you're typing it in an in-game editor, it's better to use the ascii code escape to avoid problems. | ||
== Simple ingame item look-up == | |||
For calling up an item in the game that is not available via shift+left-click (such as something on the AH or in the professions tab), follow these very easy steps: | |||
*Look up the item on wowhead | |||
*Click on the "Links" button in the top right of the item page | |||
*Select the "Ingame link" section (usually already selected); copy the information | |||
*Enter the game and paste the information into the chat window | |||
*A clickable link for that item should appear | |||
== Notes == | == Notes == | ||