Site was updated to the newest version of PHPbb. Enjoy!

Generating lists

This section will help you with some questions on how to do things on this board
Post Reply
User avatar
pertneer
Site Admin
Site Admin
Posts: 157
Joined: Wed Feb 18, 2009 2:27 pm
Build it or Buy it: Buy It
Contact:

Generating lists

Post by pertneer » Mon Apr 13, 2009 12:04 pm

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 outputs each item in your list sequentially one after the other indenting each with a bullet character. To create an unordered list you use
    and define each item within the list using [*]. For example to list your favourite colours you could use:

    Code: Select all

    [list]
        [*]Red
        [*]Blue
        [*]Yellow
        [/list]
    This would generate the following list:
    • Red
    • Blue
    • Yellow
    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
      to create a numbered list or alternatively
        for an alphabetical list. As with the unordered list, items are specified using [*]. For example:

        Code: Select all

         [list=1]
            [*]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:

        Code: Select all

        [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
        Jeeps do not break
        they present you with opportunities to upgrade!

        Post Reply

        Who is online

        Users browsing this forum: No registered users and 1 guest

        Jeep-Fab.com : Disclaimer