1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.
  2. Our Donation Service is back after a brief absence to fix the payment service. Please give it a try! Donate

Writing articles List example

Examples of different types of lists.

Numbered list example:

The following is a list:
[list=1]
[*]List item.
[*]This list item has 2 paragraphs.
Just about any text (including codes) can be inserted into a list item.
[*]And a third item.
[/list]
This code produces the following list:

The following is a list:
  1. List item.
  2. This list item has 2 paragraphs.
    Just about any text (including codes) can be inserted into a list item.
  3. And a third item.

Lettered list example:

The following is a list:
[list=a]
[*]List item.
[*]This list item has 2 paragraphs.
Just about any text (including codes) can be inserted into a list item.
[*]And a third item.
[/list]
This code produces the following list:

The following is a list:
  • List item.
  • This list item has 2 paragraphs.
    Just about any text (including codes) can be inserted into a list item.
  • And a third item.

Bulleted list example:

The following is a list:
[list]
[*]List item.
[*]This list item has 2 paragraphs.
Just about any text (including codes) can be inserted into a list item.
[*]And a third item.
[/list]
This code produces the following list:

The following is a list:
  • List item.
  • This list item has 2 paragraphs.
    Just about any text (including codes) can be inserted into a list item.
  • And a third item.


Note that the bulleted list is not indented and often you will want to use [indent] with it.

Other enumerator examples:

Enumeration sets supported are Arabic (1), lower case Latin (a), upper case Latin (A), lower case Roman (i) and upper case Roman (I). In each of the following lists the first item gives the
[list]
code used to generate it:



  • [list=A]
  • Second
blank line

  • [list=i]
  • Second
blank line

  • [list=I]
  • Second

For Arabic number enumeration any number will do, for example
[list=5]
produces the same list. All other enumeration selections require the first value in the enumeration set.

Nested lists:

Lists can be put inside lists, as in the following example:
The following is a list:
[list=1]
[*]List item.
[*]This list item has a list within it.
[list=a]
[*]Just about any text (including codes) can be inserted into a list item,
[*]including[indent]indented text[/indent]as here.
[/list]
[*]And a third item.
[/list]
This code produces the following list:

The following is a list:
  1. List item.
  2. This list item has a list within it.
    • Just about any text (including codes) can be inserted into a list item,
    • including
      indented text​
      as here.
  3. And a third item.
Categories: Category Tutorials

This page has been seen 2,255 times.

Current Discussion: Main discussion

  1. No comments have been posted for this discussion.