Page 1 of 1

Creating Ordered And Unordered Lists In Forum Posts

Posted: Fri Jan 20, 2012 8:19 pm
by Alan Kirk
One of the least-well-understood features in phpBB sites such as this one is how to create a list of items. (Possibly because it's not exceptionally intuitive.) This post is intended to be used as a crib for when you need to do so.

To begin, if you want a standard bullet point list (known as an unordered list in HTML), click on the button in the post editor that reads

Code: Select all

[List]
This will put the template code

Code: Select all

[list][/list]
into your post. Put your cursor in between the two tags and press your [Enter] key to create a new line. For each point in your list, insert an item marker using the following button:

Code: Select all

[*]
The result should look something like this in the post editing window:

Code: Select all

[list]
[*]First Item.
[*]Second item.
[/list]
Which will look like this in the post:
  • First Item.
  • Second item.
If you want to nest lists within lists, just repeat the List tag block where you would otherwise have an Item. For example:

Code: Select all

[list]
[*]First Item.
[list]
[*]First Sub Item of First Item.
[*]Second Sub Item of First item.
[/list]
[*]Second item.
[/list]
will yield:
  • First Item.
    • First Sub Item of First Item.
    • Second Sub Item of First item.
  • Second item.
If you want a numbered list (ordered list in HTML), then instead of using the

Code: Select all

[List]
button, use the

Code: Select all

[List=]
button and put the number after the = sign. For example,

Code: Select all

[list=1]
[*]First Item.
[list=1]
[*]First Sub Item of First Item.
[*]Second Sub Item of First item.
[/list]
[*]Second item.
[/list]
will yield:
  1. First Item.
    1. First Sub Item of First Item.
    2. Second Sub Item of First item.
  2. Second item.
(Unfortunately I'm not aware of a format that's supports indented ordered lists like 1.1, etc.)

Alternatively you can use a to have an ordered list using lower case letters (do not put the a in quote marks)

Code: Select all

[list=a]
[*]First Item.
[*]Second item.[/list]
  1. First Item.
  2. Second item.
A for upper case letters
  1. First Item.
  2. Second item.
I for upper case Roman numerals or i for lower case Roman numerals:
  1. First Item.
  2. Second item.
  1. First Item.
  2. Second item.
Note that each list will add a carriage return after it, so if you don't want to double space your posts continue the next line immediately after you close the List block.