mediawiki>Shirayuki (Marked this version for translation) |
Brucekomike(讨论 | 贡献) 小 (导入1个版本) |
||
(没有差异)
|
2024年9月14日 (六) 23:24的最新版本
<languages/>
This is the TemplateData documentation for this template used by VisualEditor and other tools.
TemplateData header
[[Category:Templates using TemplateData{{#translation:}}]]
<translate> Inserts a brief header for the template data section.</translate> <translate> Adds the <tvar name=1>/doc</tvar> subpage to <tvar name=2>Category:TemplateData documentation </tvar> and the template page to <tvar name=3>Category:Templates using TemplateData </tvar>.</translate>
<translate>
Usage
</translate>
==TemplateData== or ==Parameters== or ==Usage==
[[:模板:((]]TemplateData header[[:模板:))]]
[[:模板:^(]]templatedata[[:模板:)^]]{
...
}[[:模板:^(]]/templatedata[[:模板:)^]]
<translate>
Use {{<tvar name=1>tmpl|0=模板:((TemplateData header|$1模板:))
</tvar>|Template name}} to display a name for the template other than the default, which is <tvar name="2">{{BASEPAGENAME}} </tvar>.
</translate>
-
This is the TemplateData documentation for this template used by VisualEditor and other tools.
Template name
<translate>
Use <tvar name="1">{{TemplateData header|noheader=1}}
</tvar> to omit the first sentence of the header text.
</translate>
-
TemplateData header
<translate>
Parameters
</translate> 模板:TemplateData header/doc
[[Category:Template documentation pages{{#translation:}}]]