Template:Uses TemplateStyles/doc: Difference between revisions

m 1 revision imported
No edit summary
Line 1: Line 1:
{{documentation header}}
<!-- Documentation page -->
<!-- 文档页面 -->
This template is used to indicate templates that utilize [[wen:Wikipedia:TemplateStyles|template styles]] and should be placed at the top of the template's documentation page.
此模板用于标记使用了[[wzh:Wikipedia:模板樣式|模板样式]]的模板,放置于模板文档页的上方。


在文档中调用了此模板的模板页面会被加入[[:Category:使用模板样式的模板]]分类,但文档页面本身不会被加入分类。
Templates that invoke this template in their documentation will be added to the [[:Category:Templates using TemplateStyles]] category. However, the documentation page itself will not be included in the category.


此模板重写自中文维基百科模板<code>&#123;&#123;[[wzh:Template:Uses TemplateStyles|Uses TemplateStyles]]&#125;&#125;</code>
This template is rewritten from the Chinese Wikipedia template <code>&#123;&#123;[[wen:Template:Uses TemplateStyles|Uses TemplateStyles]]&#125;&#125;</code>.


<templatedata>
<templatedata>
{
{
"description": "此模板用于标记使用了模板样式的模板,放置于模板文档页的上方。",
"description": "This template is used to indicate templates that utilize template styles and should be placed at the top of the template's documentation page.",
"format": "inline",
"format": "inline",
"params": {
"params": {
"1": {
"1": {
"label": "模板样式1",
"label": "Template Style 1",
"description": "模板使用的第一个模板样式。",
"description": "The first template style used by the template.",
"example": "Template:Message box/styles.css",
"example": "Template:Message box/styles.css",
"type": "wiki-page-name",
"type": "wiki-page-name",
Line 20: Line 19:
},
},
"2": {
"2": {
"label": "模板样式2",
"label": "Template Style 2",
"description": "模板使用的第二个模板样式。",
"description": "The second template style used by the template.",
"example": "Template:Message box/styles.css",
"example": "Template:Message box/styles.css",
"type": "wiki-page-name"
"type": "wiki-page-name"
},
},
"3": {
"3": {
"label": "模板样式3",
"label": "Template Style 3",
"description": "模板使用的第三个模板样式。",
"description": "The third template style used by the template.",
"example": "Template:Message box/styles.css",
"example": "Template:Message box/styles.css",
"type": "wiki-page-name"
"type": "wiki-page-name"
},
},
"nocat": {
"nocat": {
"label": "不加入分类",
"label": "Exclude from Category",
"description": "使调用了此模板的模板页面不会被加入[[:Category:使用模板样式的模板]]分类。",
"description": "Prevents the template page that invokes this template from being added to the [[:Category:Templates using TemplateStyles]] category.",
"type": "string",
"type": "string",
"autovalue": "1"
"autovalue": "1"
Line 41: Line 40:
</templatedata>
</templatedata>
<includeonly>
<includeonly>
<!-- 模板分类和跨语言链接 -->
<!-- Template categories and interlanguage links -->
[[Category:通知模板]]
[[zh:Template:Uses TemplateStyles]]
[[Category:Notification templates]]
</includeonly>
</includeonly>
<noinclude>
<noinclude>
<!-- 文档分类和跨语言链接 -->
<!-- Documentation categories and interlanguage links -->
 
[[zh:Template:Uses TemplateStyles]/doc]
[[Category:Template Documentation]]
</noinclude>
</noinclude>