Warning: Undefined array key "LinkedResourceExtras" in /usr/local/www/pmwiki/cookbook/sourceblock.php on line 335 Warning: Trying to access array offset on null in /usr/local/www/pmwiki/cookbook/sourceblock.php on line 335 Deprecated: Function strftime() is deprecated in /usr/local/www/pmwiki/cookbook/totalcounter.php on line 195 Warning: Undefined array key "HTTP_REFERER" in /usr/local/www/pmwiki/cookbook/totalcounter.php on line 394 Deprecated: preg_match(): Passing null to parameter #2 ($subject) of type string is deprecated in /usr/local/www/pmwiki/cookbook/totalcounter.php on line 394 Warning: Undefined array key 2 in /usr/local/www/pmwiki/cookbook/totalcounter.php on line 395 Warning: Undefined array key 2 in /usr/local/www/pmwiki/cookbook/totalcounter.php on line 397 Warning: Undefined variable $loc in /usr/local/www/pmwiki/cookbook/totalcounter.php on line 424 Warning: Undefined variable $TotalCounterEnableGeoIP in /usr/local/www/pmwiki/cookbook/totalcounter.php on line 437 Warning: Undefined array key "TotalCounterMaxItems" in /usr/local/www/pmwiki/cookbook/totalcounter.php on line 584 ollopa's BASCOM SWUSB | PmWiki / ListStyles
Recent Changes - Search:

SWUSB.LBX

Examples

edit SideBar

ListStyles

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.

Edit - History - Print - Recent Changes - Search
Page last modified on March 02, 2022, at 05:57 pm