WoW:API GetTradeSkillItemStats: Difference between revisions

m
Move page script moved page API GetTradeSkillItemStats to WoW:API GetTradeSkillItemStats without leaving a redirect
m (fixed overview erroneous function name (was GetTradeSkillItemLink)
m (Move page script moved page API GetTradeSkillItemStats to WoW:API GetTradeSkillItemStats without leaving a redirect)
 
(3 intermediate revisions by 3 users not shown)
Line 1: Line 1:
{{wowapi}}
{{wowapi}}
<center>'''GetTradeSkillItemStats''' - ''Documentation by [[User:morevit|morevit]]''</center>
{{removedapi|&le; 3.1.3}}
 
Gets the link string for a trade skill item.
Gets the link string for a trade skill item.


Line 49: Line 48:


== Example ==
== Example ==
  itemStats = GetTradeSkillItemStats(2) -- Get item stats for Deadly Bronze Poniard (see above)
  itemStats = {GetTradeSkillItemStats(2)} -- Get item stats for Deadly Bronze Poniard (see above)


=== Result ===
=== Result ===
  itemStats = { "Uncommon", "Binds when equipped", "One-Hand", "|cffff2020Dagger|r", "16 - 30 Damage", "Speed 18", "+4 Strength", "Level 25", "Requires Level 20" }
  itemStats = { "Uncommon", "Binds when equipped", "One-Hand", "|cffff2020Dagger|r", "16 - 30 Damage", "Speed 18", "+4 Strength", "Level 25", "Requires Level 20" }
=== Note ===
The curly braces around the functions call are critical, if you forget those your result will be:
itemStats = "Uncommon"
Anonymous user