Difference between revisions of "Template:Template category"
From MediaWiki
(3 intermediate revisions by one user not shown) | |||
Line 20: | Line 20: | ||
| <div style="padding-top:0.3em; font-size:95%;">'''The pages listed in this category are meant to be <!-- | | <div style="padding-top:0.3em; font-size:95%;">'''The pages listed in this category are meant to be <!-- | ||
-->{{#switch:{{lc:{{{type}}}}} | -->{{#switch:{{lc:{{{type}}}}} | ||
− | |ambox = [[ | + | |ambox = [[Article message boxes|article message box (ambox)]] templates.''' |
|campaignbox = [[w:WikiProject Military history/Style guide#Campaignboxes|campaignbox]] templates.''' | |campaignbox = [[w:WikiProject Military history/Style guide#Campaignboxes|campaignbox]] templates.''' | ||
|conversion = templates that perform conversions.''' | |conversion = templates that perform conversions.''' | ||
− | |external link = templates providing [[ | + | |external link = templates providing [[External links|external links]].''' |
|formatting = templates that provide formatting.''' | |formatting = templates that provide formatting.''' | ||
|function = function templates''', i.e. templates that produce text, images or other elements. | |function = function templates''', i.e. templates that produce text, images or other elements. | ||
|infobox = [[w:Help:Infobox|infobox]] templates.''' | |infobox = [[w:Help:Infobox|infobox]] templates.''' | ||
|meta = metatemplates.''' | |meta = metatemplates.''' | ||
− | |navbox = [[ | + | |navbox = [[Navigation templates|navigational (navbox) templates]].'''<div style="padding:0.15em 0; line-height:1.35em;">If subcategories exist for other types of templates (e.g. [[w:Help:Infobox|infobox]]es) that relate to this topic, they should appear at the start of the subcategories listing immediately below this messagebox.</div> |
− | |stub = [[ | + | |stub = [[WikiProject Stub sorting/Stub types|stub]] templates.''' |
− | |timeline = [[ | + | |timeline = [[Timeline|timeline]] templates.''' |
− | |userbox = [[ | + | |userbox = [[Userboxes|userbox]] templates.''' |
|#default = {{{1|{{{description|}}}}}} ''' | |#default = {{{1|{{{description|}}}}}} ''' | ||
|{{{type}}} templates.''' | |{{{type}}} templates.''' | ||
}}<!--end switch type, the line above rather unclear [how?] | }}<!--end switch type, the line above rather unclear [how?] | ||
--></div> | --></div> | ||
− | | <div style="font-size:95%;">'''The pages listed in this category are [[w:Templates|templates]].''' <div style="padding:0.15em 0; line-height:1.3em;">This page is part of [[:Category:TZMWiki administration| | + | | <div style="font-size:95%;">'''The pages listed in this category are [[w:Templates|templates]].''' <div style="padding:0.15em 0; line-height:1.3em;">This page is part of [[:Category:TZMWiki administration|TZMWiki's administration]] and not part of the knowledge-base.</div></div> {{#if:{{{ALTTEXT|}}} |<br/><hr/>{{{ALTTEXT}}}<hr/>}} |
}} | }} | ||
Line 42: | Line 42: | ||
<table class="collapsible collapsed" style="width:100%; padding-top:0.25em; background:transparent; line-height:1.3em; font-size:90%;"> | <table class="collapsible collapsed" style="width:100%; padding-top:0.25em; background:transparent; line-height:1.3em; font-size:90%;"> | ||
<tr><th style="border-bottom:1px solid #aaa; text-align:left;">{{resize|110%|Further template category notes}}</th></tr> | <tr><th style="border-bottom:1px solid #aaa; text-align:left;">{{resize|110%|Further template category notes}}</th></tr> | ||
− | <tr><td style="padding-top:0.25em;">'''This [[Help:Category|category]] contains pages in the [[w:Template namespace|template namespace]].''' It should not be used to categorize [[w:What is an article?|articles]] or pages in other [[w:Help:Namespace|namespaces]].</td></tr> | + | <tr><td style="padding-top:0.25em;">'''This [[w:Help:Category|category]] contains pages in the [[w:Template namespace|template namespace]].''' It should not be used to categorize [[w:What is an article?|articles]] or pages in other [[w:Help:Namespace|namespaces]].</td></tr> |
<tr>{{#if:{{{help|}}}{{{2|}}}{{{container|}}} | <tr>{{#if:{{{help|}}}{{{2|}}}{{{container|}}} | ||
| {{#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>}} | | {{#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>}} |
Latest revision as of 12:39, 23 October 2012
| |
{{#if:Template braces | Template braces | [[File:{{#switch:notice | speedy = Cmbox deletion.png | delete = Cmbox deletion.png | content = Cmbox content.png | style = Edit-clear.svg | move = Cmbox move.png | protection = Cmbox protection.png | notice | #default = Cmbox notice.png }}|40x40px|link=|alt=]]}} |
}}
|
{{{imageright}}} |
| | speedy | delete | content | style | move | protection | notice =
| #default =This message box is using an invalid "type=notice" parameter and needs fixing.
}}