Thread Rating:

JB
Administrator
JB
Joined: Oct 14, 2009
  • Threads: 334
  • Posts: 2024
October 14th, 2009 at 11:59:59 PM permalink
Direct HTML is not allowed in your posts, however, the following formatting codes are available:

Fonts and Colors

Description Usage Example Input Example Output
Font Face [font=font_name]...[/font] [font=Times New Roman]Times New Roman[/font] Times New Roman
Font Size [size=pixels]...[/size] [size=18]18-pixel text[/size] 18-pixel text
Foreground Color [color=html_color*]...[/color] or [fg=html_color*]...[/fg] [color=#003366]dark blue text[/color] or [fg="firebrick"]firebrick[/fg] dark blue text or firebrick
Background Color [bg=html_color*]...[/bg] [bg=#FFFF00]highlighted yellow[/bg] highlighted yellow

* html_color can be an RGB literal (#RGB or #RRGGBB) or a named web color.

Links and Images

Description Usage Example Input Example Output
Link [link=URL]anchor_text[/link] [link=http://www.example.com/]Example[/link] Example
Image [img=URL] [img=/welcome.jpg]


Text Styles

Description Usage Example Input Example Output
Bold [b] ... [/b] [b]bold text[/b] bold text
Italic [i] ... [/i] [i]italic text[/i] italic text
Strikethrough [s] ... [/s] [s]strikethrough text[/s] strikethrough text
Underline [u] ... [/u] [u]underlined text[/u] underlined text


Text Alignment

Description Usage Example Input Example Output
Left [l] ... [/l] [l]left-aligned text[/l]
left-aligned text
Center [c] ... [/c] [c]centered text[/c]
centered text
Right [r] ... [/r] [r]right-aligned text[/r]
right-aligned text
Justify [j] ... [/j] [j]this text is justified, which means that the words on each line except the last are spaced so that both the left and right sides are aligned evenly[/j]
this text is justified, which means that the words on each line except the last are spaced so that both the left and right sides are aligned evenly
Superscript [sup] ... [/sup] This text is [sup]superscript[/sup] This text is superscript
Subscript [sub] ... [/sub] This text is [sub]subscript[/sub] This text is subscript


Blocks

Description Usage Example Input Example Output
Quote, method 1 [q] ... [/q] [q]quoted text[/q]
Quote:

quoted text

Quote, method 2 [q=origin] ... [/q] [q=Shakespeare]To be or not to be, that is the question[/q]
Quote: Shakespeare

To be or not to be, that is the question

Computer code [code] ... [/code] [code]Object.DoSomething();[/code]
Object.DoSomething();


Tables


Start with [tbl] and [/tbl].

Rows are added inside [tbl] tags using the [row] and [/row] tags.

Header cells are added inside [row] tags using the [col] and [/col] tags.

Data cells are added inside [row] tags using the [dat] and [/dat] tags.

Example Input


[tbl]

[row]
[col]Header 1[/col]
[col]Header 2[/col]
[col]Header 3[/col]
[/row]

[row]
[dat]Data value 1[/dat]
[dat]Data value 2[/dat]
[dat]Data value 3[/dat]
[/row]

[row]
[dat]Data value 4[/dat]
[dat]Data value 5[/dat]
[dat]Data value 6[/dat]
[/row]

[row]
[dat]Data value 7[/dat]
[dat]Data value 8[/dat]
[dat]Data value 9[/dat]
[/row]

[/tbl]


Example Output

Header 1 Header 2 Header 3
Data value 1 Data value 2 Data value 3
Data value 4 Data value 5 Data value 6
Data value 7 Data value 8 Data value 9


Lists


For a bulleted list, start with [blist] and [/blist].

For a numbered list, start with [nlist] and [/nlist].

Add items inside the list tags using [item] and [/item].

Example Input


[blist]
[item]Bulleted item 1[/item]
[item]Bulleted item 2[/item]
[item]Bulleted item 3[/item]
[/blist]

[nlist]
[item]Numbered item A[/item]
[item]Numbered item B[/item]
[item]Numbered item C[/item]
[/nlist]


Example Output


  • Bulleted item 1
  • Bulleted item 2
  • Bulleted item 3


  1. Numbered item A
  2. Numbered item B
  3. Numbered item C


Miscellaneous

To hide "spoiler" text, enclose it within [spoiler] and [/spoiler] tags.
This is an example of how the [spoiler] ... [/spoiler] tag works.

You can change the text shown on the button by specifying it like this: [spoiler=ButtonText]Spoiler text[/spoiler].
Spoiler text


An opening or closing bracket can be escaped by enclosing itself in brackets, such as [[] or []]. This is handy when you want to discuss one of the above tags, without having your text be parsed as tags.
Last edited by: JB on Nov 11, 2009

  • Jump to: