You can technically do this already by creating a string table and concatenating it.
For context use:
https://wiki.esoui.com/ZO_LinkHandle...ITEM_LINK_TYPE
and with an existing itemLink: local parts = {ZO_LinkHandler_ParseLink(itemLink)} d(parts)
Code:
function MyAddon.GenerateItemLink(stringVar1, stringVar2, ...)
parts = {
[1] = stringVar1
[2] = stringVar2
-- etc for each value...
}
parts = table.concat(parts, ":"):sub(2, -1)
itemLink = strformat("|H<<1>>|h|h", parts)
return itemLink
end
Little heavy handed compared to potentially having a function to input only necessary values but it does get the job done.