Open main menu
Home
Random
Log in
Settings
About AddOn Studio
Disclaimers
AddOn Studio
Search
Editing
WoW:UI escape sequences
(section)
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
=== Textures === ;<tt>|T''TexturePath'':''<span style="color:#80ff80;">size1</span>'':''<span style="color:#8080ff;">size2</span>'':''<span style="color:#ff8080;">xoffset</span>'':''<span style="color:#ff8080;">yoffset</span>''|t</tt> ;<tt>|T''TexturePath'':''size1'':''size2'':''xoffset'':''yoffset'':''dimx'':''dimy'':''coordx1'':''coordx2'':''coordy1'':''coordy2''|t</tt> : Will insert a texture into a font string. Parameter <tt>'''<span style="color:#8080ff;">size2</span>'''</tt> is optional (see below). The offsets are optional and will shift the texture from where it would normally be placed. <tt>'''''<span style="color:#ffff80;">TextHeight</span>'''''</tt> is based on size of the font used - this is used to automatically scale icons based on the size of the text. :*<tt>'''<span style="color:#80ff80;">size1</span>''' == 0; '''<span style="color:#8080ff;">size2</span>''' omitted: '''Width''' = '''Height''' = '''''<span style="color:#ffff80;">TextHeight</span>'''''</tt> (always square!) :*<tt>'''<span style="color:#80ff80;">size1</span>''' > 0; '''<span style="color:#8080ff;">size2</span>''' omitted: '''Width''' = '''Height''' = <span style="color:#80ff80;">size1</span></tt> (always square!) :*<tt>'''<span style="color:#80ff80;">size1</span>''' == 0; '''<span style="color:#8080ff;">size2</span>''' == 0 : '''Width''' = '''Height''' = '''''<span style="color:#ffff80;">TextHeight</span>'''''</tt> (always square!) :*<tt>'''<span style="color:#80ff80;">size1</span>''' > 0; '''<span style="color:#8080ff;">size2</span>''' == 0 : '''Width''' = '''''<span style="color:#ffff80;">TextHeight</span>'''''; '''Height''' = <span style="color:#80ff80;">size1</span></tt> (size1 is height!!!) :*<tt>'''<span style="color:#80ff80;">size1</span>''' == 0; '''<span style="color:#8080ff;">size2</span>''' > 0 : '''Width''' = <span style="color:#8080ff;">size2</span> * '''''<span style="color:#ffff80;">TextHeight</span>'''''; '''Height''' = '''''<span style="color:#ffff80;">TextHeight</span>'''''</tt> (size2 is an aspect ratio and defines width!!!) :*<tt>'''<span style="color:#80ff80;">size1</span>''' > 0; '''<span style="color:#8080ff;">size2</span>''' > 0 : '''Width''' = <span style="color:#80ff80;">size1</span>; '''Height''' = <span style="color:#8080ff;">size2</span></tt> :*<tt>'''dimx dimy''':</tt> Size of the source image, in pixels :*<tt>'''coordx1 coordx2 coordy1 coordy2''':</tt> Number of pixels to crop the texture by from each edge :''Notes:'' :* When you need to display square icon in the string (spell/item icon), use only <tt>|T''TexturePath'':''<span style="color:#80ff80;">0</span>''|t</tt> :* When you need to display rectangular image in the string (Blizzard logo), use aspect ratio version: <tt>|T''TexturePath'':''<span style="color:#80ff80;">0</span>'':''<span style="color:#8080ff;">aspectRatio</span>''|t</tt> :* ''To prevent potential abuse, raw texture links cannot be sent to other players.''<ref name="Blue: Embedded textures">http://forums.worldofwarcraft.com/thread.html?topicId=2968233433&postId=44930053081&sid=1#293 Embedded Textures in FontStrings</ref> :* You can send [[target markers]] using texture tags: :** <code>{star}, {rt1}</code> - [[Image:wow_IconSmall RaidStar.png]] :** <code>{circle}, {rt2}</code> - [[Image:wow_IconSmall RaidCircle.png]] :** <code>{diamond}, {rt3}</code> - [[Image:wow_IconSmall RaidDiamond.png]] :** <code>{triangle}, {rt4}</code> - [[Image:wow_IconSmall RaidTriangle.png]] :** <code>{moon}, {rt5}</code> - [[Image:wow_IconSmall RaidMoon.png]] :** <code>{square}, {rt6}</code> - [[Image:wow_IconSmall RaidSquare.png]] :** <code>{cross}, {rt7}</code> - [[Image:wow_IconSmall RaidCross.png]] :** <code>{skull}, {rt8}</code> - [[Image:wow_IconSmall RaidSkull.png]] :: However, the named target marker tags are localized, so <code>{star}</code> for example will not be parsed on a german client, but <code>{rt''#''}</code> (i.e. <code>{rt7}</code>) works on all clients.
Summary:
Please note that all contributions to AddOn Studio are considered to be released under the Creative Commons Attribution-NonCommercial-ShareAlike (see
AddOn Studio Wiki:Copyrights
for details).
Submissions must be written by you, or copied from a public domain or similar free resource (see
AddOn Studio Wiki:Copyrights
for details).
Cancel
Editing help
(opens in new window)
Close
Loading editor…