Template:TemplateDataInfo/i18n/de: Difference between revisions
More actions
←Created page with 'Bestehende Vorlagendokumentation' |
←Created page with 'Neu erstellte Vorlagendokumentation und -importe' |
||
| Line 8: | Line 8: | ||
At Wikimedia Commons, it is recommended to use {{tl|TemplateBox}} with either <code><nowiki>useTemplateData=1</nowiki></code> or <code><nowiki>useTemplateData=only</nowiki></code> on the <code><nowiki>/doc</nowiki></code> subpage and transcluding it with {{tl|Documentation}} into the template. <code><nowiki><nowiki></nowiki></code>-tags can be wrapped around the the arguments, if required, to avoid templates being expanded.<br/> | At Wikimedia Commons, it is recommended to use {{tl|TemplateBox}} with either <code><nowiki>useTemplateData=1</nowiki></code> or <code><nowiki>useTemplateData=only</nowiki></code> on the <code><nowiki>/doc</nowiki></code> subpage and transcluding it with {{tl|Documentation}} into the template. <code><nowiki><nowiki></nowiki></code>-tags can be wrapped around the the arguments, if required, to avoid templates being expanded.<br/> | ||
<u> | <u>Neu erstellte Vorlagendokumentation und -importe</u><br/> | ||
Eine weitere Möglichkeit besteht darin, <nowiki><templatedata></nowiki>-Tags direkt in den Wikitext der Vorlage zu schreiben. Das ist besonders nützlich bei importierten Vorlagen oder für Benutzer mit JSON-Erfahrung. | Eine weitere Möglichkeit besteht darin, <nowiki><templatedata></nowiki>-Tags direkt in den Wikitext der Vorlage zu schreiben. Das ist besonders nützlich bei importierten Vorlagen oder für Benutzer mit JSON-Erfahrung. | ||
Revision as of 08:26, 4 May 2018
- TemplateData
TemplateData ist eine Möglichkeit, Informationen über Vorlagenparameter (die Beschreibung dieser und der gesamte Vorlage) für Menschen und Maschine lesbar zu speichern. Diese Technik wird vom VisualEditor und anderen Werkzeugen wie Upload Wizard genutzt.
Bestehende Vorlagendokumentation
At Wikimedia Commons, it is recommended to use {{TemplateBox}} with either useTemplateData=1 or useTemplateData=only on the /doc subpage and transcluding it with {{Documentation}} into the template. <nowiki>-tags can be wrapped around the the arguments, if required, to avoid templates being expanded.
Neu erstellte Vorlagendokumentation und -importe
Eine weitere Möglichkeit besteht darin, <templatedata>-Tags direkt in den Wikitext der Vorlage zu schreiben. Das ist besonders nützlich bei importierten Vorlagen oder für Benutzer mit JSON-Erfahrung.
Wikipedia-Hilfe über TemplateData • Commons-spezifische Informationen