]> git.vanrenterghem.biz Git - git.ikiwiki.info.git/blob - basewiki/preprocessordirective.mdwn
web commit by FaidonLiambotis: Add HTML Tidy plugin to patchqueue
[git.ikiwiki.info.git] / basewiki / preprocessordirective.mdwn
1 Preprocessor directives are similar to a [[WikiLink]] in form, except they
2 contain spaces and parameters. The general form is:
4 \\[[directive param="value" param="value"]]
6 This gets expanded before the rest of the page is processed, and can be used
7 to transform the page in various ways.
9 The quotes around values can be omitted if the value is a simple word.
10 Also, some directives may use parameters without values, for example:
12 \\[[tag foo]]
14 Note that if a preprocessor directive has no parameters, a space still must
15 be put after its name, to avoid confusion with a [[WikiLink]]. For example:
17 \\[[pagecount ]]