Template:Template category: Difference between revisions
Jump to navigation
Jump to search
Content added Content deleted
(Removed rhs as this probably better-handled using e.g. {{stack}} (will add example to documentation)) |
(Re-implemented rhs but within {{stack}}-style table, moved container-category message to top of template (update from sandbox)) |
||
Line 1: | Line 1: | ||
<table class="mw-stack"<!--(see {{Stack}})--> style="width:100%;margin:0;padding:0;"> |
|||
⚫ | |||
⚫ | |||
⚫ | |||
<td>{{{rhs|}}} |
|||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
<!------------------ |
<!----------------- 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> |
|||
| <tr style="background:#d5e4ed;line-height:1.5em;"> |
|||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
}} |
|||
<! |
<!----------------- (type /) topic / description -----------------> |
||
{{#if:{{{topic|}}}{{{description|}}} |
|||
⚫ | |||
< |
| <tr style="background:#d5e4ed;line-height:1.5em;"> |
||
⚫ | |||
⚫ | |||
--><span style="font-size:120%;"><!-- |
|||
-->{{# |
-->{{#if:{{{topic|}}} |
||
⚫ | |||
⚫ | |||
| navbox|navigation|infobox|sidebar = {{ucfirst:{{{type}}}}} templates |
|||
| #default = Templates |
|||
}} relating to {{{topic}}}.<!-- |
|||
-->''' <!-- |
|||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
}} |
|||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
| {{{type}}} templates.''' |
|||
⚫ | |||
⚫ | |||
⚫ | | <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|}}} | |
||
⚫ | |||
<!-------------- |
<!---------------------------- type ------------------------------> |
||
⚫ | |||
⚫ | |||
<td style="line-height:1.3em;padding-top:0.3em;"><!-- |
|||
⚫ | |||
⚫ | |||
⚫ | |||
| <div style="font-size:95%;">'''The pages listed in this category are meant to be <!-- |
|||
⚫ | |||
⚫ | |||
| {{#ifeq:{{{help|}}}|no | |<td style="border-top:1px solid #aaa;">{{#ifeq:{{{container|}}}|yes |'''Do not add templates to this category: instead, use the appropriate sub-category.''' |{{{help}}} }}</td>}} |
|||
⚫ | |||
⚫ | | <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}}<!-- |
||
| campaignbox = [[WP:Manual of Style/Military history#Campaignboxes|campaignbox]] templates.''' |
|||
| conversion = templates that perform [[MOS:CONVERSIONS|conversions]].''' |
|||
| external link = templates providing [[Wikipedia:External links|external links]].''' |
|||
| formatting = templates that provide [[WP:Formatting|formatting]].''' |
|||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | | <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 ---------------> |
|||
⚫ | |||
<tr><th style="border-bottom:1px solid #aaa;text-align:left;"><!--(the following resized here otherwise [show/hide] link also resized:) |
|||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | | <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> |
--><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> |
}}</tr> |
||
</table> |
</table> |
||
</td> |
</td> |
||
</tr> |
</tr> |
||
</table> |
</table><!-- |
||
</div> |
--></div> |
||
}}<!--(end Cmbox)--> |
|||
⚫ | |||
⚫ | |||
</tr> |
|||
⚫ | |||
--><noinclude>{{Documentation}}</noinclude> |
--><noinclude>{{Documentation}}</noinclude> |
Revision as of 00:13, 13 June 2014
|