questLink API Type (String)[]
In essence, quest links are questStrings with additional formatting to make in-game text controls display them as clickable hyperlinks.
|cff808080|Hquest:99:15|h[Arugal's Folly]|h|r
Broken up in its components:
"|cff808080"
– Colorizes the link with a gray color- The first two characters after pipe-c may be the alpha level, where
ff
is fully opaque. - The next three sets of two characters represent the red, green, and blue levels, just like HTML.
- The first two characters after pipe-c may be the alpha level, where
"|H"
– "Hyperlink link data starts here""quest:99:15"
– Read more at questString."|h"
– "End of link, text follows""[Arugal's Folly]"
– The actual text displayed"|h"
– "End of hyperlink""|r"
– Restores color to normal
To make this link appear in-game, for example you could paste one of these into your chat:
/script SendChatMessage(" \124cffffff00\124Hquest:99:15\124h[Arugal's Folly]\124h\124r", "SAY", "Common"); /script DEFAULT_CHAT_FRAME:AddMessage("Shift-click this link to put into chat: \124cffffff00\124Hquest:99:15\124h[Arugal's Folly]\124h\124r");