1 Date: Sun, 5 Jul 2009 16:45:56 +0000
2 Mime-Version: 1.0 (Produced by PhpWiki 1.3.13)
4 Content-Type: application/x-phpwiki;
5 pagename=Hilfe%2FVorlagePlugin;
9 Content-Transfer-Encoding: binary
13 Vorlage = Parametrische Blöcke.
15 Include text from a wiki page and replace certain placeholders by parameters.
16 Similiar to CreatePage with the template argument, but at run-time.
18 Similiar to the mediawiki templates but not with the "|" parameter seperator.
19 Note: The mediawiki syntax is also supported.
23 <<Template page=Template/Footer>>
25 <<Template page=Template/Film vars="title=SomeFilm&year=1999" >>
27 {{Template/Film|title=SomeFilm|year=1999}}
37 pagename to be included as template
41 optional parameters to be expanded inside the template
43 ==== Parameter expansion:
44 vars="var1=value1&var2=value2"
46 We only support named parameters, not numbered ones as in mediawiki, and
47 the placeholder is %%var%% and not {{~{var~}}} as in mediawiki.
49 The following predefined variables are automatically expanded if existing:
52 mtime - last modified date + time
53 ctime - creation date + time
56 creator - first author
57 SERVER_URL, DATA_PATH, SCRIPT_NAME, PHPWIKI_BASE_URL and BASE_URL
60 <noinclude> .. </noinclude> is stripped
63 * ENABLE_MARKUP_TEMPLATE = true: (lib/InlineParser.php)
64 Support a mediawiki-style syntax extension which maps
66 {{Template/Film|title=Some Good Film|year=1999}}
70 <<Template page=Template/Film vars="title=Some Good Film&year=1999" >>
76 <<Template page=Vorlage/Beispiel vars="title=TestTitle" >>
80 <<Template page=Vorlage/Beispiel vars="title=TestTitle" >>
83 {{Vorlage/Beispiel|title=TestTitel}}
86 PhpWikiDokumentation Hilfe:WikiPlugin