Changements récents - Rechercher:

Espace Wiki ∂'Alembert
Documentation générale


Espace Guide de survie du SysAdmin
Documentation technique


Espace Guide de survie du Développeur
Pour les développeurs


Espace Institut ∂’Alembert
L'institut


Le Site
À propos du Site
Liste complète des Pages


Aide PmWikiFr

Help PmWiki

PmWiki /

ListStyles

Page mise à jour le 03/03/2022 01:57

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.

À propos du site • Licence Creative Commons • Cooked with love in 2014-2023 by pcht
Page mise à jour le 03/03/2022 01:57