API:ParseHyperlink

The function ParseHyperlink splits up a link in its basic parts. A general link look like:

'''|H :

Arguments

 * link
 * string - any kind of link, i.e. an ItemLink

Returns

 * type
 * string - the type of the link (item, skill, quest, ...)


 * data
 * string - the data part usually starts with an id followed by other attributes of the linked object. Data always seem to be a list of hexadecimal numbers seperated by spaces.


 * text
 * string - the text to be shown including color markup and brackets.