Template:Template category: Difference between revisions
Jump to navigation
Jump to search
Content added Content deleted
(per tper) |
(Merging with Template:Module category per TfD. Tested at local testcases and Template:Module category/testcases) |
||
Line 3: | Line 3: | ||
| type = notice |
| type = notice |
||
| style = padding-bottom:0.5em; |
| style = padding-bottom:0.5em; |
||
| image = [[File:Curly Brackets.svg|44px|Template braces|alt=|link=]] |
| image = {{#ifeq:{{{type|}}}|module|[[File:Lua-logo-nolabel.svg|44px|Lua logo|alt=Lua logo|link=]]|[[File:Curly Brackets.svg|44px|Template braces|alt=|link=]]}} |
||
| text = <div style="width:98%;"><!-- |
| text = <div style="width:98%;"><!-- |
||
Line 21: | Line 21: | ||
type --><div style="line-height:1.3em;padding-top:0.3em;"> <!-- |
type --><div style="line-height:1.3em;padding-top:0.3em;"> <!-- |
||
-->{{#if:{{{type|}}} <!-- |
-->{{#if:{{{type|}}} <!-- |
||
(then:)-->| <div style="font-size:95%;font-weight:bold;"> The pages listed in this category are meant to be <!-- |
(then:)-->| <div style="font-size:95%;font-weight:bold;"> The pages listed in this category are {{#ifeq:{{{type|}}}|module||meant to be}} <!-- |
||
-->{{#switch:{{lc:{{{type}}}}} |
-->{{#switch:{{lc:{{{type}}}}} |
||
| ambox = [[Wikipedia:Manual of Style/Article message boxes|article message box (ambox)]] templates |
| ambox = [[Wikipedia:Manual of Style/Article message boxes|article message box (ambox)]] templates |
||
Line 35: | Line 35: | ||
| infobox = [[Help:Infobox|infobox]] templates |
| infobox = [[Help:Infobox|infobox]] templates |
||
<!-- | message = [[Wikipedia:Template messages|message]] templates --> |
<!-- | message = [[Wikipedia:Template messages|message]] templates --> |
||
| 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 |
||
Line 46: | Line 47: | ||
}}. </div><!-- |
}}. </div><!-- |
||
(else:)-->| <div style="font-size:95%;font-weight:bold;"> The pages listed in this category are [[Help:Template|templates]]. </div> |
(else:)-->| <div style="font-size:95%;font-weight:bold;"> The pages listed in this category are [[Help:Template|templates]]. </div>}} |
||
<div style="font-size:95%;padding:0.15em 0;line-height:1.3em;"> This page is part of [[:Category:Wikipedia administration|Wikipedia's administration]] and not part of the encyclopedia. </div> {{#if:{{{ALTTEXT|}}}|<hr/>{{{ALTTEXT}}}<hr/>}} |
<div style="font-size:95%;padding:0.15em 0;line-height:1.3em;"> This page is part of [[:Category:Wikipedia administration|Wikipedia's administration]] and not part of the encyclopedia. </div> {{#if:{{{ALTTEXT|}}}|<hr/>{{{ALTTEXT}}}<hr/>}} |
||
}} |
|||
<!-- |
<!-- |
||
Further template category notes |
Further template category notes |
||
--><div class="mw-collapsible mw-collapsed" style="font-size:90%;padding-top:0.25em;line-height:1.3em;"> |
--><div class="mw-collapsible mw-collapsed" style="font-size:90%;padding-top:0.25em;line-height:1.3em;"> |
||
<div style="border-bottom:1px solid #aaa;font-weight:bold;"> Further 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"> |
||
<p> This [[Help:Category|category]] contains pages in the [[Wikipedia:Template namespace|template namespace]]. It should not be used to categorize [[Wikipedia:What is an article?|articles]] or pages in other [[Help:Namespace|namespaces]]. </p><!-- |
<p> This [[Help:Category|category]] contains pages in the {{#ifeq:{{{type|}}}|module|[[Wikipedia:Module namespace|module namespace]]|[[Wikipedia:Template namespace|template namespace]]}}. It should not be used to categorize [[Wikipedia:What is an article?|articles]] or pages in other [[Help:Namespace|namespaces]]. </p><!-- |
||
Help subsection |
Help subsection |
||
-->{{#if:{{{help|}}}{{{2|}}} <!-- |
-->{{#if:{{{help|}}}{{{2|}}} <!-- |
||
(then:)-->| {{yesno|{{{help|}}} |no={{#if:{{{2|}}}|<p>{{{2}}}</p>}} |yes=<p>{{{help}}}{{{2|}}}</p>|def=<p>{{{help}}}{{{2|}}}</p>}}<!-- |
(then:)-->| {{yesno|{{{help|}}} |no={{#if:{{{2|}}}|<p>{{{2}}}</p>}} |yes=<p>{{{help}}}{{{2|}}}</p>|def=<p>{{{help}}}{{{2|}}}</p>}}<!-- |
||
(else:)-->| <p> To add a template to this category: </p> |
(else:)-->| <p> To add a {{#ifeq:{{{type|}}}|module|module|template}} to this category: </p> |
||
{{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 |
|||
| {{pad}}<kbd>{{brackets|{{FULLPAGENAME}}}}</kbd> |
|||
| to the <nowiki><includeonly></nowiki> section at the bottom of that page. |
|||
}}|{{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 |
|||
| {{pad}}<kbd>[[{{FULLPAGENAME}}]]</kbd> |
| {{pad}}<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}}<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. |
||
}} }} |
}} }} }} |
||
</div> |
</div> |
||
</div> <!--(end "Further template category notes") |
</div> <!--(end "Further template category notes") |
Revision as of 16:36, 30 October 2019
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:
|