Template:Template category: Difference between revisions
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|}}} |
|||
⚫ | |||
⚫ | |||
------------------- (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> |
||
⚫ | |||
-->{{bigger|Further template category notes}}</th></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><noinclude>[[</nowiki>{{FULLPAGENAME}}<nowiki>]]</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 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><noinclude |
||
⚫ | |||
--><nowiki>]]</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> |
|||
</td> |
|||
</ |
</tr> |
||
⚫ | |||
</tr> |
|||
</table><!-- |
</table><!-- |
||
--></div> |
--></div> |
||
Line 76: | Line 72: | ||
</td> |
</td> |
||
</tr> |
</tr> |
||
</table><includeonly>{{#ifeq:{{NAMESPACE}}|{{ns:14}} |{{{category|[[Category:Wikipedia template categories]]}}} |
</table><includeonly>{{#ifeq:{{NAMESPACE}}|{{ns:14}} |{{{category|[[Category:Wikipedia template categories]]}}}}}</includeonly><noinclude> |
||
{{Documentation}} |
|||
</noinclude> |
Revision as of 12:07, 24 August 2014
|