1 Date: Fri, 10 Sep 2010 13:48:42 +0000
2 Mime-Version: 1.0 (Produced by PhpWiki 1.4.0)
3 Content-Type: application/x-phpwiki;
4 pagename=Hilfe%2FVorlagePlugin;
8 Content-Transfer-Encoding: binary
12 Vorlage = Parametrische Blöcke.
14 Include text from a wiki page and replace certain placeholders by parameters.
15 Similiar to CreatePage with the template argument, but at run-time.
17 Similiar to the mediawiki templates but not with the "|" parameter seperator.
18 Note: The mediawiki syntax is also supported.
22 <<Template page=Template/Footer>>
24 <<Template page=Template/Film vars="title=SomeFilm&year=1999" >>
26 {{Template/Film|title=SomeFilm|year=1999}}
36 pagename to be included as template
40 optional parameters to be expanded inside the template
42 ==== Parameter expansion:
43 vars="var1=value1&var2=value2"
45 We only support named parameters, not numbered ones as in mediawiki, and
46 the placeholder is %%var%% and not {{~{var~}}} as in mediawiki.
48 The following predefined variables are automatically expanded if existing:
51 mtime - last modified date + time
52 ctime - creation date + time
55 creator - first author
56 SERVER_URL, DATA_PATH, SCRIPT_NAME, PHPWIKI_BASE_URL and BASE_URL
59 <noinclude> .. </noinclude> is stripped
62 Support a mediawiki-style syntax extension which maps
64 {{Template/Film|title=Some Good Film|year=1999}}
68 <<Template page=Template/Film vars="title=Some Good Film&year=1999" >>
74 <<Template page=Vorlage/Beispiel vars="title=TestTitle" >>
78 <<Template page=Vorlage/Beispiel vars="title=TestTitle" >>
81 {{Vorlage/Beispiel|title=TestTitel}}
84 [[PhpWikiDokumentation]] [[KategorieWikiPlugin]]