]> git.vanrenterghem.biz Git - git.ikiwiki.info.git/blob - po/underlays/directives/ikiwiki/directive/template.de.po
Updated German basewiki and directives translation from Sebastian Kuhnert.
[git.ikiwiki.info.git] / po / underlays / directives / ikiwiki / directive / template.de.po
1 # German translation of directives/ikiwiki/directive/template page for ikiwiki.
2 # Copyright © 2010 Sebastian Kuhnert <mail@sebastian-kuhnert.de>
3 # Redistribution and use in source and compiled forms, with or without
4 # modification, are permitted under any circumstances. No warranty.
5 msgid ""
6 msgstr ""
7 "POT-Creation-Date: 2010-07-18 22:29+0000\n"
8 "PO-Revision-Date: 2017-12-21 23:32+0100\n"
9 "Last-Translator: Sebastian Kuhnert <mail@sebastian-kuhnert.de>\n"
10 "Language-Team: None\n"
11 "Language: de\n"
12 "MIME-Version: 1.0\n"
13 "Content-Type: text/plain; charset=UTF-8\n"
14 "Content-Transfer-Encoding: 8bit\n"
15 "Plural-Forms: nplurals=2; plural=n != 1;\n"
17 #. type: Plain text
18 msgid ""
19 "The `template` directive is supplied by the [[!iki plugins/template "
20 "desc=template]] plugin."
21 msgstr ""
22 "Die `template`-Anweisung wird durch die [[!iki plugins/template "
23 "desc=template]]-Erweiterung bereitgestellt."
25 #. type: Plain text
26 msgid ""
27 "The template directive allows wiki pages to be used as templates.  These "
28 "templates can be filled out and inserted into other pages in the wiki using "
29 "the directive. The [[templates]] page lists templates that can be used with "
30 "this directive."
31 msgstr ""
32 "Die `template`-Anweisung erlaubt es, Wiki-Seiten als Vorlagen zu verwenden.\n"
33 "Diese Vorlagen können mit dieser Anweisung in anderen Seiten verwendet und\n"
34 "ausgefüllt werden. Auf der [[Vorlagen|templates]]-Seite werden die Vorlagen\n"
35 "aufgelistet, die mit dieser Anweisung verwendet werden können."
37 #. type: Plain text
38 msgid ""
39 "The directive has an `id` parameter that identifies the template to use. The "
40 "remaining parameters are used to fill out the template."
41 msgstr ""
42 "Die Anweisung nutzt den Parameter `id`, um die zu verwendende Vorlage\n"
43 "auszuwählen. Die übrigen Parameter werden verwendet, um die Vorlage auszufüllen."
45 #. type: Title ##
46 #, no-wrap
47 msgid "Example"
48 msgstr "Beispiel"
50 #. type: Plain text
51 #, no-wrap
52 msgid "\t\\[[!template id=note text=\"\"\"Here is the text to insert into my note.\"\"\"]]\n"
53 msgstr "\t\\[[!template id=note text=\"\"\"Hier ist der Text, der in meine Notiz eingefügt werden soll.\"\"\"]]\n"
55 #. type: Plain text
56 msgid ""
57 "This fills out the `note` template, filling in the `text` field with the "
58 "specified value, and inserts the result into the page."
59 msgstr ""
60 "Dies füllt die Vorlage `note` aus, wobei das Feld `text` mit dem angegebenen "
61 "Wert gefüllt wird, und fügt das Ergebnis in die Seite ein."
63 #. type: Title ##
64 #, no-wrap
65 msgid "Using a template"
66 msgstr "Eine Vorlage verwenden"
68 #. type: Plain text
69 msgid ""
70 "Generally, a value can include any markup that would be allowed in the wiki "
71 "page outside the template. Triple-quoting the value even allows quotes to be "
72 "included in it. Combined with multi-line quoted values, this allows for "
73 "large chunks of marked up text to be embedded into a template:"
74 msgstr ""
75 "Ein Wert kann im allgemeinen alle Hervorhebungen enthalten, die auf der\n"
76 "Wiki-Seite außerhalb der Vorlage zulässig ist. Wenn der Wert in dreifache\n"
77 "Anführungszeichen gesetzt wird, dürfen sogar Anführungszeichen verwendet werden.\n"
78 "In Kombination mit mehrzeiligen Werten können so größere Textabschnitte mit\n"
79 "Hervorhebungen in die Vorlage eingebettet werden:"
81 #. type: Plain text
82 #, no-wrap
83 msgid "        \\[[!template id=foo name=\"Sally\" color=\"green\" age=8 notes=\"\"\"\n"
84 msgstr "        \\[[!template id=foo name=\"Sally\" color=\"grün\" age=8 notes=\"\"\"\n"
86 #. type: Bullet: '        * '
87 msgid "\\[[Charley]]'s sister."
88 msgstr "\\[[Charley]]s Schwester."
90 #. type: Bullet: '        * '
91 msgid "\"I want to be an astronaut when I grow up.\""
92 msgstr "Wenn ich groß bin, möchte ich Astronaut werden."
94 #. type: Bullet: '        * '
95 msgid "Really 8 and a half."
96 msgstr "Eigentlich 8 1/2."
98 #. type: Title ##
99 #, no-wrap
100 msgid "Creating a template"
101 msgstr "Eine Vorlage anlegen"
103 #. type: Plain text
104 msgid ""
105 "The template is a regular wiki page, located in the `templates/` "
106 "subdirectory inside the source directory of the wiki."
107 msgstr ""
108 "Eine Vorlage ist eine normale Wiki-Seite, die sich im `templates/`-Verzeichnis\n"
109 "der Wiki-Quellen befindet."
111 #. type: Plain text
112 msgid ""
113 "(Alternatively, templates can be stored in a directory outside the wiki, as "
114 "files with the extension \".tmpl\".  By default, these are searched for in `/"
115 "usr/share/ikiwiki/templates`; the `templatedir` setting can be used to make "
116 "another directory be searched first.)"
117 msgstr ""
118 "(Alternativ können Vorlagen außerhalb des Wikis gespeichert werden, als Dateien\n"
119 "mit der der Erweiterung \".tmpl\". Nach diesen wird standardmäßig unter\n"
120 "`/usr/share/ikiwiki/templates` gesucht, wobei mit der Einstellung `templatedir`\n"
121 "ein zuvor zu durchsuchendes Verzeichnis angegeben werden kann.)"
123 #. type: Plain text
124 msgid ""
125 "The template uses the syntax used by the [[!cpan HTML::Template]] perl "
126 "module, which allows for some fairly complex things to be done. Consult its "
127 "documentation for the full syntax, but all you really need to know are a few "
128 "things:"
129 msgstr ""
130 "Die Vorlage nutzt die Syntax des Perl-Moduls [[!cpan HTML::Template]], mit der\n"
131 "sich recht komplexe Dinge realisieren lassen. Die vollständige Syntax ist in der\n"
132 "Dokumentation des Perl-Moduls zu finden, aber es genügt ein paar wenige Dinge zu\n"
133 "wissen:"
135 #. type: Bullet: '* '
136 msgid ""
137 "Each parameter you pass to the template directive will generate a template "
138 "variable. There are also some pre-defined variables like PAGE and BASENAME."
139 msgstr ""
140 "Jeder Parameter, welcher der Vorlage übergeben wird, erzeugt eine\n"
141 "Vorlagenvariable. Es gibt auch einige vordefinierte Variable wie `PAGE` und\n"
142 "`BASENAME`."
144 #. type: Bullet: '* '
145 msgid ""
146 "To insert the value of a variable, use `<TMPL_VAR variable>`. Wiki markup in "
147 "the value will first be converted to html."
148 msgstr ""
149 "Der Wert einer Variablen kann mit `<TMPL_VAR Variable>` eingefügt werden.\n"
150 "Wiki-Hervorhebungen im Wert werden zuvor nach HTML umgewandelt."
152 #. type: Bullet: '* '
153 msgid ""
154 "To insert the raw value of a variable, with wiki markup not yet converted to "
155 "html, use `<TMPL_VAR raw_variable>`."
156 msgstr ""
157 "Der wörtliche Wert einer Variable kann mit `<TMPL_VAR raw_Variable>` eingefügt\n"
158 "werden; dabei werden Wiki-Hervorhebungen nicht nach HTML umgewandelt."
160 #. type: Bullet: '* '
161 msgid ""
162 "To make a block of text conditional on a variable being set use `<TMPL_IF "
163 "variable>text</TMPL_IF>`."
164 msgstr ""
165 "Mit `<TMPL_IF Variable>Block</TMPL_IF>` wird ein Block nur dann eingefügt, wenn\n"
166 "eine Variable gesetzt ist."
168 #. type: Bullet: '* '
169 msgid ""
170 "To use one block of text if a variable is set and a second if it's not, use "
171 "`<TMPL_IF variable>text<TMPL_ELSE>other text</TMPL_IF>`"
172 msgstr ""
173 "Mit `<TMPL_IF Variable>Block<TMPL_ELSE>anderer Block</TMPL_IF>` wird je nachdem\n"
174 "ob eine Variable gesetzt ist ein Block oder ein anderer Block eingefügt."
176 #. type: Plain text
177 msgid "Here's a sample template:"
178 msgstr "Hier ist eine Beispiel-Vorlage:"
180 #. type: Plain text
181 #, no-wrap
182 msgid ""
183 "        <span class=\"infobox\">\n"
184 "        Name: \\[[<TMPL_VAR raw_name>]]<br />\n"
185 "        Age: <TMPL_VAR age><br />\n"
186 "        <TMPL_IF color>\n"
187 "        Favorite color: <TMPL_VAR color><br />\n"
188 "        <TMPL_ELSE>\n"
189 "        No favorite color.<br />\n"
190 "        </TMPL_IF>\n"
191 "        <TMPL_IF notes>\n"
192 "        <hr />\n"
193 "        <TMPL_VAR notes>\n"
194 "        </TMPL_IF>\n"
195 "        </span>\n"
196 msgstr ""
197 "        <span class=\"infobox\">\n"
198 "        Name: \\[[<TMPL_VAR raw_name>]]<br />\n"
199 "        Alter: <TMPL_VAR age><br />\n"
200 "        <TMPL_IF color>\n"
201 "        Lieblingsfarbe: <TMPL_VAR color><br />\n"
202 "        <TMPL_ELSE>\n"
203 "        Keine Lieblingsfarbe.<br />\n"
204 "        </TMPL_IF>\n"
205 "        <TMPL_IF notes>\n"
206 "        <hr />\n"
207 "        <TMPL_VAR notes>\n"
208 "        </TMPL_IF>\n"
209 "        </span>\n"
211 #. type: Plain text
212 msgid ""
213 "The filled out template will be formatted the same as the rest of the page "
214 "that contains it, so you can include WikiLinks and all other forms of wiki "
215 "markup in the template. Note though that such WikiLinks will not show up as "
216 "backlinks to the page that uses the template."
217 msgstr ""
218 "Die ausgefüllte Vorlage wird auf die gleiche Weise formatiert wie die\n"
219 "Wiki-Seite, welche die Vorlage enthält. Es ist also möglich, in der Vorlage\n"
220 "WikiLinks und sonstige Wiki-Anweisungen zu verwenden. Solche WikiLinks tauchen\n"
221 "allerdings nicht als Backlinks der Seite auf, welche die Vorlage verwendet."
223 #. type: Plain text
224 msgid ""
225 "Note the use of \"raw_name\" inside the [[ikiwiki/WikiLink]] generator in "
226 "the example above. This ensures that if the name contains something that "
227 "might be mistaken for wiki markup, it's not converted to html before being "
228 "processed as a [[ikiwiki/WikiLink]]."
229 msgstr ""
230 "Zu beachten ist die Verwendung von \"raw_Name\" im [[ikiwiki/WikiLink]]-Generator\n"
231 "im Beispiel oben. Falls der Name etwas enthält, das für eine Wiki-Hervorhebung\n"
232 "gehalten werden könnte, wird das nicht nach HTML umgewandelt, bevor es als\n"
233 "WikiLink verarbeitet wird."
235 #. type: Plain text
236 #, no-wrap
237 msgid "[[!meta robots=\"noindex, follow\"]]\n"
238 msgstr "[[!meta robots=\"noindex, follow\"]]\n"
240 #~ msgid ""
241 #~ "For a list of available templates, and details about how to create more, "
242 #~ "see the [[templates]] page."
243 #~ msgstr ""
244 #~ "Auf der [[Vorlagen|templates]]-Seite gibt es eine Liste der verfügbaren "
245 #~ "Vorlagen und auch eine Anleitung, wie weitere angelegt werden können."