Template:TemplateDataInfo/i18n/uk: Difference between revisions
More actions
←Created page with 'Використовується Візуальним редактором і, можливо, іншими інструментами, на зраз...' |
←Created page with 'Існуюча документація шаблонів' |
||
| Line 5: | Line 5: | ||
|text=[[:mw:Special:MyLanguage/Extension:TemplateData|TemplateData]] — це спосіб зберігання інформації про параметри шаблонів (описи їх і всього шаблону) як для людей, так і для машин. Використовується [[:mw:Special:MyLanguage/:VisualEditor|Візуальним редактором]] і, можливо, іншими інструментами, на зразок [[Special:MyLanguage/Commons:Upload Wizard|Майстра завантаження]]. | |text=[[:mw:Special:MyLanguage/Extension:TemplateData|TemplateData]] — це спосіб зберігання інформації про параметри шаблонів (описи їх і всього шаблону) як для людей, так і для машин. Використовується [[:mw:Special:MyLanguage/:VisualEditor|Візуальним редактором]] і, можливо, іншими інструментами, на зразок [[Special:MyLanguage/Commons:Upload Wizard|Майстра завантаження]]. | ||
---- | ---- | ||
<u> | <u>Існуюча документація шаблонів</u><br/> | ||
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. <code><nowiki><nowiki></nowiki></code>-tags can be wrapped around the the arguments, if required, to avoid templates being expanded.<br/> | 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. <code><nowiki><nowiki></nowiki></code>-tags can be wrapped around the the arguments, if required, to avoid templates being expanded.<br/> | ||
Revision as of 18:33, 6 June 2014
- TemplateData
TemplateData — це спосіб зберігання інформації про параметри шаблонів (описи їх і всього шаблону) як для людей, так і для машин. Використовується Візуальним редактором і, можливо, іншими інструментами, на зразок Майстра завантаження.
Існуюча документація шаблонів
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.
Wikipedia's help about TemplateData • Commons-specific information