Difference between revisions of "Template:Template category"

From The Crowdsourced Resource-Based Economy Knowledgebase
Jump to: navigation, search
 
(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    = [[w:Article message boxes|article message box (ambox)]] templates.'''
+
         |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 [[w:External links|external links]].'''
+
         |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  = [[w::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>
+
         |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    = [[w:WikiProject Stub sorting/Stub types|stub]] templates.'''
+
         |stub    = [[WikiProject Stub sorting/Stub types|stub]] templates.'''
         |timeline = [[w:Timeline|timeline]] templates.'''
+
         |timeline = [[Timeline|timeline]] templates.'''
         |userbox  = [[w:Userboxes|userbox]] templates.'''
+
         |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|Wikipedia's administration]] and not part of the knowledge-base.</div></div> {{#if:{{{ALTTEXT|}}} |<br/><hr/>{{{ALTTEXT}}}<hr/>}}
+
     | <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 11:39, 23 October 2012

Personal tools
Namespaces

Variants
Actions
Navigation
Toolbox
Share