m
Move page script moved page API GetTradeSkillItemStats to WoW:API GetTradeSkillItemStats without leaving a redirect
No edit summary |
m (Move page script moved page API GetTradeSkillItemStats to WoW:API GetTradeSkillItemStats without leaving a redirect) |
||
| (6 intermediate revisions by 6 users not shown) | |||
| Line 1: | Line 1: | ||
{{wowapi}} | |||
{{removedapi|≤ 3.1.3}} | |||
Gets the link string for a trade skill item. | Gets the link string for a trade skill item. | ||
itemStats = | itemStats = GetTradeSkillItemStats(skillId) | ||
== Parameters == | == Parameters == | ||
=== Arguments === | === Arguments === | ||
| Line 12: | Line 12: | ||
Example: | Example: | ||
Trade Blacksmithing: (window is open, all catagories shown) | Trade Blacksmithing: (window is open, all catagories shown) | ||
{| | |||
|----- | |||
| Index || Name | |||
|----- | |||
| 1 || - Daggers | |||
|----- | |||
| 2 || Deadly Bronze Poniard | |||
|----- | |||
| 3 || Pearl-handled Dagger | |||
|----- | |||
| 4 || Big Bronze Knife | |||
|----- | |||
| 5 || - One-Handed AxesCategory head | |||
|} | |||
Trade Blacksmithing: (window is open, only trade items are shown) | Trade Blacksmithing: (window is open, only trade items are shown) | ||
{| | |||
|----- | |||
| Index || Name | |||
|----- | |||
| 1 || - Trade Items | |||
|----- | |||
| 2 || Elemental Sharpening Stone | |||
|----- | |||
| 3 || Thorium Shield Spike | |||
|} | |||
=== Returns === | === Returns === | ||
| Line 36: | 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" | |||