The editors' meeting has been canceled for technical reasons.
Template:Uses TemplateStyles/doc: Difference between revisions
m 1 revision imported |
No edit summary |
||
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> |
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 |
[[zh:Template:Uses TemplateStyles]/doc]