Page History
...
A hierarchy of small wiki pages is easier to maintain than one large wiki page with sections. However, if you want to divide your content into sections within a single wiki page, consider using numbered headings.Â
The numbered headings plugin provides the numberedheadings Numbered Headings macro, which makes it possible to number the headings on a page. The following numbered headings are created with the macro. These headings on the page must start at level one.
The markup is:
...
.
...
The following parameters are available, used in the format {numberedheadings:parameter=value}.
- number-format= any of the formats that follow:
- decimal (default) - 1, 2, 3, 4, etc.
- full-decimal - one, two, three, four, etc.
- lower-latin - a, b, c, d, etc.
- lower-roman - i, ii, iii, iv, etc.
- lower-greek - ?, ?, ?, ?, etc.
- upper-latin - A, B, C, D, etc.
- upper-roman - I, II, III, IV, etc.
- upper-greek - ?, ?, ?, ?, etc.
- custom - refer to the documentation
- start-numbering-at= the desired heading level
- start-numbering-with= the desired integer
To embed the page title at level one and use the numberedheadings macro, use the toc-zone macro. The general form is:
Code Block |
---|
{toc-zone:type:=[list,flat]|maxLevel=1}
Content in the zone, including other macros and page content.
{toc-zone} |
The zone starts after the embedded page title.
The following numbered headings are created with the macro.
Info |
---|
To embed the page title at heading level one
|
Wiki Markup |
{scrollbar:icons=false} |