Template:Template category: Difference between revisions
Jump to navigation
Jump to search
m 1 revision imported |
m 1 revision imported |
||
(6 intermediate revisions by 5 users not shown) | |||
Line 8: | Line 8: | ||
Container-category message | Container-category message | ||
-->{{yesno|1={{{container|}}} | -->{{yesno|1={{{container|}}} | ||
|yes=<div style="font-size:115%;padding:0.5em 0;"> '''''Note: Please do not add {{#ifeq:{{{type|}}}|module|modules|templates}} to this category; instead, use one of its subcategories.''''' </div> | |yes=<div style="font-size:115%;padding:0.5em 0;"> '''''Note: Please do not add {{#ifeq:{{{type|}}}|module|modules|templates}} to this category; instead, use one of its subcategories.'''''{{category other|[[Category:Container categories]]}}</div> | ||
}}<!-- | }}<!-- | ||
Line 42: | Line 42: | ||
| sub = [[Help:Template#Creating and editing templates|subtemplates]]{{nobold|, i.e. templates used by another template or templates}} | | sub = [[Help:Template#Creating and editing templates|subtemplates]]{{nobold|, i.e. templates used by another template or templates}} | ||
| timeline = [[Wikipedia:Timeline|timeline]] templates | | timeline = [[Wikipedia:Timeline|timeline]] templates | ||
| user | | user | ||
| userbox = [[Wikipedia:User templates|user]] templates, including [[Wikipedia:Userboxes|userboxes]] | | userbox = [[Wikipedia:User templates|user]] templates, including [[Wikipedia:Userboxes|userboxes]] | ||
| #default = {{{1|{{{description|}}}}}} | | #default = {{{1|{{{description|}}}}}} | ||
Line 63: | Line 63: | ||
{{#ifeq:{{{type|}}}|module|{{Unbulleted list |list_style=padding-left:1.4em; | {{#ifeq:{{{type|}}}|module|{{Unbulleted list |list_style=padding-left:1.4em; | ||
| In the documentation page (usually named "Module:''Name''/doc"), add | | In the documentation page (usually named "Module:''Name''/doc"), add | ||
| {{pad}}<kbd>{{brackets|{{FULLPAGENAME}}}}</kbd> | | {{pad|css=user-select:none;}}<kbd>{{brackets|{{FULLPAGENAME}}}}</kbd> | ||
| to the <nowiki><includeonly></nowiki> section at the bottom of that page. | | to the <nowiki><includeonly></nowiki> section at the bottom of that page. | ||
}}|{{Unbulleted list |list_style=padding-left:1.4em; | }}|{{Unbulleted list |list_style=padding-left:1.4em; | ||
| If the template has a separate documentation page (usually called "{{#ifeq:{{{type|}}}|module|Module|Template}}:''template name''/doc"), add | | If the template has a separate documentation page (usually called "{{#ifeq:{{{type|}}}|module|Module|Template}}:''template name''/doc"), add | ||
| {{pad}}<kbd>[[{{FULLPAGENAME}}]]</kbd> | | {{pad|css=user-select:none;}}<kbd>[[{{FULLPAGENAME}}]]</kbd> | ||
| to the <nowiki><includeonly></nowiki> section at the bottom of that page. Otherwise, add | | to the <nowiki><includeonly></nowiki> section at the bottom of that page. Otherwise, add | ||
| {{pad}}<kbd><noinclude>[[{{FULLPAGENAME}}]]</noinclude></kbd> | | {{pad|css=user-select:none;}}<kbd><noinclude>[[{{FULLPAGENAME}}]]</noinclude></kbd> | ||
| to the end of the template code, making sure it starts on the same line as the code's last character. | | to the end of the template code, making sure it starts on the same line as the code's last character. | ||
}} }} }} | }} }} }} | ||
Line 87: | Line 87: | ||
-->}} | -->}} | ||
}}<includeonly>{{#ifeq:{{NAMESPACE}}|{{ns:14}} | }}<includeonly>{{#ifeq:{{NAMESPACE}}|{{ns:14}} | ||
| {{{category|[[Category:Wikipedia template categories]]}}} | | {{#if: {{{category|}}} | {{{category}}} | {{#ifeq: {{{type|}}} | module | [[Category:Wikipedia module categories]] | [[Category:Wikipedia template categories]] }} }} }}</includeonly><noinclude> | ||
{{Documentation}} | {{Documentation}} | ||
</noinclude> | </noinclude> |
Latest revision as of 11:13, 24 September 2023
The pages listed in this category are templates.
This page is part of Wikipedia's administration and not part of the encyclopedia.
Further template category notes
This category contains pages in the template namespace. It should not be used to categorize articles or pages in other namespaces. To add a template to this category:
|