Template:Template category: Difference between revisions
Jump to navigation
Jump to search
Content added Content deleted
(replace {{brackets}} with [ / ] per edit request) |
(non-tabular content in nested data tables, replaced with tableless layout) |
||
Line 4: | Line 4: | ||
| style = padding-bottom:0.5em; |
| style = padding-bottom:0.5em; |
||
| image = [[File:Curly Brackets.svg|44px|Template braces|alt=|link=]] |
| image = [[File:Curly Brackets.svg|44px|Template braces|alt=|link=]] |
||
| text = <div> |
| text = <div style="width:98%;"><!-- |
||
<table style="width:98%; background:none; border-collapse: collapse;"><!-- |
|||
Container-category message |
Container-category message |
||
-->{{ifaffirmed|1={{{container|}}} |
-->{{ifaffirmed|1={{{container|}}} |
||
|2=< |
|2=<div style="font-size:115%;padding:0.5em 0;"> '''''Note: Please do not add templates to this category; instead, use one of its subcategories.''''' </div> |
||
}}<!-- |
}}<!-- |
||
(type/)topic/description |
(type/)topic/description |
||
-->{{#if:{{{topic|}}}{{{description|}}} |
-->{{#if:{{{topic|}}}{{{description|}}} |
||
| < |
| <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 |#default=Templates}} relating to {{{topic}}}.''' {{{1|}}}{{{description|}}} |
-->{{#if:{{{topic|}}} |'''{{#switch:{{lc:{{{type}}}}} |navbox|navigation|navigational|infobox|sidebar={{ucfirst:{{{type}}}}} templates |#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> |
||
}}<!-- |
}}<!-- |
||
type -->< |
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 meant to be <!-- |
||
Line 48: | Line 47: | ||
<!-- |
<!-- |
||
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 style="border-bottom:1px solid #aaa;font-weight:bold;"> Further template category notes </div> |
||
<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><!-- |
||
Help subsection |
Help subsection |
||
--> |
-->{{#if:{{{help|}}}{{{2|}}} <!-- |
||
(then:)-->| {{ifdeclined|{{{help|}}} |{{#if:{{{2|}}}|< |
(then:)-->| {{ifdeclined|{{{help|}}} |{{#if:{{{2|}}}|<p>{{{2}}}</p>}} |<p>{{{help}}}{{{2|}}}</p>}}<!-- |
||
(else:)-->| < |
(else:)-->| <p> To add a template to this category: </p> |
||
{{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 "Template:''template name''/doc"), add |
| If the template has a separate documentation page (usually called "Template:''template name''/doc"), add |
||
| {{pad}}{{mono|[[{{FULLPAGENAME}}]]}} |
| {{pad}}{{mono|[[{{FULLPAGENAME}}]]}} |
||
| 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}}{{mono|<noinclude>[[{{FULLPAGENAME}}]]</noinclude>}} |
| {{pad}}{{mono|<noinclude>[[{{FULLPAGENAME}}]]</noinclude>}} |
||
| 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> <!--(end "Further template category notes") |
|||
--></ |
--></div> <!--(end of "type" div)--> |
||
</div> <!--(end containing div)--> |
|||
}}<includeonly>{{#ifeq:{{NAMESPACE}}|{{ns:14}} |
}}<includeonly>{{#ifeq:{{NAMESPACE}}|{{ns:14}} |
||
| {{{category|[[Category:Wikipedia template categories]]}}} |
| {{{category|[[Category:Wikipedia template categories]]}}} |
Revision as of 20:40, 16 August 2017
Template:Ifaffirmed 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:
|