Help On Macros UserPreferences
 
Help Info Print View Search Diffs Edit
 À妽º   Ã£±â   Freeboard   Subjectless   Images   ÃÖ±Ù±Û 

  1. Macros
    1. Search macros
    2. Navigation
    3. System information
    4. Others
  2. Example Display

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?.

Search macros

Macro Description Example
[[TitleSearch]] search the page titles FindPage
[[FullSearch]] search the page contents FindPage
[[FullSearch()]] search for the current title in all pages (like clicking on the page title) CategoryCategory?
[[FullSearch('text')]] search for "text" in all pages Search for FullSearch:
  1. ¸ÅÅ©·Î . . . . 7 matches
  2. HelpOnMacros . . . . 6 matches
  3. FindPage . . . . 1 match
  4. IndexingScheme . . . . 1 match
  5. ±ÛºÐ·ù . . . . 1 match
  6. ±âŸºÐ·ù . . . . 1 match
  7. ¸¸È­ºÐ·ù . . . . 1 match
  8. »ýÈ°ºÐ·ù . . . . 1 match
  9. ¿©ÇàºÐ·ù . . . . 1 match
  10. À§Å°À§Å°ºÐ·ù . . . . 1 match
  11. À½¾ÇºÐ·ù . . . . 1 match
  12. ÀϱâºÐ·ù . . . . 1 match
  13. Àھƺзù . . . . 1 match
  14. ÄÄÇ»Åͺзù . . . . 1 match
  15. ÇÁ·Î±×·¡¹ÖºÐ·ù . . . . 1 match
[[GoTo]] directly go to the page you enter FindPage
[[PageList(regex)]] list of pages whose title matches the regex HelpIndex?

Navigation

Macro Description Example
[[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 RecentMusics2004
[[RandomPage(#)]] links to a number of random pages Two random pages:
[[TableOfContents]] display a local table of contents see below

System information

Macro Description Example
[[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 334 pages

Others

Macro Description Example
[[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

[goto HelloWorld]?

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:

PythonPowered EditText of this page (last modified 2003-02-13 15:24:24)
FindPage by browsing, searching, or an index
Or try one of these actions: DeletePage, DeleteUploadedFile, LikePages, SpellCheck, UploadFile