Blame

839816 Ralph Thesen 2026-08-30 14:33:51
Add PageIndex example page
1
# PageIndex
2
3
[PageIndex Documentation](/-/help/plugins#pageindex)
4
5
The `{{PageIndex}}` embedding lists the pages below the current page. This
6
example page has three subpages (*Giant Otter*, *River Otter*, *Sea Otter*),
7
so the instances below all list those.
8
9
## Default, letter-grouped
10
11
```
12
{{PageIndex}}
13
```
14
15
{{PageIndex}}
16
17
## As a plain list, with page headings
18
19
`style=list` renders an unordered list instead of the letter-grouped layout,
20
and `toc=true` nests each page's headings underneath it.
21
22
```
23
{{PageIndex|style=list|toc=true}}
24
```
25
26
{{PageIndex|style=list|toc=true}}
27
28
## Filtered by a glob pattern
29
30
`src` filters the listed pages by title. Here only the pages ending in
31
*Otter* that start with *S* are kept.
32
33
```
34
{{PageIndex|src=S* Otter}}
35
```
36
37
{{PageIndex|src=S* Otter}}
38
39
See the [PageIndex documentation](/-/help/plugins#pageindex) for `toggle` and
40
the remaining options.