Template:TemplateDataInfo/i18n/cs

From Wikimedia Commons, the free media repository
Jump to navigation Jump to search
This page is a translated version of a page Template:TemplateDataInfo/i18n and the translation is 42% complete. Changes to the translation template, respectively the source language can be submitted through Template:TemplateDataInfo/i18n and have to be approved by a translation administrator.
<templatedata>JSON</templatedata> ./. {{TemplateBox}}
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.

Diskuze
There is an ongoing discussion about that matter. Feel invited to comment if you are experienced in either way, your time permits and if you like to share your opinion or to make a suggestion.


Wikipedia's help about TemplateDataCommons-specific information

NOTE: Please do not use this template directly! This is just for translation. Use {{TemplateDataInfo}} instead.