##master-page:None
##master-date:None
#acl -All:write Default
#format wiki
#language en
= 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 and HelpOnMoinWikiSyntax.
== Search macros ==
MoinMoin now uses a new search engine, that lets your make sophisticated searches using both the interactive search box or any of the search macros. For more help, see HelpOnSearching.
|| '''Macro''' || '''Description''' ||
||{{{<>}}}||<75% style="margin: 10px; vertical-align: top;"> create an advanced search dialogue on the page. See FindPage. ||
||{{{<>}}}|| create a search box on the page, which search the page titles. See FindPage. ||
||{{{<>}}}|| create a search box on the page, which search the page contents.See FindPage. ||
||{{{<>}}}|| print a list of pages whose content matches the current page title (like clicking on the page title). See CategoryCategory for example ||
||{{{<>}}}|| print a list of pages whose content matches the search term. ||
||{{{<>}}}|| Works like the {{{FullSearch}}} macro but caches the results statically. Use it if you prefer speed over an up-to-date result. ||
||{{{<>}}}|| directly go to the page you enter. See FindPage. ||
||{{{<>}}}|| print a list of pages whose title matches the search term. See HelpIndex. ||
== Navigation macros ==
|| '''Macro''' || '''Description''' ||
|| {{{<>}}} || a list of recently edited pages. See RecentChanges ||
|| {{{<>}}} || an index of all page titles. See TitleIndex ||
|| {{{<>}}} || an index of all words in page titles. See WordIndex ||
|| {{{<>}}} || list links to non-existent pages. See WantedPages ||
|| {{{<>}}} || list pages no other page links to. See OrphanedPages ||
|| {{{<>}}} || list pages that were not edited for the longest time. See AbandonedPages ||
|| {{{<>}}} || inserts a link to a random page. ||
|| {{{<>}}} || links to a number of random pages. ||
|| {{{<>}}} || display a local table of contents, possibly limited to a maximal depth. ||
|| {{{<>}}} || macro to insert anchors into a page. ||
|| {{{<>}}} || macro to list all of a pages' children. See start of this page for sample. ||
|| {{{<>}}} || quick navigation to siblings of a page. See /MailTo for sample. ||
|| {{{<>}}} || creates a link to toggle between slide show and wiki mode, and a link to start the slide show. See HelpOnSlideShows ||
|| {{{<>}}} || displays first/prev/next/last links. See HelpOnSlideShows ||
|| {{{<>}}} ||displays number of attachments for current page. See HelpOnActions/AttachFile ||
|| {{{<>}}} || displays number of attachments for page. See HelpOnActions/AttachFile ||
|| {{{<>}}} || displays list of attachments. See HelpOnActions/AttachFile ||
== System Information macros ==
|| '''Macro''' || '''Description''' ||
||{{{<>}}}|| a counter for page hits {{{<>}}} ||
||{{{<>}}}|| a list of all known InterWiki names.||
||{{{<>}}}|| info on the wiki, the python interpreter and the host system. ||
||{{{<>}}}||current page count. If {{{exists}}} is supplied as an argument, only existing pages will be shown. ||
||{{{<>}}}|| list the sizes of all pages. See PageSize ||
||{{{<>}}}|| shows statistical charts (currently defined types: hitcounts, pagesize, useragents, languages). See EventStats and subpages ||
||{{{<>}}}|| Information for system administrators, see SystemAdmin. ''You need to be superuser to use this macro.'' ||
||{{{<>}}}|| A list of system pages that were modified. ||
||{{{<>}}}|| Shows wiki configuration settings which are either non-default or unknown. ''You need to be superuser to use this macro.'' ||
||{{{<>}}}|| Shows all wiki configuration settings with descriptions. ||
||{{{<>}}}|| List available Pygments lexers. See MoinMoin:MacroMarket/HighlighterList for additional information. ||
== Others ==
|| '''Macro'''||'''Description''' ||
||{{{<>}}}||links to page with valid action, optional text could be used as alias. (action names are case sensitive). Example: `<>` will generate <>||
||{{{<>}}}||display system icons. See HelpOnNavigation ||
||{{{<>}}}|| insert a line break. ||
||{{{<>}}} || Select a random quote from the given page, or from {{{FortuneCookies}}} if omitted. ||
||{{{<>}}} || include contents of another page. See [[/Include]] ||
||{{{<>}}}|| Add a footnote<>, or explicitly display collected footnotes when no args are given. ||
||{{{<>}}}|| display a timestamp according to system settings, in the style of <> ||
||{{{<>}}}|| display a timestamp<> according to user settings, in the style of <> ||
||{{{<>}}}|| ~-(mainly intended for use on Help pages)-~ Loads I18N texts. Example: "Edit``Text" is translated to "<>" ||
||{{{<>}}}|| ~-(mainly intended for use on Help pages or in generated output on wiki pages)-~ loads I18N texts and replaces `%s` in the message by the arguments. The first character of the argument is used as the separator (in this example: a comma). You can escape the separator by using a backslash. Example: "`<>`" yields "<>". For named placeholders, use "key=value" argument syntax, for example, "`<>`" yields "<>". ||
||{{{<>}}}|| useful for intranet developer wikis, a means to view pydoc documentation, formatted via a XSLT stylesheet. See http://twistedmatrix.com/wiki/python/TeudProject ||
||{{{<>}}}|| protect your email address from spam bots. See /MailTo ||
||{{{<>}}}|| Allow the user to create (sub-)pages easily, using the page {{{PageTemplate}}} as the template for the new page and the string {{{NameTemplate}}} as a template for the name.<> `@ME` is used if you want the page created below the users homepage. `@SELF` is used to create a subpage below the page where it is called from. ||
||{{{<>}}}|| Retrieve dictionary entries from dict pages. Example: If you have a page called GermanDict which contains the entry ''Test'', you should see the translation here: <> ||
||{{{<>}}}|| Displays a Calendar and creates link for entries to each day on subpages. See /MonthCalendar ||
<>