WoW:API GetItemGem: Difference between revisions

m
Move page script moved page API GetItemGem to WoW:API GetItemGem without leaving a redirect
(New page: {{wowapi}}__NOTOC__ Takes an item with a gem in it, and an index from 1-3, and returns the name and link for the gem at that index. itemName, itemLink = GetItemGem("name"|"itemlink", inde...)
 
m (Move page script moved page API GetItemGem to WoW:API GetItemGem without leaving a redirect)
 
(One intermediate revision by one other user not shown)
Line 42: Line 42:
: If you have never seen the item that belongs to the Item ID or Item Link it will return ''nil''.
: If you have never seen the item that belongs to the Item ID or Item Link it will return ''nil''.
: Using the name may be ambiguous if you have more than one of the named item.
: Using the name may be ambiguous if you have more than one of the named item.
== Common usage ==
local gemName, gemLink = GetItemGem(itemLink, index)
Anonymous user