BBCode Guide for LowCarbonEconomy.com

Introduction

What is BBCode?

Text Formatting

How to create bold, italic and underlined text
How to change the text colour or size
Can I combine formatting tags?

Quoting and outputting fixed-width text

Quoting text in replies

Generating lists

Creating an Unordered list
Creating an Ordered list

Creating Links

Linking to another site

Introduction

What is BBCode?

BBCode is a special implementation of HTML. BBCode itself is similar in style to HTML: tags are enclosed in square braces [ and ] rather than < and > and it offers greater control over what and how something is displayed. Depending on the template you are using you may find adding BBCode to your posts is made much easier through a clickable interface above the message area on the posting form. Even with this you may find the following guide useful.

Back to top

Text Formatting

How to create bold, italic and underlined text

BBCode includes tags to allow you to quickly change the basic style of your text. This is achieved in the following ways:

Back to top

How to change the text colour or size

To alter the color or size of your text the following tags can be used. Keep in mind that how the output appears will depend on the viewers browser and system:

Back to top

Can I combine formatting tags?

Yes, of course you can; for example to get someones attention you may write:

[size=2][color=red][b]LOOK AT ME![/b][/color][/size]

This would output LOOK AT ME!

We don't recommend you output lots of text that looks like this, though! Remember that it is up to you, the poster, to ensure that tags are closed correctly. For example, the following is incorrect:

[b][u]This is wrong[/b][/u]

Back to top

Quoting and outputting fixed-width text

Quoting text in replies

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

Back to top

Generating lists

Creating an Unordered list

BBCode supports two types of lists, unordered and ordered. They are essentially the same as their HTML equivalents. An unordered list ouputs each item in your list sequentially one after the other indenting each with a bullet character. To create an unordered list you use [list][/list] and define each item within the list using a new line. For example, to list your favorite colours you could use:

[list]
Red
Blue
Yellow
[/list]

This would generate the following list:

Back to top

Creating an Ordered list

The second type of list, an ordered list gives you control over what is output before each item. To create an ordered list you use [list=I][/list] to create a roman numbered list or alternatively [list=a][/list] for an alphabetical list. As with the unordered list items are specified using a new line. For example:

[list=I]
Go to the shops
Buy a new computer
Swear at computer when it crashes
[/list]

will generate the following:

  1. Go to the shops
  2. Buy a new computer
  3. Swear at computer when it crashes

Whereas for an alphabetical list you would use:

[list=a]
The first possible answer
The second possible answer
The third possible answer
[/list]

giving:

  1. The first possible answer
  2. The second possible answer
  3. The third possible answer

Back to top

Creating Links

Linking to another site

LCE BBCode supports a number of ways of creating URIs, Uniform Resource Indicators better known as URLs.

As with all the BBCode, with the formatting tags it is up to you to ensure the correct open and close order is followed. For example:

[size=1.5][colour=red]the [/colour] cat [b] sat on the [u] mat[/b][/u][/size]

is correct, if however you failed to check the syntax correctly and submit your post, this may lead to your post being deleted so take care.

Back to top

If you experience any problems with the LowCarbonEconomy.com BBCode facility, or would like further help, please don't hesitate to contact us.