Home arrow FAQ arrow Discussion Forums arrow What is BBCode?

What is BBCode?

Quoting and outputting fixed-width text

There are two ways you can quote text: with a reference or without.

When you utilise the Quote function to reply to a post on the board you should notice that the post text is added to the message window enclosed in a [quote=""][/quote] block. This method allows you to quote with a reference to a person or whatever else you choose to put. For example, to quote a piece of text Mr. Blobby wrote, you would enter: [quote="Mr. Blobby"]The text Mr. Blobby wrote would go here[/quote]. The resulting output will automatically add: "Mr. Blobby wrote:" before the actual text.

Remember that you must include the quotation marks "" around the name you are quoting -- they are not optional.

The second method allows you to blindly quote something. To utilise this enclose the text in [quote][/quote] tags. When you view the message it will simply show: "Quote:" before the text itself.

Outputting code or fixed width data

If you want to output a piece of code or in fact anything that requires a fixed width with a Courier-type font, you should enclose the text in [code][/code] tags, eg. [code]echo "This is some code";[/code].

All formatting used within [code][/code] tags is retained when you later view it.

© 2017 uncharted.ca

0.035595