Help - Code

This page exists to give you a run down of the formatting code (also called RTF, BBS Code, and so forth) for Slacknet IRC Network. This code works in most places you can type in text, but not all of them; primarily it's used in articles, blogs, the forums, and so forth.

Standard Formatting

Code Lingo Result
[b]text[/b] Bold text
[i]text[/i] Italics text
[u]text[/u] Underline text
[pre]text[/pre] Pre-formatted Creates a preformatted text area in a monospace font, it does not have wrapping ability, so using this on the forums can get you into trouble.
[spoiler]text[/spoiler] Spoiler Creates a "spoiler text" by blacking it out unless the reader moves his or her mouse over the text, for example:
text
[sub]text[/sub] Sub This text is yours, great for things like "H2O"
[sup]text[/sup] Sup This text is yours, great for things like "1st place!"
[h1][/h1] Header 1 Header level 1 - Primarily used in articles, avoid using on the forums.
[h2][/h2] Header 2 Header level 2 - Primarily used in articles, avoid using on the forums.
[h3][/h3] Header 3 Header level 3 - Primarily used in articles, avoid using on the forums.
[h4][/h4] Header 4 Header level 4 - Primarily used in articles, avoid using on the forums.
[h5][/h5] Header 5 Header level 5 - Primarily used in articles, avoid using on the forums.
[h6][/h6] Header 6 Header level 6 - Primarily used in articles, avoid using on the forums.
[indent][/indent] Indent Indent text with a left margin, just like in books. Primarily used in articles.
[left][/left] Left Align text to the left, by default all text is aligned to the left, but it may come up
[center][/center] Center Center align text, good for titles, authors, etc
[right][/right] Right Right align text, good for languages like Arabic, Hebrew, etc.
[quote][/quote] Quote Quotes text, optionally by a user and a time:
Arguments:
[QUOTE USER="<username>"][/QUOTE]
[QUOTE USER="<username>" TIME="<unix_timestamp>"][/QUOTE]
[code][/code] Code Shows monospace format of text, primarily for computer code, keeps indentation. Use for code only, not for quoting!

Font and Color

Code Lingo Result
[color=red]text[/color] Color text
Shows text in a given color, obviously
[size=18]text[/size] Size text
Shows text in a size based on points.
[format size=18pt][/format] Format Size Exactly the same as above, except you specify "pt" (points) or "px" (pixels)
[format font=arial][/format] Format Font text
[format dec=underline][/format] Format Decoration text
Other options: overline; line-through; blink
[format bg=red][/format] Format Background text

Lists

It's very important that you remember this: each item must be surrounded by [*][/*]. 
For example:
[*]Item1[/*]
[*]Item2[/*]

Code Lingo Result
[list] Unordered List
  • Item1
  • Item2
[olist] Ordered List
  1. Item1
  2. Item2

URLs

Code Lingo Result
[url]http://google.com[/url]   http://google.com/
[url=http://google.com]Google[/url]   Google

Images

X

Code Lingo Result
[img]http://projectparanormal.org/images/pptopbanner.jpg[/img] Image

Extended

Code Lingo Result
[book]isbn[/book]   Creates a link to the books module via the ISBN of the book - supports both ISBN 10 and ISBN 13
[embed type=youtube]ID[/embed] Embed (So far embed only works with youtube, more to come soon)

Where ID is in the URL, you place the text after "v=" in a youtube URL.

For example:
http://www.youtube.com/watch?v=uXy2AmRDQBQ&feature=rec-HM-fresh+div

Becomes:
[embed type=youtube]uXy2AmRDQBQ[/embed]

When posted:

[hide][/hide]   Alias to [spoiler]
[list=1] Alias to [olist]
[num] Alias to [olist]