Template:TemplateDataInfo/i18n/pl: Difference between revisions
More actions
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=< | |text=<span lang="en" dir="ltr" class="mw-content-ltr">[[:mw:Special:MyLanguage/Extension:TemplateData|TemplateData]] is a way to store information about template parameters (the description of those and of the whole template) for both humans and machines.</span> <span lang="en" dir="ltr" class="mw-content-ltr">It is used by [[:mw:Special:MyLanguage/:VisualEditor|VisualEditor]] and possibly other tools like [[Special:MyLanguage/Commons:Upload Wizard|Upload Wizard]].</span> | ||
[[:mw:Special:MyLanguage/Extension:TemplateData|TemplateData]] is a way to store information about template parameters (the description of those and of the whole template) for both humans and machines. | |||
</ | |||
It is used by [[:mw:Special:MyLanguage/:VisualEditor|VisualEditor]] and possibly other tools like [[Special:MyLanguage/Commons:Upload Wizard|Upload Wizard]]. | |||
</ | |||
---- | ---- | ||
<u>Istniejąca dokumentacja szablonu</u><br/> | <u>Istniejąca dokumentacja szablonu</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. | ||
</div | </div> | ||
<u>< | <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 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>Dyskusja</u><br/> | <u>Dyskusja</u><br/> | ||
[[Commons:Requests for comment/How Commons should deal with TemplateData|< | [[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> | ||
</ | |helppage=:en:Wikipedia:VisualEditor/TemplateData/Tutorial | ||
|help=< | |||
Wikipedia's help about TemplateData | |||
</ | |||
|helppage= | |||
:en:Wikipedia:VisualEditor/TemplateData/Tutorial | |||
|info=Informacje charakterystyczne dla Commons | |info=Informacje charakterystyczne dla Commons | ||
|lang= | |lang={{#invoke:Caller title|lang|base=Template:TemplateDataInfo/i18n}} | ||
}}</onlyinclude> | }}</onlyinclude> | ||
{{translated tag|header}} | {{translated tag|header}} | ||
Revision as of 17:10, 23 June 2021
- TemplateData
TemplateData is a way to store information about template parameters (the description of those and of the whole template) for both humans and machines. It is used by VisualEditor and possibly other tools like Upload Wizard.
Istniejąca dokumentacja szablonu
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 • Informacje charakterystyczne dla Commons