Template:Template category: Difference between revisions
Jump to navigation
Jump to search
Content added Content deleted
(Re-implemented rhs but within {{stack}}-style table, moved container-category message to top of template (update from sandbox)) |
(surplus blanklines (start-comment positions)) |
||
Line 6: | Line 6: | ||
| image = [[File:Curly Brackets.svg|44px|Template braces|alt=|link=]] |
| image = [[File:Curly Brackets.svg|44px|Template braces|alt=|link=]] |
||
| text = <div> |
| text = <div> |
||
<table style="width:98%;background:none;" cellspacing="0"> |
<table style="width:98%;background:none;" cellspacing="0"><!-- |
||
------------------- Container-category message ------------------- |
|||
{{#switch:{{{container|}}} |
-->{{#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> |
|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 ----------------- |
|||
{{#if:{{{topic|}}}{{{description|}}} |
-->{{#if:{{{topic|}}}{{{description|}}} |
||
| <tr style="background:#d5e4ed;line-height:1.5em;"> |
| <tr style="background:#d5e4ed;line-height:1.5em;"> |
||
<td style="border:1px solid #aaa;padding:0.4em;"><!-- |
<td style="border:1px solid #aaa;padding:0.4em;"><!-- |
||
--><span style="font-size:120%;"><!-- |
--><span style="font-size:120%;"><!-- |
||
-->{{#if:{{{topic|}}} |
-->{{#if:{{{topic|}}} |
||
| '''{{#switch:{{lc:{{{type}}}}} |
| '''{{#switch:{{lc:{{{type}}}}} |
||
| navbox|navigation|infobox|sidebar = {{ucfirst:{{{type}}}}} templates |
| navbox|navigation|infobox|sidebar = {{ucfirst:{{{type}}}}} templates |
||
| #default = Templates |
| #default = Templates |
||
}} relating to {{{topic}}}.<!-- |
}} relating to {{{topic}}}.<!-- |
||
-->''' <!-- |
-->''' <!-- |
||
-->}}{{{1|}}}{{{description|}}}<!-- |
-->}}{{{1|}}}{{{description|}}}<!-- |
||
--></span><!-- |
--></span><!-- |
||
--></td> |
--></td> |
||
</tr> |
</tr> |
||
}} |
}}<!-- |
||
------------------------------ type ------------------------------ |
|||
<tr> |
--><tr> |
||
<td style="line-height:1.3em;padding-top:0.3em;"><!-- |
<td style="line-height:1.3em;padding-top:0.3em;"><!-- |
||
-->{{#if:{{{type|}}} |
-->{{#if:{{{type|}}} |
||
| <div style="font-size:95%;">'''The pages listed in this category are meant to be <!-- |
| <div style="font-size:95%;">'''The pages listed in this category are meant to be <!-- |
||
-->{{#switch:{{lc:{{{type}}}}} |
-->{{#switch:{{lc:{{{type}}}}} |
||
| ambox = [[WP:Manual of Style/Article message boxes|article message box (ambox)]] templates.''' |
| ambox = [[WP:Manual of Style/Article message boxes|article message box (ambox)]] templates.''' |
||
| campaignbox = [[WP:Manual of Style/Military history#Campaignboxes|campaignbox]] templates.''' |
| campaignbox = [[WP:Manual of Style/Military history#Campaignboxes|campaignbox]] templates.''' |
||
| conversion = templates that perform [[MOS:CONVERSIONS|conversions]].''' |
| conversion = templates that perform [[MOS:CONVERSIONS|conversions]].''' |
||
| external link = templates providing [[Wikipedia:External links|external links]].''' |
| external link = templates providing [[Wikipedia:External links|external links]].''' |
||
| formatting = templates that provide [[WP:Formatting|formatting]].''' |
| formatting = templates that provide [[WP:Formatting|formatting]].''' |
||
| function = [[WP:Function templates|function templates]]''', i.e. templates that produce text, images or other elements. |
| function = [[WP:Function templates|function templates]]''', i.e. templates that produce text, images or other elements. |
||
| infobox = [[Help:Infobox|infobox]] templates.''' |
| infobox = [[Help:Infobox|infobox]] templates.''' |
||
| meta = [[:Category:Wikipedia metatemplates|metatemplates]].''' |
| meta = [[:Category:Wikipedia metatemplates|metatemplates]].''' |
||
| navigation | navbox = [[Wikipedia:Navigation templates|navigation templates]].''' |
| navigation | navbox = [[Wikipedia:Navigation templates|navigation templates]].''' |
||
| sidebar = [[:Category:Sidebar templates|sidebar templates]].''' |
| sidebar = [[:Category:Sidebar templates|sidebar templates]].''' |
||
| stub = [[Wikipedia:WikiProject Stub sorting/Stub types|stub]] templates.''' |
| stub = [[Wikipedia:WikiProject Stub sorting/Stub types|stub]] templates.''' |
||
| timeline = [[Wikipedia:Timeline|timeline]] templates.''' |
| timeline = [[Wikipedia:Timeline|timeline]] templates.''' |
||
| userbox = [[Wikipedia:Userboxes|userbox]] templates.''' |
| userbox = [[Wikipedia:Userboxes|userbox]] templates.''' |
||
| #default = {{{1|{{{description|}}}}}} ''' |
| #default = {{{1|{{{description|}}}}}} ''' |
||
| {{{type}}} templates.''' |
| {{{type}}} templates.''' |
||
}}<!-- |
}}<!-- |
||
--></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 ---------------> |
Revision as of 09:06, 13 June 2014
|