Home Site Map Logout

Share

Index > Generating lists

Generating lists

Creating an Un-ordered 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 favorite colors you could use:



    This would generate the following list:

    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=1] to create a numbered list or alternatively [list=a] for an alphabetical list. As with the unordered list items are specified using

  • . For example:

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


    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


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

    Index > Generating lists

    Share

     

    Loading

     

  • Join Now, it's Free!