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
(replaced multiple [.'''])
m (code indent correction)
Line 9: Line 9:


------------------- Container-category message -------------------
------------------- Container-category message -------------------
-->{{#switch:{{{container|}}} |true|yes=<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>}}<!--
-->{{#switch:{{{container|}}}
|true |yes = <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>
}}<!--


------------------- (type /) topic / description -----------------
------------------- (type /) topic / description -----------------
Line 20: Line 18:
-->{{#if:{{{topic|}}}
-->{{#if:{{{topic|}}}
| '''{{#switch:{{lc:{{{type}}}}}
| '''{{#switch:{{lc:{{{type}}}}}
|navbox |navigation |infobox |sidebar = {{ucfirst:{{{type}}}}} templates
|navbox |navigation |navigational |infobox |sidebar = {{ucfirst:{{{type}}}}} templates
|#default = Templates
|#default = Templates
}} relating to {{{topic}}}.<!--
}} relating to {{{topic}}}.<!--
Line 57: Line 55:
--></div>
--></div>
| <div style="font-size:95%;">'''The pages listed in this category are [[Wikipedia:Templates|templates]].''' <div style="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></div> {{#if:{{{ALTTEXT|}}} |<hr/>{{{ALTTEXT}}}<hr/>}}
| <div style="font-size:95%;">'''The pages listed in this category are [[Wikipedia:Templates|templates]].''' <div style="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></div> {{#if:{{{ALTTEXT|}}} |<hr/>{{{ALTTEXT}}}<hr/>}}
}}
}}


<!-------------- 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;">
<table class="collapsible collapsed" style="width:100%;font-size:90%;padding-top:0.25em;background:transparent;line-height:1.3em;">
<tr><th style="border-bottom:1px solid #aaa;text-align:left;"><!--(the following resized here otherwise [show/hide] link also resized:)
<tr><th style="border-bottom:1px solid #aaa;text-align:left;"><!--(the following resized here otherwise [show/hide] link also resized:)-->{{bigger|Further template category notes}}</th></tr>
<tr><td style="padding-top:0.25em;">'''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>
-->{{bigger|Further template category notes}}</th></tr>
<tr>{{#if:{{{help|}}}{{{2|}}} |<td>{{{help}}}</td>
<tr><td style="padding-top:0.25em;">'''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>
| <td style="padding-bottom:0.5em;border-top:1px solid #aaa;">To include a template in this category, add <br/><code style="background:transparent;font-size:110%;overflow:auto;"><nowiki>[[</nowiki>{{FULLPAGENAME}}<nowiki>]]</nowiki></code><br/>to the <nowiki><includeonly></nowiki> section at the bottom of the template's /doc subpage if such a page exists. Otherwise, add <br/><code style="background:transparent;font-size:110%;overflow:auto;"><nowiki>&lt;noinclude&gt;[[</nowiki>{{FULLPAGENAME}}<nowiki>]]&lt;/noinclude&gt;</nowiki></code><br/>to the end of the template code, making sure it starts on the same line as the last character of the code.</td>
<tr>{{#if:{{{help|}}}{{{2|}}} |<td>{{{help}}}</td>
}}</tr>
| <td style="padding-bottom:0.5em;border-top:1px solid #aaa;">To include a template in this category, add <br/><code style="background:transparent;font-size:110%;overflow:auto;"><nowiki>[[</nowiki>{{FULLPAGENAME}}<nowiki>]]</nowiki></code><br/>to the <nowiki><includeonly></nowiki> section at the bottom of the template's /doc subpage if such a page exists. Otherwise, add <br/><code style="background:transparent;font-size:110%;overflow:auto;"><nowiki>&lt;noinclude>[[</nowiki>{{FULLPAGENAME}}<!--
</table>
--><nowiki>]]&lt;/noinclude></nowiki></code><br/>to the end of the template code, making sure it starts on the same line as the last character of the code.</td>
}}</tr>
</td>
</table>
</tr>
</td>
</tr>
</table><!--
</table><!--
--></div>
--></div>
Line 76: Line 72:
</td>
</td>
</tr>
</tr>
</table><includeonly>{{#ifeq:{{NAMESPACE}}|{{ns:14}} |{{{category|[[Category:Wikipedia template categories]]}}} }}</includeonly><!--
</table><includeonly>{{#ifeq:{{NAMESPACE}}|{{ns:14}} |{{{category|[[Category:Wikipedia template categories]]}}}}}</includeonly><noinclude>


--><noinclude>{{Documentation}}</noinclude>
{{Documentation}}
</noinclude>

Revision as of 12:07, 24 August 2014