BBCode supports two types of lists, unordered and ordered. An unordered list outputs each item in your list sequentially one after the other, indenting each with or without a bullet character.
To create an unordered list without bullet characters, use this code:
Code: Select all
[list]First item[/list]
[list]Second item[/list]
[list]Third item[/list]
This would generate the following list.
To create a list with bullet characters, use this code:
Code: Select all
[list]
[*]First item
[*]Second item
[*]Third item[/list]
This would generate the following list:
- First item
- Second item
- Third item
You can also create a series of lists with sub-lists, as shown here:
Code: Select all
[list][*]First item
[list][*]First item A
[*]First item B[/list]
[*]Second item
[list][*]Second item A
[list][*]Second item AB[/list]
[*]Second item B[/list]
[*]Third item[/list]
This would generate the following list:
- First item
- First item A
- First item B
- Second item
- Second item A
- Second item B
- Third item
The second type of list, an ordered list, gives you control over what is output before each item. To create an ordered numbered list you use
Code: Select all
[list=1]
[*]Go to the shops
[*]Buy a new computer
[*]Swear at computer when it crashes
[/list]
Which gives you the following:
- Go to the shops
- Buy a new computer
- Swear at computer when it crashes
Whereas for an alphabetical list you would use:
Code: Select all
[list=A]
[*]The first possible answer
[*]The second possible answer
[*]The third possible answer
[/list]
Which gives you this:
- The first possible answer
- The second possible answer
- The third possible answer
You can also use a combination of numbered and alphabetical lists for sub-lists:
Code: Select all
[list=1]
[*]Go to the shops
[list=A][*]Micro Center
[list=1][*]Georgia
[*]Alabama[/list]
[*]Best Buy[/list]
[*]Buy a new computer
[*]Swear at computer when it crashes
[/list]
Which gives you this:
- Go to the shops
- Micro Center
- Georgia
- Alabama
- Best Buy
- Buy a new computer
- Swear at computer when it crashes
You can also use lower case letters instead of upper case.
You can also use Roman Numerals.
Code: Select all
[list=I]
[*]Go to the shops
[*]Buy a new computer
[*]Swear at computer when it crashes
[/list]
Which gives you this:
- Go to the shops
- Buy a new computer
- Swear at computer when it crashes
And a combination of all 3.
Code: Select all
[list=1]
[*]Go to the shops
[list=A][*]Micro Center
[list=I][*]Georgia
[*]Alabama[/list]
[*]Best Buy[/list]
[*]Buy a new computer
[*]Swear at computer when it crashes
[/list]
Which gives you this:
- Go to the shops
- Micro Center
- Georgia
- Alabama
- Best Buy
- Buy a new computer
- Swear at computer when it crashes
Want to get really crazy with lists?
Code: Select all
[list=1]
[*]Go to the shops
[list=A][*]Micro Center
[list=I][*]Georgia
[*]Alabama[/list]
[*]Best Buy[/list]
[*]Buy a new computer
[list=A][*]Dell
[list=I][*]Laptop
[list][*]Win 8.1
[list=a][*]Home
[*]Professional[/list]
[*]Win 10[/list]
[*]Desktop[/list]
[*]HP[/list]
[*]Swear at computer when it crashes[/list]
Which gives you this:
- Go to the shops
- Micro Center
- Georgia
- Alabama
- Best Buy
- Buy a new computer
- Dell
- Laptop
- Win 8.1
- Home
- Professional
- Win 10
- Desktop
- HP
- Swear at computer when it crashes
As you can see you can use any number of combinations of unordered and ordered (numbered, alphabetical, Roman Numerals) list to create as deep a set of lists as you need.