Difference between revisions of "HB-TML"

From Hobowars Wiki
Jump to: navigation, search
m (Typo)
m (Added the newly implemented [link=] tag, changed some formatting, added some useful information here and there, and added the :yuk: smiley to the Smilies table.)
Line 3: Line 3:
 
==Formatting==
 
==Formatting==
 
{| border="3" cellpadding="2"
 
{| border="3" cellpadding="2"
! style="background:#66CCFF" colspan="2" | Text Formatting
+
! style="background:#66CCFF" colspan="3" | Text Formatting
 
|-
 
|-
 
! width="160pt" style="background:blue; color:white" | Effect
 
! width="160pt" style="background:blue; color:white" | Effect
 
! width="425pt" style="background:red; color:white" | Code
 
! width="425pt" style="background:red; color:white" | Code
 +
! width="250pt" style="background:#FFBB00; color:white" | Result
 
|-
 
|-
| '''Boldfaced Text'''
+
| Boldfaced Text
 
| <font face="courier new">[b]Boldface Text[/b]</font>
 
| <font face="courier new">[b]Boldface Text[/b]</font>
 +
| '''Boldfaced Text'''
 
|-
 
|-
| ''Italicized Text''
+
| Italicized Text
 
| <font face="courier new">[i]Italicized Text[/i]</font>
 
| <font face="courier new">[i]Italicized Text[/i]</font>
 +
| ''Italicized Text''
 
|-
 
|-
| <u>Underlined Text</u>
+
| Underlined Text
 
| <font face="courier new">[u]Underlined Text[/u]</font>
 
| <font face="courier new">[u]Underlined Text[/u]</font>
 +
| <u>Underlined Text</u>
 
|-
 
|-
| <s>Strikethrough Text</s>
+
| Strikethrough Text
 
| <font face="courier new">[s]Strikethrough Text[/s]</font>
 
| <font face="courier new">[s]Strikethrough Text[/s]</font>
 +
| <s>Strikethrough Text</s>
 
|-
 
|-
| <font style="text-shadow: 1px 1px 3px black;">Shadow Text</font>
+
| Shadow Text
 
| <font face="courier new">[shadow]Shadow Text[/shadow]<font>
 
| <font face="courier new">[shadow]Shadow Text[/shadow]<font>
 +
| <font style="text-shadow: 1px 1px 3px black;">Shadow Text</font>
 
|-
 
|-
| <font color="#FF0000">Colored Text</font><br /><font color="#FF8000">Colored Text</font><br /><font color="#FFFF00">Colored Text</font><br /><font color="#008000">Colored Text</font><br /><font color="#0000FF">Colored Text</font><br /><font color="#800080">Colored Text</font><br /><font color="#029A2F">Colored Text</font>
+
| Colored Text
| <font face="courier new">[hex=FF0000]Colored Text[/hex]<br />[hex=FF8000]Colored Text[/hex]<br />[hex=FFFF00]Colored Text[/hex]<br />[hex=008000]Colored Text[/hex]<br />[hex=0000FF]Colored Text[/hex]<br />[hex=800080]Colored Text[/hex]<br />[hex=029A2F]Colored Text[/hex]</font>
+
| <font face="courier new">[hex=FF0000]Red Text[/hex]<br />[hex=FF8000]Orange Text[/hex]<br />[hex=FFFF00]Yellow Text[/hex]<br />[hex=008000]Green Text[/hex]<br />[hex=0000FF]Blue Text[/hex]<br />[hex=800080]Purple Text[/hex]<br />[hex=964B00]Brown Text[/hex]</font>
 +
| <font color="#FF0000">Red Text</font><br /><font color="#FF8000">Orange Text</font><br /><font color="#FFFF00">Yellow Text</font><br /><font color="#008000">Green Text</font><br /><font color="#0000FF">Blue Text</font><br /><font color="#800080">Purple Text</font><br /><font color="#964B00">Brown Text</font>
 
|-
 
|-
 +
| Superscript Text
 +
| <font face="courier new">[sup]Superscript Text[/sup]</font>
 
| <sup>Superscript Text</sup>&nbsp;
 
| <sup>Superscript Text</sup>&nbsp;
| <font face="courier new">[sup]Superscript Text[/sup]</font>
 
 
|-
 
|-
| <sub>Subscript Text</sub>&nbsp;
+
| Subscript Text
 
| <font face="courier new">[sub]Subscript Text[/sub]</font>
 
| <font face="courier new">[sub]Subscript Text[/sub]</font>
 +
| <sub>Subscript Text</sub>&nbsp;
 
|-
 
|-
| style="font-size: 74%;"| <sub><sup>Tiny Text</sup></sub>&nbsp;<br /><sup><sub>Tiny Text</sub></sup>&nbsp;
+
| Tiny Text
 
| <font face="courier new">[sub][sup]Tiny Text[/sup][/sub]<br />[sup][sub]Tiny Text[/sub][/sup]</font>
 
| <font face="courier new">[sub][sup]Tiny Text[/sup][/sub]<br />[sup][sub]Tiny Text[/sub][/sup]</font>
 +
| <sub><sup>Tiny Text</sup></sub>&nbsp;<br /><sup><sub>Tiny Text</sub></sup>&nbsp;
 
|-
 
|-
| align="center" | Centered Text<br />
+
| Centered Text
 
| <font face="courier new">[center]Centered Text[/center]</font>
 
| <font face="courier new">[center]Centered Text[/center]</font>
 +
| align="center" | Centered Text<br /><br />
 
|-
 
|-
| align="left" | Left-Aligned Text<br />
+
| Left-Aligned Text
 
| <font face="courier new">[left]Left-Aligned Text[/left]</font>
 
| <font face="courier new">[left]Left-Aligned Text[/left]</font>
 +
| align="left" | Left-Aligned Text<br /><br />
 
|-
 
|-
| align="right" | Right-Aligned Text
+
| Right-Aligned Text
 
| <font face="courier new">[right]Right-Aligned Text[/right]</font>
 
| <font face="courier new">[right]Right-Aligned Text[/right]</font>
 +
| align="right" | Right-Aligned Text<br /><br />
 
|-
 
|-
| <div style="margin-top: 10px; margin-bottom: 1px; margin-left: 40px;">Indented Text</div>
+
| Indented Text
 
| <font face="courier new">[indent]Indented Text[/indent]</font>
 
| <font face="courier new">[indent]Indented Text[/indent]</font>
 +
| <div style="margin-top: 10px; margin-bottom: 1px; margin-left: 40px;">Indented Text</div>
 
|-
 
|-
| <br /><font face="courier new">Preformatted Text</font><br /><br />
+
| Preformatted Text
 
| <font face="courier new">[pre]Preformatted Text[/pre]</font>
 
| <font face="courier new">[pre]Preformatted Text[/pre]</font>
 +
| <br /><font face="courier new">Preformatted Text</font><br /><br />
 
|}
 
|}
 
