SiteIndex
A macro for getting an overview of the site, listing all the wiki pages. It works like TitleIndex, but it does not separate the pages by letter, and system pages can be listed separately. You can use this macro to build a personal index page for your wiki site.
Python versions - 2.5+
Moin versions - 1.8, 1.9
Copyright - RenatoSilva
License - GNU GPL version 2
Download - Latest version 2014.4.29
SHA256 checksum - e6b480d430f1ab52fd0fd8f7a48ae3a987bb2a406d60c011f0d853a69677f36c
Parameters
Name |
Description |
Default value |
system_pages |
Show system pages. |
False |
regular_pages |
Show normal pages. |
True |
subpages |
Show subpages. When false, only root pages will be listed. |
True |
count |
Count subpages when subpages is false. |
False |
spaces |
Separate wiki names by space. |
True |
max_name |
Max page name length. You may want to set this when spaces parameter is false. |
0 (no limit) |
Example
= Pages in this wiki = ||'''Regular pages'''||'''All regular pages'''|| ||<<SiteIndex(count=True,subpages=False)>>||<<SiteIndex>>|| ||'''System pages'''||'''All system pages'''|| ||<<SiteIndex(count=True,subpages=False,system_pages=True,regular_pages=False)>>||<<SiteIndex(system_pages=True,regular_pages=False)>>||