FrontPage HelpOnMacros


1. Macros

Macros allow the insertion of system features into normal wiki pages; the only thing that makes those pages special is that they contain macros. If you edit pages like RecentChanges or SystemInfo, you'll see what that means.

For more information on the possible markup, see HelpOnEditing.

1.1. Search macros

MacroDescriptionExample
[[TitleSearch]] search the page titles FindPage
[[FullSearch]] search the page contents FindPage
[[GoTo]] directly go to the page you enter FindPage
[[PageList(regex)]] list of pages whose title matches the regex HelpIndex

1.2. Navigation

MacroDescriptionExample
[[RecentChanges]] a list of recently edited pages RecentChanges
[[TitleIndex]] an index of all page titles TitleIndex
[[WordIndex]] an index of all words in page titles WordIndex
[[RandomPage]] a link to a random page Advertisement
[[RandomPage(#)]] links to a number of random pages
[[TableOfContents]] display a local table of contents see below

1.3. System information

MacroDescriptionExample
[[InterWiki]] a list of all known InterWiki names InterWiki
[[SystemInfo]] info on the wiki, the python interpreter and the host system SystemInfo
[[PageCount]] current page count 1044 pages

1.4. Others

MacroDescriptionExample
[[Icon(image)]] display system icons HelpOnNavigation
[[UserPreferences]] display a user preferences dialog UserPreferences
[[BR]] insert a line break 1st line
2nd line
[[Include(HelloWorld[,heading[,level]])]] include contents of another page
The famous words in programming.

2. Example Display

We don't show examples for all macros here, because that would make this page quite long. Here is is the replacement text for the [[SystemInfo]] macro:
PHP Version 7.4.9 (Linux 222-239-78-155 4.4.0-210-generic #242-Ubuntu SMP Fri Apr 16 09:57:56 UTC 2021 x86_64)
MoniWiki Version Release 1.2.3 [Revision: 1.1120 ]
HTTP Server Version Apache/2.4.18
Number of Pages 1044



Valid XHTML 1.0! Valid CSS! powered by MoniWiki
last modified 2012-05-08 14:46:16
Processing time 0.0133 sec