Template:TemplateDataInfo/i18n/nl: Difference between revisions
More actions
←Created page with 'Het wordt gebruikt door VisualEditor en mogelijk andere hulpmiddelen zoals Wizard Uploaden.' |
←Created page with 'Bestaande sjabloondocumentatie' |
||
| Line 5: | Line 5: | ||
|text=[[:mw:Special:MyLanguage/Extension:TemplateData|TemplateData]] is een manier om informatie over sjabloonparameters (de beschrijving van die parameters en van de hele sjabloon) op te slaan voor zowel mensen als machines. Het wordt gebruikt door [[:mw:Special:MyLanguage/:VisualEditor|VisualEditor]] en mogelijk andere hulpmiddelen zoals [[Special:MyLanguage/Commons:Upload Wizard|Wizard Uploaden]]. | |text=[[:mw:Special:MyLanguage/Extension:TemplateData|TemplateData]] is een manier om informatie over sjabloonparameters (de beschrijving van die parameters en van de hele sjabloon) op te slaan voor zowel mensen als machines. Het wordt gebruikt door [[:mw:Special:MyLanguage/:VisualEditor|VisualEditor]] en mogelijk andere hulpmiddelen zoals [[Special:MyLanguage/Commons:Upload Wizard|Wizard Uploaden]]. | ||
---- | ---- | ||
<u> | <u>Bestaande sjabloondocumentatie</u><br/> | ||
<div lang="en" dir="ltr" class="mw-content-ltr"> | <div lang="en" dir="ltr" class="mw-content-ltr"> | ||
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. {{tag|nowiki|o}}-tags can be wrapped around the arguments, if required, to avoid templates being expanded. | 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. {{tag|nowiki|o}}-tags can be wrapped around the arguments, if required, to avoid templates being expanded. | ||
Revision as of 19:54, 7 June 2023
- TemplateData
TemplateData is een manier om informatie over sjabloonparameters (de beschrijving van die parameters en van de hele sjabloon) op te slaan voor zowel mensen als machines. Het wordt gebruikt door VisualEditor en mogelijk andere hulpmiddelen zoals Wizard Uploaden.
Bestaande sjabloondocumentatie
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 arguments, if required, to avoid templates being expanded.
Newly created template documentation and imports
Another option, especially for imported templates, or for users with JSON experience, is placing raw <templatedata>-tags into the Wikitext of the template, as described in various Wikipediae.
Wikipedia's help about TemplateData • Commons-specific information