MoniWikiHelp On Macros
Login:
Password:
´ë¹®|ã±â|¹Ù²ï±Û|¸ñ·Ï|¸Þ¸ðÀå|Ã¥°¥ÇÇ|¿¬²É|¸µÅ©
Edit Diff Reload Search Print Info Mail Help RSS

1 Macros
1.1 Search macros
1.2 Navigation
1.3 System information
1.4 Others
2 Example Display
3 Macro List


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 Çë°¡¸®¾ÈÇ¥±â¹ý
[[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 323 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 [[Include(HelloWorld)]]

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 4.4.7 (Linux ktweb-147 2.6.32-754.35.1.el6.i686 #1 SMP Sat Nov 7 13:07:51 UTC 2020 i686)
MoniWiki Version Release 1.0.7 [Revision: 1.133 ]
Apache Version Apache
Number of Pages 323

3 Macro List #



November, 2024
 12
3456789
10111213141516
17181920212223
24252627282930

"Say it, don't spray it!"

HelpOnProcessingInstructions
½Å¿ë_Information
CategoryCategory
Ã¥°¥ÇÇ_TheOneMinuteManager
last modified 2004-05-22 11:18:51
°íÄ¡±â|ã±â|ÂÊ Áö¿ì±â|ºñ½ÁÇÑ ÂÊ Valid XHTML 1.0! Valid CSS! powerd by MoniWiki
0.0378 sec