Author Topic: Torque Markup Language Tag Listing (<> tags)  (Read 7109 times)

Wrote this in a text editor, felt like posting it.

Quote
<font:fontName:fontSize> - sets the font and fontsize as indicated. Example: <font:arial bold:20>
<tag:???> - not sure what this does
<color:rrggbb(aa)> - sets text color in hex format. Example: <color:ff0000> will display red text
<bitmap:filePath> - displays a bitmap image indicated by the file path. Example: <bitmap:base/client/ui/demoBanner>
<spush> - saves the current text formatting so that temporary changes to formatting can be made. Used with spop.
<spop> - restores the previously saved text formatting. Used with spush.
<sbreak> - not sure what this does
<just:left> - left justify
<just:right> - right justify
<just:center> - center justify
<a:ExternalURL>LinkTitle</a> - inserts a hyperlink into the text which will open the user's browser.
The external URL does not need the "http://" format. Example: <a:blockland.us>Blockland</a>
<lmargin: ##> - sets the left margin identation
<lmargin%: ##> - sets the left margin identation by % of the screen
<rmargin: ##> - sets the right margin identation
<rmargin%: ##> - sets the right margin identation by % of the screen
<clip:pixels> - cuts off text when it fills more than (pixels) pixels
<div:??> - makes a grey background for the text
<tab:##(,##,etc)> - sets the tab stops (multiple tabs are separated by commas)
<br> - Breaks the current line and begins a new one.

No-edit. Addition:
Quote
</a> - Ends a link, text typed after this is normal text unless another <a:ExternalURL> is there.

EDIT: apparantly modify works now
Quote
<shadow:x:y> - Gives the text a shadow offsetted by x and y.
<shadowcolor:rrggbb(aa)> - Sets the color of the text shadow.
<linkcolor:rrggbb(aa)> - Sets the color of a link.

EDIT2: apparantly modify works now because badspot moved it to General Discussion exactly 1 minute after i posted it. wow.
« Last Edit: March 18, 2011, 02:49:46 PM by Bauklotz »




Why not link to the original?

Beautiful, this is very useful, I didn't know about most of them.
* LeetZero claps.

You can use all of 'em in Blockland i suppose?