Navigation menu

WoW:API GetTradeSkillListLink: Difference between revisions

Jump to navigation Jump to search
m
Move page script moved page API GetTradeSkillListLink to WoW:API GetTradeSkillListLink without leaving a redirect
(New page: {{wowapi}} == Synopsis == Retrieves the link to the currently open tradeskill. link = GetTradeSkillListLink() == Arguments == :;None == Returns == :link or nil :;link : String - The ...)
 
m (Move page script moved page API GetTradeSkillListLink to WoW:API GetTradeSkillListLink without leaving a redirect)
 
(2 intermediate revisions by 2 users not shown)
Line 2: Line 2:


== Synopsis ==
== Synopsis ==
Retrieves the link to the currently open tradeskill.
Retrieves the [[TradeSkillLink]] to the currently open tradeskill.


  link = GetTradeSkillListLink()
  [[TradeSkillLink | link]] = GetTradeSkillListLink()


== Arguments ==
== Arguments ==
Line 10: Line 10:


== Returns ==
== Returns ==
:link or nil
; [[TradeSkillLink | link]] : If tradeskill is linkable.
 
; nil : If tradeskill is not linkable (runeforging) or if no tradeskill is open.
:;link : String - The link for the currently open tradeskill. Will return nil if there is no tradeskill open, or if the currently open tradeskill linking is disabled (Poisons, Runeforging, Mining, ...)


== Example ==
== Example ==
Line 23: Line 22:


==== Result ====
==== Result ====
:Displays a link to the currently open tradeskill in the chat window, unless there is none available.
:Displays a [[TradeSkillLink | link]] to the currently open tradeskill in the chat window, unless there is none available.


== Details ==
== Details ==
*Added in 3.0.1
*Added in 3.0.1
*See also [[API GetTradeSkillInfo|GetTradeSkillInfo()]], [[API GetSpellLink|GetSpellLink()]]
*See also [[API GetTradeSkillInfo|GetTradeSkillInfo()]], [[API GetSpellLink|GetSpellLink()]],  [[TradeSkillLink]]
Anonymous user