PmWiki

List Styles

See also Wiki styles, Cookbook:WikiStylesPlus?

As well as the ordinary ordered (numbered) and unordered lists it is possible to use the styles %ROMAN%, %roman%, %ALPHA%, and %alpha%. The style is used in the first element of an ordered list, for example:

# %ROMAN% Top level
## %ALPHA% Second level
## Second level
## Second level
### Third level
### Third level
## Second level
### Third level
#### %alpha% Fourth level
##### %roman% Fifth level
##### Fifth level
#### Fourth level
# Top level
# Top level
  1. Top level
    1. Second level
    2. Second level
    3. Second level
      1. Third level
      2. Third level
    4. Second level
      1. Third level
        1. Fourth level
          1. Fifth level
          2. Fifth level
        2. Fourth level
  2. Top level
  3. Top level

If you wish to start a numbered (ordered) list at an arbitrary starting value, use the value style, for example:

# %item value=2517% Top level
## %ROMAN% Second level
## Second level
## Second level
### Third level
### Third level
## Second level
### Third level
#### %alpha% Fourth level
##### %roman% Fifth level
##### Fifth level
#### Fourth level
# Top level
# Top level
  1. Top level
    1. Second level
    2. Second level
    3. Second level
      1. Third level
      2. Third level
    4. Second level
      1. Third level
        1. Fourth level
          1. Fifth level
          2. Fifth level
        2. Fourth level
  2. Top level
  3. Top level

For an alternative to the manual %item value=...% wikistyle, see Cookbook:ListResume for how to automatically resume related lists.

If you want to force a list to end, in order to start another list, so that you have separate html OL/UL lists use the escape sequence:

# Item 1
# Item 2
[==]
# Item 1
[==]
# Item 1
  1. Item 1
  2. Item 2

  1. Item 1

  1. Item 1


This page may have a more recent version on pmwiki.org: PmWiki:ListStyles?, and a talk page: PmWiki:ListStyles-Talk?.