Template:TemplateDataInfo/i18n/ru: Difference between revisions
More actions
←Created page with 'Существующая документация по шаблону' |
←Created page with 'TemplateData — это способ хранения информации о параметрах шаблона (описание этих пара...' |
||
| Line 3: | Line 3: | ||
<onlyinclude>{{TemplateDataInfo/layout | <onlyinclude>{{TemplateDataInfo/layout | ||
|title=TemplateData | |title=TemplateData | ||
|text=[[:mw:Special:MyLanguage/Extension:TemplateData|TemplateData]] | |text=[[:mw:Special:MyLanguage/Extension:TemplateData|TemplateData]] — это способ хранения информации о параметрах шаблона (описание этих параметров и шаблона в целом) для людей и компьютеров. It is used by [[:mw:Special:MyLanguage/:VisualEditor|VisualEditor]] and possibly other tools like [[Special:MyLanguage/Commons:Upload Wizard|Upload Wizard]]. | ||
---- | ---- | ||
<u>Существующая документация по шаблону</u><br/> | <u>Существующая документация по шаблону</u><br/> | ||
Revision as of 08:31, 21 January 2015
- TemplateData
TemplateData — это способ хранения информации о параметрах шаблона (описание этих параметров и шаблона в целом) для людей и компьютеров. It is used by VisualEditor and possibly other tools like Upload Wizard.
Существующая документация по шаблону
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.
Справка в Википедии о TemplateData • Commons-specific information