VoidvectorBot@legacy41580961 (talk | contribs) m (User-controlled Bot: table syntax updated) |
mNo edit summary |
||
(One intermediate revision by one other user not shown) | |||
Line 1: | Line 1: | ||
{{wowapi}} |
{{wowapi}} |
||
− | <center>'''GetTradeSkillItemLink''' - ''Documentation by [[User:Flickering|Flickering]]''</center> |
||
Gets the link string for a trade skill item. |
Gets the link string for a trade skill item. |
||
Line 9: | Line 8: | ||
:(skillId) |
:(skillId) |
||
− | :;skillId : Integer - The Id specifying which trade skill's link to get. Trade Skill window must be open for this to work. Indexes start at 1 which is the general |
+ | :;skillId : Integer - The Id specifying which trade skill's link to get. Trade Skill window must be open for this to work. Indexes start at 1 which is the general category of the tradeskill, if you have selected a sub-group of trade skills then 1 will be the name of that sub-group. |
Example: |
Example: |
Revision as of 18:09, 2 November 2007
Automated updating of API pages at this location, to reflect patch changes, has ceased from 10.1.7 onwards. |
Gets the link string for a trade skill item.
link = GetTradeSkillItemLink(skillId)
Parameters
Arguments
- (skillId)
- skillId
- Integer - The Id specifying which trade skill's link to get. Trade Skill window must be open for this to work. Indexes start at 1 which is the general category of the tradeskill, if you have selected a sub-group of trade skills then 1 will be the name of that sub-group.
Example: Trade Blacksmithing: (window is open, all catagories shown)
Index | Name |
1 | Daggers |
2 | Heatseeker |
3 | One-handed Swords |
4 | Frostguard |
Trade Blacksmithing: (window is open, only trade items are shown)
Index | Name |
1 | Trade Items |
2 | Elemental Sharpening Stone |
3 | Thorium Shield Spike |
Returns
- link
- link
- String - An item link string (color coded with href) which can be included in chat messages to represent the item which the trade skill creates.