Template:TemplateDataInfo/i18n/cs: Difference between revisions
More actions
←Created page with 'Na Wikimedia Commons je doporučeno užívat $tag2 s parametry $param1 nebo $param2 na $relPage podstránce a její vložení pomocí $template do šablony. Po...' |
Updating to match new version of source page |
||
| Line 9: | Line 9: | ||
<u>Newly created template documentation and imports</u><br/> | <u>Newly created template documentation and imports</u><br/> | ||
Another option, especially for imported templates, or for users with JSON experience, is placing raw <nowiki><templatedata></nowiki>-tags into the Wikitext | Another option, especially for imported templates, or for users with JSON experience, is placing raw <nowiki><templatedata></nowiki>-tags into the Wikitext of the template, as described in various Wikipediae. | ||
<u>Diskuze</u><br/> | <u>Diskuze</u><br/> | ||
Revision as of 11:48, 17 June 2018
- 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
Na Wikimedia Commons je doporučeno užívat {{TemplateBox}} s parametry useTemplateData=1 nebo useTemplateData=only na /doc podstránce a její vložení pomocí {{Documentation}} do šablony. Pokud je nutné, aby se šablony neexpandovaly, mohou být okolo hodnot použity tagy <nowiki>.
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