The editors' meeting has been canceled for technical reasons.
Template:Uses TemplateStyles/doc: Difference between revisions
创建页面,内容为“{{documentation header}} <!-- 文档页面 --> 此模板用于标记使用了模板样式的模板,放置于模板文档页的上方。 在文档中调用了此模板的模板页面会被加入Category:使用模板样式的模板分类,但文档页面本身不会被加入分类。 此模板重写自中文维基百科模板<code>{{Uses TemplateStyles}}</code>。 <…” |
mNo edit summary |
||
(2 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
<!-- 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. | ||
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. | |||
This template is rewritten from the Chinese Wikipedia template <code>{{[[wen:Template:Uses TemplateStyles|Uses TemplateStyles]]}}</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": " | "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": " | "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": " | "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": " | "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> |
Latest revision as of 23:36, 12 January 2025
This template is used to indicate templates that utilize template styles and should be placed at the top of the template's documentation page.
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.
This template is rewritten from the Chinese Wikipedia template {{Uses TemplateStyles}}
.
This template is used to indicate templates that utilize template styles and should be placed at the top of the template's documentation page.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Template Style 1 | 1 | The first template style used by the template.
| Page name | optional |
Template Style 2 | 2 | The second template style used by the template.
| Page name | optional |
Template Style 3 | 3 | The third template style used by the template.
| Page name | optional |
Exclude from Category | nocat | Prevents the template page that invokes this template from being added to the [[:Category:Templates using TemplateStyles]] category.
| String | optional |