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 view "Raw Text" of pages like RecentChanges or TitleIndex, you'll see what that means.
For an extended macro list see HelpOnMacros on the MoinMoin website
Search macros
Macro |
Description |
|
[[FullSearch()]] |
||
print a list of pages whose content matches the current page title (like clicking on the page title) |
|
|
[[FullSearch(text)]] |
||
print a list of pages whose content matches the search term |
|
|
[[FullSearchCached(text)]] |
||
Works like the FullSearch macro but caches the results statically. Use it if you prefer speed over an up-to-date result |
|
|
[[PageList(text)]] |
||
print a list of pages whose title matches the search term |
|
|
Navigation
Macro |
Description |
Example |
[[TableOfContents([maxdepth])]] |
||
display a local table of contents, possibly limited to a maximal depth |
see TutorialBasic1 |
|
[[Anchor(anchorname)]] |
||
macro to insert anchors into a page |
#here |
|
[[Navigation(children[,maxdepth])]] |
||
macro to list all of a pages' children |
|
|
[[Navigation(siblings[,maxdepth])]] |
||
quick navigation to siblings of a page |
|
|
[[Navigation(slideshow)]] |
||
creates a link to toggle between slide show and wiki mode, and a link to start the slide show |
See ../BasicIntroduction and HelpOnSlideShows] |
|
[[Navigation(slides)]] |
||
displays first/prev/next/last links |
||
[[AttachList]] |
||
displays list of attachments for current page |
||
[[AttachList(page)]] |
||
displays list of attachments for page |
||
Others
Macro |
Description |
Example |
[[ImageLink(image,target[,width=width[,height=height]][,alt=alttag])]] |
||
This macro is used to make a link that displays an image (can be given as either attachment or URL) and links to either an URL or a wiki page. Optionally the size of the image can be adjusted. If no target is given the link will point to the image itself. |
![]() |
|
[[BR]] |
||
insert a line break |
1st line |
|
[[Include(HelloWorld[,"heading"[,level]])]] |
||
include contents of another page |
for details see HelpOnMacros/Include |
|
[[FootNote(text)]] |
||
Add a footnote1, or explicitely display collected footnotes when no args are given |
See below for an example. |
|
[[MailTo(user AT SPAMFREE example DOT com)]] |
||
protect your email address from spam bots |
<user AT SPAMFREE example DOT com> | |
1 the text cannot contain any wiki markup

