Template:Uses TemplateStyles/doc: Difference between revisions

From NeuroWiki
Jump to navigation Jump to search
m Text replacement - "{{lc:}}" to ""
Tag: Reverted
m Text replacement - " {{lc:" to "{{lc:"
Tags: Mobile edit Mobile web edit
 
(2 intermediate revisions by the same user not shown)
Line 2: Line 2:
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.
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:T emplates using TemplateStyles]] category. However, the documentation page itself will not be included in the 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.


This template is rewritten from the Chinese Wikipedia template <code>&#123;&#123;[[wen: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>.
Line 32: Line 32:
"nocat": {
"nocat": {
"label": "Exclude from Category",
"label": "Exclude from Category",
"description": "Prevents the template page that invokes this template from being added to the [[:Category:T emplates using TemplateStyles]] 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 42: Line 42:
<!-- Template categories and interlanguage links -->
<!-- Template categories and interlanguage links -->
[[zh:Template:Uses TemplateStyles]]
[[zh:Template:Uses TemplateStyles]]
[[Category:N {{lc:otification templates}}]]
[[Category:N{{lc:otification templates}}]]
</includeonly>
</includeonly>
<noinclude>
<noinclude>
<!-- Documentation categories and interlanguage links -->
<!-- Documentation categories and interlanguage links -->
[[zh:Template:Uses TemplateStyles/doc]]
[[zh:Template:Uses TemplateStyles/doc]]
[[Category:T {{lc:emplate documentation}}]]
[[Category:T{{lc:emplate documentation}}]]
</noinclude>
</noinclude>

Latest revision as of 22:51, 12 April 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.

Template parameters

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
Template Style 11

The first template style used by the template.

Default
Template:{{BASEPAGENAME}}/styles.css
Example
Template:Message box/styles.css
Page nameoptional
Template Style 22

The second template style used by the template.

Example
Template:Message box/styles.css
Page nameoptional
Template Style 33

The third template style used by the template.

Example
Template:Message box/styles.css
Page nameoptional
Exclude from Categorynocat

Prevents the template page that invokes this template from being added to the [[:Category:Templates using TemplateStyles]] category.

Auto value
1
Stringoptional