This forum uses MyCode to format posts. New editor with toolbar (above) reduces formatting to simple clicking but there is still code that has to be written manually (e.g. image floating). The aim of this post is to create a comprehensive list of most common tags used on this forum.
NOTE: Following tags are left out: quote, code, php, video and text direction. Feel free to try them out. Bulleted lists and tables are currently broken. I'll add them once they're fixed.
Font family
This text is in Arial (default). This text is in Impact. This text is in Courier. This text is in Times New Roman.
Code:
[font=Arial]This text is in Arial (default).[/font]
[font=Impact]This text is in Impact.[/font]
[font=Courier]This text is in Courier.[/font]
[font=Times New Roman]This text is in Times New Roman.[/font]
This text is red. This text is green. This text is cyan (given in hex form).
Code:
[color=red]This text is red.[/color]
[color=green]This text is green.[/color]
[color=#40E0D0]This text is cyan (given in hex form).[/color]
Text alignment
Left-aligned text.
Center-aligned text.
Right-aligned text.
Justified text (block alignment). This mode is more noticeable when there are large blocks of text.
Code:
[align=left]Left-aligned text.[/align]
[align=center]Center-aligned text.[/align]
[align=right]Right-aligned text.[/align]
[align=justify]Justified text (block alignment). This mode is more noticeable when there are large blocks of text.[/align]
Indenting
Lorem ipsum dolor sit amet, consectetuer adipiscing elit.
Aenean et est a dui semper facilisis. Pellentesque placerat elit a nunc.
Lorem ipsum dolor sit amet, consectetuer adipiscing elit.
[indent]Aenean et est a dui semper facilisis. Pellentesque placerat elit a nunc.
[indent]Nullam tortor odio, rutrum quis, egestas ut, posuere sed, felis.[/indent][/indent]
Numbered list
List Item #1
List Item #2
Subitem a)
Subitem b)
List Item #3
Code:
[list=1]
[*]List Item #1
[*]List Item #2
[list=a]
[*]Subitem a)
[*]Subitem b)
[/list]
[*]List Item #3[/list]
[url=http://docs.mybb.com/1.6/Custom-MyCode/]Hyperlink to myBB page[/url]
Superscript and subscript
This text requires external citation.[citation]
P1 and P2 are known Rogues.
Code:
This text requires external citation.[sup][url=http://en.wikipedia.org/wiki/Citation][citation][/url][/sup]
P[sub]1[/sub] and P[sub]2[/sub] are known Rogues.
Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Aenean et est a dui semper facilisis. Pellentesque placerat elit a nunc. Nullam tortor odio, rutrum quis, egestas ut, posuere sed, felis. Vestibulum placerat feugiat nisl. Suspendisse lacinia, odio non feugiat vestibulum, sem erat blandit metus, ac nonummy magna odio pharetra felis. Vivamus vehicula velit non metus faucibus auctor. Nam sed augue. Donec orci. Cras eget diam et dolor dapibus sollicitudin. In lacinia, tellus vitae laoreet ultrices, lectus ligula dictum dui, eget condimentum velit dui vitae ante. Nulla nonummy augue nec pede. Pellentesque ut nulla. Donec at libero. Pellentesque at nisl ac nisi fermentum viverra. Praesent odio. Phasellus tincidunt diam ut ipsum. Donec eget est.