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;
7 Content-Transfer-Encoding: binary
11 Vorlage = Parametrische Blöcke.
13 Include text from a wiki page and replace certain placeholders by parameters.
14 Similiar to CreatePage with the template argument, but at run-time.
16 Similiar to the mediawiki templates but not with the "|" parameter seperator.
17 Note: The mediawiki syntax is also supported.
21 <<Template page=Template/Footer>>
23 <<Template page=Template/Film vars="title=SomeFilm&year=1999" >>
25 {{Template/Film|title=SomeFilm|year=1999}}
35 pagename to be included as template
39 optional parameters to be expanded inside the template
41 ==== Parameter expansion:
42 vars="var1=value1&var2=value2"
44 We only support named parameters, not numbered ones as in mediawiki, and
45 the placeholder is %%var%% and not {{~{var~}}} as in mediawiki.
47 The following predefined variables are automatically expanded if existing:
50 mtime - last modified date + time
51 ctime - creation date + time
54 creator - first author
55 SERVER_URL, DATA_PATH, SCRIPT_NAME, PHPWIKI_BASE_URL and BASE_URL
58 <noinclude> .. </noinclude> is stripped
61 Support a mediawiki-style syntax extension which maps
63 {{Template/Film|title=Some Good Film|year=1999}}
67 <<Template page=Template/Film vars="title=Some Good Film&year=1999" >>
73 <<Template page=Vorlage/Beispiel vars="title=TestTitle" >>
77 <<Template page=Vorlage/Beispiel vars="title=TestTitle" >>
80 {{Vorlage/Beispiel|title=TestTitel}}
83 [[PhpWikiDokumentation]] [[KategorieWikiPlugin]]