Template:TemplateDataInfo/i18n/cs: Difference between revisions
More actions
←Created page with 'Je užívána Vizuálním editorem a pravděpodobně i jinými nástroji jako třeba Upload Wizard.' |
←Created page with 'Existující dokumentace šablony' |
||
| Line 5: | Line 5: | ||
|text=[[:mw:Special:MyLanguage/Extension:TemplateData|TemplateData]] je způsob, jak uložit údaje o parametrech šablony i o šabloně samotné v podobě čitelné lidem i strojově. Je užívána [[:mw:Special:MyLanguage/:VisualEditor|Vizuálním editorem]] a pravděpodobně i jinými nástroji jako třeba [[Special:MyLanguage/Commons:Upload Wizard|Upload Wizard]]. | |text=[[:mw:Special:MyLanguage/Extension:TemplateData|TemplateData]] je způsob, jak uložit údaje o parametrech šablony i o šabloně samotné v podobě čitelné lidem i strojově. Je užívána [[:mw:Special:MyLanguage/:VisualEditor|Vizuálním editorem]] a pravděpodobně i jinými nástroji jako třeba [[Special:MyLanguage/Commons:Upload Wizard|Upload Wizard]]. | ||
---- | ---- | ||
<u> | <u>Existující dokumentace šablony</u><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/> | 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/> | ||
Revision as of 09:28, 27 January 2017
- TemplateData
TemplateData je způsob, jak uložit údaje o parametrech šablony i o šabloně samotné v podobě čitelné lidem i strojově. Je užívána Vizuálním editorem a pravděpodobně i jinými nástroji jako třeba Upload Wizard.
Existující dokumentace šablony
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.
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 or the template as described in various Wikipediae.
Wikipedia's help about TemplateData • Commons-specific information