Hello there! We are conducting a survey to better understand the user experience in making a first edit. If you have ever made an edit on Gamepedia, please fill out the survey. Thank you!

API GetTradeSkillReagentItemLink

From Wowpedia
Jump to: navigation, search

Gets the link string for a trade skill reagent.

link = GetTradeSkillReagentItemLink(skillId, reagentId)

Parameters

Arguments

(skillId, reagentId)
skillId 
Integer - The Id specifying which trade skill's reagent to link.
reagentId 
Integer - The Id specifying which of the skill's reagents to link.

Returns

link
link 
String - An item link string (color coded with href) which can be included in chat messages to represent the reagent required for the trade skill.

Notes

This function is broken on 5.2.0 build 16650 and always returns nil.