Difference between revisions of "Template:Template category"

From MediaWiki
Jump to: navigation, search
(Created page with "{{Cmbox |type = notice |image = link= |text = <div> <table style="width:98%; background:none;" cellspacing="0"> <!-----...")
 
Line 26: Line 26:
 
         |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  = [[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  = [[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>
 
         |stub    = [[w:WikiProject Stub sorting/Stub types|stub]] templates.'''
 
         |stub    = [[w:WikiProject Stub sorting/Stub types|stub]] templates.'''
 
         |timeline = [[w:Timeline|timeline]] templates.'''
 
         |timeline = [[w:Timeline|timeline]] templates.'''
Line 36: Line 36:
 
         }}<!--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|TZMWiki'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|Wikipedia'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 [[Wikipedia:What is an article?|articles]] or pages in other [[Help:Namespace|namespaces]].</td></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>{{#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>}}

Revision as of 14:40, 22 October 2012

{{#ifeq:Template braces|none | | }}

{{#if:

|

}}

{{#switch:notice

| | speedy | delete | content | style | move | protection | notice =

| #default =
This message box is using an invalid "type=notice" parameter and needs fixing.

}}

Personal tools
Namespaces

Variants
Actions
Navigation
Toolbox