{| border="3" cellpadding="2"
 
{| border="3" cellpadding="2"
Line 57: Line 72:
 
! width="250pt" style="background:#FFBB00; color:white" | Result
 
! width="250pt" style="background:#FFBB00; color:white" | Result
 
|-
 
|-
| Standard Hyperlink
+
| Hyperlink
 +
| <font face="courier new">[link=<nowiki>http://www.hobowars.com</nowiki>]</font>
 +
| http://www.hobowars.com
 +
|-
 +
| Labeled Hyperlink
 
| <font face="courier new">[url=<nowiki>http://www.hobowars.com</nowiki>]HoboWars![/url]</font>
 
| <font face="courier new">[url=<nowiki>http://www.hobowars.com</nowiki>]HoboWars![/url]</font>
 
| [http://www.hobowars.com HoboWars!]
 
| [http://www.hobowars.com HoboWars!]
Line 136: Line 155:
 
|}
 
|}
 
{| border="3" cellpadding="2"
 
{| border="3" cellpadding="2"
! style="background:#66CCFF" colspan="2" | Horizontal Rule
+
! style="background:#66CCFF" colspan="3" | Horizontal Rule Rendering
 
|-
 
|-
 
! width="160pt" style="background:blue; color:white" | Effect
 
! width="160pt" style="background:blue; color:white" | Effect
 
! width="425pt" style="background:red; color:white" | Code
 
! width="425pt" style="background:red; color:white" | Code
 +
! width="250pt" style="background:#FFBB00; color:white" | Result
 
|-
 
|-
| <hr />
+
| One Horizontal Rule
 
| <font face="courier new">[hr]</font>
 
| <font face="courier new">[hr]</font>
 +
| <hr />
 
|-
 
|-
| <hr /><hr />
+
| rowspan="2" | Two Horizontal Rules
 
| <font face="courier new">[hr][hr]</font>
 
| <font face="courier new">[hr][hr]</font>
 +
| <hr /><hr />
 
|-
 
|-
| <hr /><hr /><hr />
+
| <font face="courier new">[hr]<br />[hr]</font>
 +
| <hr /><br /><hr />
 +
|-
 +
| rowspan="2" | Three Horizontal Rules
 
| <font face="courier new">[hr][hr][hr]</font>
 
| <font face="courier new">[hr][hr][hr]</font>
 +
| <hr /><hr /><hr />
 
|-
 
|-
| <hr /><br /><hr />
+
| <font face="courier new">[hr]<br />[hr]<br />[hr]</font>
| <font face="courier new">[hr]<br />[hr]</font>
+
| <hr /><br /><hr /><br /><hr />
 
|}
 
|}
 
'''Notes:'''
 
'''Notes:'''
* Remember to always close any formatting so it does not bleed over into text you do not want affected.
+
* Always remember to close your tags so that your formatting does not bleed over into any text you do not want affected.
 
** The <font face="courier new">[hr]</font> tag is the only one that does not need to be closed, since it is considered to be a one-time use.
 
** The <font face="courier new">[hr]</font> tag is the only one that does not need to be closed, since it is considered to be a one-time use.
  
Line 470: Line 496:
 
| colspan="2" | <font face="courier new">:yawn:</font>
 
| colspan="2" | <font face="courier new">:yawn:</font>
 
| http://www.hobowars.com/images/mb_icons/yawn.gif
 
| http://www.hobowars.com/images/mb_icons/yawn.gif
 +
|- align="center"
 +
! Disgusted
 +
| colspan="2" | <font face="courier new">:yuk:</font>
 +
| http://www.hobowars.com/images/mb_icons/yuk.gif
 
|}
 
|}
  
  
==Special Characters / Symbols==
+
==Special Characters and Symbols==
 
An assortment of special  ASCII characters can be found through out the game (in peoples' names, gang tags, signatures, etc...). To find and access these characters on your computer:<b>
 
An assortment of special  ASCII characters can be found through out the game (in peoples' names, gang tags, signatures, etc...). To find and access these characters on your computer:<b>
 
# Click Start'''<br />
 
# Click Start'''<br />
Line 479: Line 509:
 
# Enter "charmap.exe"'''<br />
 
# Enter "charmap.exe"'''<br />
 
# Click "Okay"'''<br /></b>
 
# Click "Okay"'''<br /></b>
Alternately, on most computers, it can be found here:<br>
+
Alternately, on most computers, it can be found here:
:'''Start &rarr; All Programs &rarr; Accessories &rarr; System Tools &rarr; Character Map'''<br/>
+
:'''Start &rarr; All Programs &rarr; Accessories &rarr; System Tools &rarr; Character Map'''<br />
Keep in mind that some of the Arabic symbols are banned, because they change the direction the characters are read, and can cause problems with the coding. So please, avoid using them.
+
Keep in mind that some of the Arabic symbols are banned, because they change the direction the characters are read, and can cause problems with the coding; therefore, please avoid using them.
 +
 
 +
Special characters and symbols resources: [http://www.ascii.cl/htmlcodes.htm Specific] / [http://unicode.coeurlumiere.com/ Complete].

Revision as of 13:06, 30 September 2010

HB-TML stands for Hobo-Text Markup Language. It allows you to format your text in numerous ways.

Formatting

Text Formatting
Effect Code Result
Boldfaced Text [b]Boldface Text[/b] Boldfaced Text
Italicized Text [i]Italicized Text[/i] Italicized Text
Underlined Text [u]Underlined Text[/u] Underlined Text
Strikethrough Text [s]Strikethrough Text[/s] Strikethrough Text
Shadow Text [shadow]Shadow Text[/shadow] Shadow Text
Colored Text [hex=FF0000]Red Text[/hex]
[hex=FF8000]Orange Text[/hex]
[hex=FFFF00]Yellow Text[/hex]
[hex=008000]Green Text[/hex]
[hex=0000FF]Blue Text[/hex]
[hex=800080]Purple Text[/hex]
[hex=964B00]Brown Text[/hex]
Red Text
Orange Text
Yellow Text
Green Text
Blue Text
Purple Text
Brown Text
Superscript Text [sup]Superscript Text[/sup] Superscript Text 
Subscript Text [sub]Subscript Text[/sub] Subscript Text 
Tiny Text [sub][sup]Tiny Text[/sup][/sub]
[sup][sub]Tiny Text[/sub][/sup]
Tiny Text 
Tiny Text 
Centered Text [center]Centered Text[/center] Centered Text

Left-Aligned Text [left]Left-Aligned Text[/left] Left-Aligned Text

Right-Aligned Text [right]Right-Aligned Text[/right] Right-Aligned Text

Indented Text [indent]Indented Text[/indent]
Indented Text
Preformatted Text [pre]Preformatted Text[/pre]
Preformatted Text

Linking
Effect Code Result
Hyperlink [link=http://www.hobowars.com] http://www.hobowars.com
Labeled Hyperlink [url=http://www.hobowars.com]HoboWars![/url] HoboWars!
Hobo Link [hobo=1]Andy[/hobo] Andy
Smart Hobo Link [hoboname=1] Andy
Email Link [email=andrewh@hellbored.com]Andy's Email[/email] Andy's Email
Thread Link [thread=1]Non-Existent Thread[/thread] Non-Existent Thread
Thread Link (Specific Page) [thread=1-2]Non-Existent Thread (Page 2)[/thread] Non-Existent Thread (Page 2)
Gang Link [gang=1]The Syndicate.[/gang] The Syndicate.
Journal Link [journal=1]The First Journal Entry[/journal] The First Journal Entry
Lotto Link [lotto=1]Lotto Link[/lotto] Non-Existent Lotto
UFC Link [ufc=1-3] [UFC: Round 1, Bracket 3]
Media Rendering
Effect Code Result
Displayed Image [img]http://www.hobowars.com/images/donator.gif[/img] donator.gif
Embedded YouTube Video [youtube=http://www.youtube.com/watch?v=Y7dpJ0oseIA] (Embedded Video)
Embedded Hellbored Video [hellbored=c53ec8d4a7cef83d44a85c9c835a9e52] (Embedded Video)
Quoting
Effect Code Result
Quote [quote]Quoted Text[/quote]
Quote:
Quoted Text
Labeled Quote [quote=Andy]Quoted Text[/quote]
Originally Posted by Andy
Quoted Text
Smart Quote [quote=1]Quoted Text[/quote]
Originally Posted by Andy
Quoted Text
Horizontal Rule Rendering
Effect Code Result
One Horizontal Rule [hr]
Two Horizontal Rules [hr][hr]

[hr]
[hr]



Three Horizontal Rules [hr][hr][hr]


[hr]
[hr]
[hr]





Notes:

  • Always remember to close your tags so that your formatting does not bleed over into any text you do not want affected.
    • The [hr] tag is the only one that does not need to be closed, since it is considered to be a one-time use.


Colored Text

In a hexadecimal color code, the colors red, green, and blue are represented by a hexadecimal value. The first two digits in a hexadecimal color code are the red values, the middle two digits are the green values, and the last two digits are the blue values. By mixing these values together in various amounts you can achieve up to 16,777,216 different colors!

  • The hexadecimal color code for pure red is FF0000.
  • The hexadecimal color code for pure green (lime) is 00FF00.
  • The hexadecimal color code for pure blue is 0000FF.
  • The hexadecimal color code for pure white is all three colors at their highest values, i.e. FFFFFF.
  • The hexadecimal color code for pure black is all three colors at their lowest values, i.e. 000000.
  • Hexadecimal color codes for gray colors are made by keeping all three color values equal in number and making it a value between 00 and FF, e.g. 454545.
  • Hexadecimal color codes for all other colors are made by mixing red, green, and blue values in appropriate amounts, e.g. FF6600, 029A2F, B05F3C, etc.
  • Hexadecimal color code resources: Specific / Comprehensive / Complete.


Special Tricks

Lesser-known methods of getting the effect you want.

HB-TML Tips and Tricks
What you Want What to Type Out Result
Show HB-TML (Simple) [h\r] [hr]
Show HB-TML (Complex) &#91;hr&#93; [hr]
Hidden MB Text [hex=F8F8F8]Word[/hex] Word
Hidden Signature Text [hex=FFFFFF]Word[/hex] Word
Hidden Journal Text [hex=D6E1E9]Word[/hex] Word
Hidden Journal Comment Text (In Yours) [hex=EBF0F3]Word[/hex] Word
Hidden Journal Comment Text (In Others) [hex=F3F3F3]Word[/hex] Word
Hidden Picture Comment Text (In Yours) [hex=EBF0F3]Word[/hex] Word
Hidden Picture Comment Text (In Others) [hex=EFEFEF]Word[/hex] Word
Hidden Profile Comment Text [hex=EFEFEF]Word[/hex] Word
Hidden Chat Text [hex=F0F0F0]Word[/hex] Word
Hidden Pac Chat Text [hex=000000]Word[/hex] Word

Notes:

  • To simulate a "tab space", use five periods that are colored to match the background color, i.e. [hex=FFFFFF].....[/hex]
  • Also, please note that setting the color of your text in Chat to match the background color is against the rules.


Smilies

Smilies
Name Code Image
Big Grin :D 1.gif
Grin :-D 2.gif
Smile / Happy :) 3.gif
Tongue :P 4.gif
Surprised :O O.O 5.gif
Confused :S 6.gif
Sunglasses 8-) 7.gif
Winking ;) 8.gif
Angry :angry: 9.gif
Shocked O.o o.O 10.gif
Evil :evil: 11.gif
Rolling Eyes :| :eyes: 12.gif
Frown / Sad :( 13.gif
Blushing :@ 14.gif
Spinning ^.^ 15.gif
LOL :lol: lol.gif
Gay officedebo gay.gif
Heart <3 love.gif
Shades B-) shades.gif
Winking Tongue ;P wink.gif
Angered :anger: angered.gif
Blank Stare :blankstare: blankstare.gif
Bowing Down :bow: bow.gif
Brick Wall :brickwall: brickwall.gif
Bucktooth :bucktooth: bucktooth.gif
Bye-bye :bye: bye.gif
Crazy :crazy: crazy.gif
Crying :cry: cry.gif
Drunk :drunk: drunk.gif
Facepalm :facepalm: facepalm.gif
Shaking Fist :fist: fist.gif
Freaking Out :freakout: freakout.gif
Fro :fro: fro.gif
Machine Gun :gun: gun2.gif
David Hasselhoff :hasselhoff: hasselhoff.gif
Shaking Head :headshake: headshake.gif
Love / Hearts :heart: heart.gif
Shifty :hmm: hmm.gif
Hobo :hobo: hobo.gif
Shrugging :idk: idk.gif
Irish :irish: irish.gif
King :king: king.gif
Naughty :naughty: naughty.gif
No :no: no.gif
Off Topic :offtopic: offtopic.gif
OMG :omg: omg.gif
Oopsie :oopsie: oopsie.gif
Pirate :arr: pirate.gif
Eating Popcorn :popcorn: popcorn.gif
ROFL :rofl: rofl.gif
Sad :blue: sad.gif
Sleeping :zzz: sleeping.gif
Thumbs Up :thumbsup: thumbsup.gif
Ugh :ugh: ugh.gif
Playing Violin :violin: violin.gif
Waving :wave: wave.gif
Yawning :yawn: yawn.gif
Disgusted :yuk: yuk.gif


Special Characters and Symbols

An assortment of special ASCII characters can be found through out the game (in peoples' names, gang tags, signatures, etc...). To find and access these characters on your computer:

  1. Click Start
  2. Select "Run..."
  3. Enter "charmap.exe"
  4. Click "Okay"

Alternately, on most computers, it can be found here:

Start → All Programs → Accessories → System Tools → Character Map

Keep in mind that some of the Arabic symbols are banned, because they change the direction the characters are read, and can cause problems with the coding; therefore, please avoid using them.

Special characters and symbols resources: Specific / Complete.