Template:TemplateDataInfo/i18n/vi: Difference between revisions
More actions
←Created page with 'Các tài liệu bản mẫu mới tạo và nhập trang' |
←Created page with 'Tài liệu bản mẫu đang tồn tại' |
||
| Line 5: | Line 5: | ||
|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> | |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> | ||
---- | ---- | ||
<u> | <u>Tài liệu bản mẫu đang tồn tại</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. | ||
Revision as of 01:57, 25 November 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.
Tài liệu bản mẫu đang tồn tại
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.
Các tài liệu bản mẫu mới tạo và nhập trang
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.
Trợ giúp Wikipedia về TemplateData • Commons-specific information