WoW:ItemLink: Difference between revisions

159 bytes added ,  10 February 2008
added 2.4 link info
m (→‎itemLink API Type (String): minor rewording: LUA-code -> pattern. LUA-code is ugly IMO, not to mention that all caps LUA is wrong.)
(added 2.4 link info)
Line 25: Line 25:


  local found, _, itemString = string.find(itemLink, "^|c%x+|H(.+)|h%[.+%]")
  local found, _, itemString = string.find(itemLink, "^|c%x+|H(.+)|h%[.+%]")
Note: The format of the link is similar for enchant, spell and quest links, with merely the "itemstring" changing. See [[spellString]] and [[enchantString]]


== Printing links for debug ==
== Printing links for debug ==