Template:TemplateDataInfo/i18n/vi: Difference between revisions
More actions
←Created page with 'Trợ giúp Wikipedia về TemplateData' |
←Created page with 'Các tài liệu bản mẫu mới tạo và nhập trang' |
||
| Line 10: | Line 10: | ||
</div> | </div> | ||
<u> | <u>Các tài liệu bản mẫu mới tạo và nhập trang</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. | ||
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.
Existing template documentation
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