GMS NOC Docs   HelpOnMacros UserPreferences
 
Help Search Diffs Info Edit Subscribe Print View
 GMS NOC Docs   FrontPage   RecentChanges   TitleIndex   Help 

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

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.

Search macros

MacroDescriptionExample
[[TitleSearch]] search the page titles FindPage
[[FullSearch]] search the page contents FindPage
[[FullSearch('text')]] search for "text" in all pages Search for FullSearch:
  1. HelpOnMacros . . . . 5 matches
  2. IndexingScheme . . . . 1 match
  3. FrontPage . . . . 1 match
  4. FindPage . . . . 1 match
  5. CategoryCategory . . . . 1 match
[[GoTo]] directly go to the page you enter FindPage
[[PageList(regex)]] list of pages whose title matches the regex HelpIndex

Navigation

MacroDescriptionExample
[[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 UPS line reset
[[RandomPage(#)]] links to a number of random pages Two random pages:
[[TableOfContents]] display a local table of contents see below

System information

MacroDescriptionExample
[[PageCount]] current page count 130 pages

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 [goto HelloWorld]

PythonPowered EditText of this page (last modified 2003-07-16 20:53:27)
FindPage by title search or text search