Template:Template category: Difference between revisions

Nothing to hide, but nothing to show you either.
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=<tr><td style="font-size:115%;padding:0.5em 0;"> '''''Note: Please do not add templates to this category; instead, use one of its subcategories.''''' </td></tr>
|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|}}}
| <tr style="background:#d5e4ed;line-height:1.5em;"><td style="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 |#default=Templates}} relating to {{{topic}}}.'''&nbsp;{{{1|}}}{{{description|}}}
-->{{#if:{{{topic|}}} |'''{{#switch:{{lc:{{{type}}}}} |navbox|navigation|navigational|infobox|sidebar={{ucfirst:{{{type}}}}} templates |#default=Templates}} relating to {{{topic}}}.'''&nbsp;{{{1|}}}{{{description|}}}
| <div><!--(in case 1/description begins with newline:)--> {{{1|}}}{{{description|}}} </div>
| <div><!--(in case 1/description begins with newline:)--> {{{1|}}}{{{description|}}} </div>
}} </td></tr>
}} </div>
}}<!--
}}<!--


type --><tr><td 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 meant to be <!--
Line 48: Line 47:
<!--
<!--
Further template category notes
Further template category notes
--><table class="collapsible collapsed" style="width:100%;font-size:90%;padding-top:0.25em;background:transparent;line-height:1.3em;">
--><div class="mw-collapsible mw-collapsed" style="font-size:90%;padding-top:0.25em;line-height:1.3em;">
<tr><th style="border-bottom:1px solid #aaa;text-align:left;"> Further template category notes </th></tr>
<div style="border-bottom:1px solid #aaa;font-weight:bold;"> Further template category notes </div>
<div class="mw-collapsible-content">
<tr><td> 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]]. </td></tr><!--
<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
--> <tr> {{#if:{{{help|}}}{{{2|}}} <!--
-->{{#if:{{{help|}}}{{{2|}}} <!--
(then:)-->| {{ifdeclined|{{{help|}}} |{{#if:{{{2|}}}|<td>{{{2}}}</td>}} |<td>{{{help}}}{{{2|}}}</td>}}<!--
(then:)-->| {{ifdeclined|{{{help|}}} |{{#if:{{{2|}}}|<p>{{{2}}}</p>}} |<p>{{{help}}}{{{2|}}}</p>}}<!--
(else:)-->| <td> To add a template to this category:
(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|&#91;&#91;{{FULLPAGENAME}}&#93;&#93;}}
| {{pad}}{{mono|&#91;&#91;{{FULLPAGENAME}}&#93;&#93;}}
| 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|&lt;noinclude&gt;&#91;&#91;{{FULLPAGENAME}}&#93;&#93;&lt;/noinclude&gt;}}
| {{pad}}{{mono|&lt;noinclude&gt;&#91;&#91;{{FULLPAGENAME}}&#93;&#93;&lt;/noinclude&gt;}}
| 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.
}} </td> }} </tr>
}} }}
</table> <!--(end "Further template category notes" table)
</div>
</div> <!--(end "Further template category notes")


--></td></tr> <!--(end of "type" row)-->
--></div> <!--(end of "type" div)-->


</table> </div> <!--(end containing table and |text=<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