BBCode
From NewspeakWiki
BBCode is an abbreviation for Bulletin Board Code, the lightweight markup language used to format posts in many message boards. It is also called forum codes. The available tags are usually indicated by rectangular brackets surrounding a keyword, and they are parsed by the message board system before being translated into a markup language that web browsers understand, usually HTML or XHTML.
This is a list of some of BBCode tags used on the Newspeak Dictionary BBS.
Contents |
[edit] Standard PHPBB BBCode
[edit] Bold text
BBCode:
[b]bolded text[/b]
HTML equivalent:
<b>bolded text</b>
Output: bolded text
[edit] Italicized text
BBCode:
[i]italicized text[/i]
HTML equivalent:
<i>italicized text</i>
Output: italicized text
[edit] Underlined text
BBCode:
[u]underlined text[/u]
HTML equivalent:
<u>underlined text</u>
Output: underlined text
[edit] SIZE
Changes the size of the font. 12px is the default size. Allowable values are typically 8,9,10,12,14,18,24,28,36,48,60, and 72. However, any size between 2 and 79 should work on the board.
BBCode:
[size=24]The Text[/size]
HTML equivalent:
<span style="font-size:24px;">The Text</span>
Output: The Text
[edit] COLOR
Changes the color of the text. You can use RGB Hex Codes or several predefined color names (Red, Dark Red, Orange, Brown, Yellow, Green, Olive, Cyan, Blue, Dark Blue, Indigo, Violet, White, Black)
BBCode:
[color=red]Red Text[/color]
- or
[color=#FF0000]Red Text[/color]
HTML equivalent:
<span style="color: #FF0000;">Red Text</span>
Output: Red Text
[edit] URL 1
BBCode:
[url]http://wikipedia.org[/url]
HTML equivalent:
<a href="http://wikipedia.org"> http://wikipedia.org</a>
Output: http://wikipedia.org
[edit] URL 2
BBCode:
[url=http://wikipedia.org]Wikipedia[/url]
HTML equivalent:
<a href="http://wikipedia.org">Wikipedia</a>
Output: Wikipedia
[edit] IMG
BBCode:
[img]http://www.website.org/image.jpg[/img]
HTML equivalent:
<img src="http://www.website.org/image.jpg">
Output: Displays Image
[edit] QUOTE 1
BBCode:
[quote]quoted text[/quote]
HTML equivalent: N/A
Output: Displays a header Quote:, followed by an indented window which contains quoted text.
[edit] QUOTE 2
BBCode:
[quote="ABoardUser"]quoted text[/quote]
HTML equivalent: N/A
Output: Displays a header ABoardUser wrote:, followed by an indented window which contains quoted text.
- NOTE: You can also include other BBCode inside the quote parameter (such as a URL) like this:
[quote="ABoardUser wrote in [url=http://forums.newspeakdictionary.com/post-12184.html#12184]this post[/url]"]quoted text[/quote]
[edit] CODE
The code tag can be useful when you want to post source code (including BBCode) that you don't want to be parsed. Also, since the text is monospaced, it can be used to display a text spreadsheet (such as a text dump from Microsoft Excel).
BBCode:
[code]monospaced text[/code]
HTML equivalent:
<pre>monospaced text</pre>
Output:
monospaced text
[edit] LIST (unordered)
Creates a bulleted list.
BBCode:
[list][*]One[*]Two[*]Three[/list]
HTML equivalent:
<ul><li>One</li><li>Two</li><li>Three</li></ul>
Output:
- One
- Two
- Three
[edit] LIST (ordered)
Creates a numbered list.
BBCode:
[list=1][*]One[*]Two[*]Three[/list]
HTML equivalent:
<ol><li>One</li><li>Two</li><li>Three</li></ol>
Output:
- One
- Two
- Three
You can also create a lettered list:
BBCode:
[list=a][*]One[*]Two[*]Three[/list]
HTML equivalent:
<ol type=a><li>One</li><li>Two</li><li>Three</li></ol>
Output:
- One
- Two
- Three
[edit] Custom BBCode
The following BBCodes were custom-written by the greatest (and most modest) board administrator in all of Oceania, Big Brother. ^>^
[edit] Blockquote
This tag indents text and images.
BBCode:
[bq]Indented text[/bq]
HTML equivalent:
<blockquote>Indented Text</blockquote>
Indented Text
[edit] Blur text
BBCode:
[blur]Blurry Text[/blur]
HTML equivalent:
<span style="height: 20; filter:blur(add=true,direction=135,strength=5">Blurry Text</span>
Output: Blurry Text
[edit] CENTER
This tag will center text and images.
BBCode:
[center]Malcolm in the Middle[/center]
HTML equivalent:
<center>Malcolm in the Middle</center>
Output:
[edit] EQUOTE
Similar to [QUOTE] tag, with a few small differences in output. The text displays in 13px (instead of 11px) and on a tan background (instead of white).
Use this tag when quoting an external site or article. The larger text size makes it easier to read than with the standard [quote] tag.
See: Post #12184 for detailed information.
[edit] Newspeak Wiktionary link
This code produces a link to an article on the Newspeak Wiktionary. The syntax is similar to the [w] code.
BBCode:
[nw]Newspeak[/nw]
HTML equivalent:
<a href="http://wiki.newspeakdictionary.com/wiki/" target="_blank">Newspeak</a>
Output: Newspeak
See Post #40676 for detailed information
[edit] Strikethough text
BBCode:
[x]Strike me[/x]
HTML equivalent:
<strike>Strike me</strike>
Output:
Strike me
[edit] VIDEO
Embed a video file. The file must be playable in Windows Media Player (in other words, flash animations and YouTube.com links won't work).
BBCode:
[video]http://www.awebsite.com/videofile.mpeg[/video]
See Post #12327 for more information.
[edit] Wikipedia link
This code produces a link to a Wikipedia article. The syntax is similar to the [nw] code.
BBCode:
[w]Wikipedia[/w]
HTML equivalent:
<a href="http://en.wikipedia.org/wiki/" target="_blank">Newspeak</a>
Output: Wikipedia
See Post #16598 for detailed information.
