Jump to content
Toggle menu
  • 8 articles
  • 75 files
  • 7 users
  • 37.8K edits
Neodyland Wiki
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Template:TemplateDataInfo/i18n/cs: Difference between revisions

Template page
Updating to match new version of source page
Updating to match new version of source page
Line 2: Line 2:


<onlyinclude>{{TemplateDataInfo/layout
<onlyinclude>{{TemplateDataInfo/layout
|title=TemplateData
|title=<span lang="en" dir="ltr" class="mw-content-ltr">TemplateData</span>
|text=<div class="mw-translate-fuzzy">
|text=<span class="mw-translate-fuzzy">[[: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ě.</span> <span class="mw-translate-fuzzy">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]].</span>
[[: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ě.
</div> <div class="mw-translate-fuzzy">
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]].
</div>
----
----
<u>Existující dokumentace šablony</u><br/>
<u>Existující dokumentace šablony</u><br/>
<div class="mw-translate-fuzzy">
<div class="mw-translate-fuzzy">
Na Wikimedia Commons je doporučeno užívat {{tl|TemplateBox}} s parametry <code><nowiki>&lrm;useTemplateData=1</nowiki></code> nebo <code><nowiki>&lrm;useTemplateData=only</nowiki></code> na <code><nowiki>&lrm;/doc</nowiki></code> podstránce a její vložení  pomocí {{tl|Documentation}} do šablony. Pokud je nutné, aby se šablony neexpandovaly, mohou být okolo hodnot použity tagy {{tag|nowiki|o}}.
Na Wikimedia Commons je doporučeno užívat {{tl|TemplateBox}} s parametry <code><nowiki>&lrm;useTemplateData=1</nowiki></code> nebo <code><nowiki>&lrm;useTemplateData=only</nowiki></code> na <code><nowiki>&lrm;/doc</nowiki></code> podstránce a její vložení  pomocí {{tl|Documentation}} do šablony. Pokud je nutné, aby se šablony neexpandovaly, mohou být okolo hodnot použity tagy {{tag|nowiki|o}}.
</div><br/>
</div>


<u><div lang="en" dir="ltr" class="mw-content-ltr">
<u><span lang="en" dir="ltr" class="mw-content-ltr">Newly created template documentation and imports</span></u><br/>
Newly created template documentation and imports
</div></u><br/>
<div lang="en" dir="ltr" class="mw-content-ltr">
<div lang="en" dir="ltr" class="mw-content-ltr">
Another option, especially for imported templates, or for users with JSON experience, is placing raw {{tag|templatedata|o}}-tags into the Wikitext of the template, as described in various Wikipediae.
Another option, especially for imported templates, or for users with JSON experience, is placing raw {{tag|templatedata|o}}-tags into the Wikitext of the template, as described in various Wikipediae.
Line 22: Line 16:


<u>Diskuze</u><br/>
<u>Diskuze</u><br/>
[[Commons:Requests for comment/How Commons should deal with TemplateData|<div lang="en" dir="ltr" class="mw-content-ltr">
[[Commons:Requests for comment/How Commons should deal with TemplateData|<span lang="en" dir="ltr" class="mw-content-ltr">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.</span>]]
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.
|help=<span lang="en" dir="ltr" class="mw-content-ltr">Wikipedia's help about TemplateData</span>
</div>]]
|helppage=:en:Wikipedia:VisualEditor/TemplateData/Tutorial
|help=<div lang="en" dir="ltr" class="mw-content-ltr">
|info=<span lang="en" dir="ltr" class="mw-content-ltr">Commons-specific information</span>
Wikipedia's help about TemplateData
|lang={{#invoke:Caller title|lang|base=Template:TemplateDataInfo/i18n}}
</div>
|helppage=<div lang="en" dir="ltr" class="mw-content-ltr">
:en:Wikipedia:VisualEditor/TemplateData/Tutorial
</div>
|info=<div lang="en" dir="ltr" class="mw-content-ltr">
Commons-specific information
</div>
|lang=<div lang="en" dir="ltr" class="mw-content-ltr">
en
</div>
}}</onlyinclude>
}}</onlyinclude>


{{translated tag|header}}
{{translated tag|header}}

Revision as of 17:10, 23 June 2021


<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.
Cookies help us deliver our services. By using our services, you agree to our use of cookies.