4,535
edits
m (1 revision imported) |
m (1 revision imported) |
||
(9 intermediate revisions by 7 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 14: | Line 14: | ||
-->{{#if:{{{topic|}}}{{{description|}}} | -->{{#if:{{{topic|}}}{{{description|}}} | ||
| <div style="background:#d5e4ed;line-height:1.5em;border:1px solid #aaa;font-size:120%;padding:0.35em;"> <!-- | | <div style="background:#d5e4ed;line-height:1.5em;border:1px solid #aaa;font-size:120%;padding:0.35em;"> <!-- | ||
-->{{#if:{{{topic|}}} |'''{{#switch:{{lc:{{{type}}}}} |navbox|navigation|navigational|infobox|sidebar|={{ucfirst:{{{type}}}}} templates |module=Modules|#default=Templates}} relating to {{{topic}}}.''' {{{1|}}}{{{description|}}} | -->{{#if:{{{topic|}}} |'''{{#switch:{{lc:{{{type}}}}} |navbox|navigation|navigational|infobox|sidebar|stub|={{ucfirst:{{{type}}}}} templates |module=Modules|#default=Templates}} relating to {{{topic}}}.''' {{{1|}}}{{{description|}}} | ||
| <div><!--(in case 1/description begins with newline:)--> {{{1|}}}{{{description|}}} </div> | | <div><!--(in case 1/description begins with newline:)--> {{{1|}}}{{{description|}}} </div> | ||
}} </div> | }} </div> | ||
Line 31: | Line 31: | ||
| conversion = templates that perform [[Wikipedia:Manual of Style/Dates and numbers#Unit conversions|conversions]] | | conversion = templates that perform [[Wikipedia:Manual of Style/Dates and numbers#Unit conversions|conversions]] | ||
| external link = templates providing [[Wikipedia:External links|external links]] | | external link = templates providing [[Wikipedia:External links|external links]] | ||
| formatting = templates that provide [[Wikipedia: | | formatting = templates that provide [[Wikipedia:Manual of Style/Text formatting|formatting]] | ||
| function = function templates{{nobold|, i.e. templates that produce text, images or other elements}} | | function = function templates{{nobold|, i.e. templates that produce text, images or other elements}} | ||
| infobox = [[ | | infobox = [[Wikipedia:Manual of Style/Infoboxes|infobox]] templates | ||
<!-- | message = [[Wikipedia:Template messages|message]] templates --> | <!-- | message = [[Wikipedia:Template messages|message]] templates --> | ||
| module = [[Wikipedia:Lua|Lua modules]] | | module = [[Wikipedia:Lua|Lua modules]] | ||
| meta = [[Help:Metatemplating|metatemplates]] | | meta = [[Help:Metatemplating|metatemplates]] | ||
| navigation |navigational |navbox = [[Wikipedia:Navigation template|navigation]] templates | | navigation |navigational |navbox = [[Wikipedia:Navigation template|navigation]] templates | ||
| sidebar = [[: | | sidebar = [[WP:SIDEBAR|sidebar]] templates | ||
| stub = [[Wikipedia:WikiProject Stub sorting/Stub types|stub]] templates | | stub = [[Wikipedia:WikiProject Stub sorting/Stub types|stub]] templates | ||
| 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 | ||
| userbox = [[Wikipedia:Userboxes| | | user | ||
| userbox = [[Wikipedia:User templates|user]] templates, including [[Wikipedia:Userboxes|userboxes]] | |||
| #default = {{{1|{{{description|}}}}}} | | #default = {{{1|{{{description|}}}}}} | ||
| {{{type}}} templates | | {{{type}}} templates | ||
Line 54: | Line 55: | ||
<div style="border-bottom:1px solid #aaa;font-weight:bold;"> Further {{#ifeq:{{{type|}}}|module|module|template}} category notes </div> | <div style="border-bottom:1px solid #aaa;font-weight:bold;"> Further {{#ifeq:{{{type|}}}|module|module|template}} category notes </div> | ||
<div class="mw-collapsible-content"> | <div class="mw-collapsible-content"> | ||
<div> This [[Help:Category|category]] contains pages in the {{#ifeq:{{{type|}}}|module|[[Wikipedia: | <div> This [[Help:Category|category]] contains pages in the {{#ifeq:{{{type|}}}|module|[[Wikipedia:Lua|module namespace]]|[[Wikipedia:Template namespace|template namespace]]}}. It should not be used to categorize [[Wikipedia:What is an article?|articles]] or pages in other [[Wikipedia:Namespace|namespaces]]. </div><br/><!-- | ||
Help subsection | Help subsection | ||
Line 62: | 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 76: | Line 77: | ||
--></div> <!--(end of "type" div)--> | --></div> <!--(end of "type" div)--> | ||
</div> <!--(end containing div)--> | </div> <!--(end containing div) | ||
## Tracking categories | |||
-->{{Category other|<!-- | |||
-->{{#if: {{{topic|}}}{{{description|}}}<!-- | |||
-->|<!-- # We have a topic/description, so all ok | |||
-->|[[Category:Template:Template category with no topic or description]]<!-- | |||
-->}}<!-- | |||
-->}} | |||
}}<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> |