Difference between revisions of "Template:Category header"

From The Crowdsourced Resource-Based Economy Knowledgebase
Jump to: navigation, search
(Created page with "{{Cmbox | imageright = {{#if:{{{shortcut|{{{shortcut1|}}}}}}|{{Ombox/shortcut|{{{shortcut|{{{shortcut1|}}}}}}|{{{shortcut2|}}}|{{{shortcut3|}}}|{{{shortcut4|}}}|{{{shortcut5|}...")
 
 
Line 1: Line 1:
 
{{Cmbox
 
{{Cmbox
 
| imageright = {{#if:{{{shortcut|{{{shortcut1|}}}}}}|{{Ombox/shortcut|{{{shortcut|{{{shortcut1|}}}}}}|{{{shortcut2|}}}|{{{shortcut3|}}}|{{{shortcut4|}}}|{{{shortcut5|}}}}}}}
 
| imageright = {{#if:{{{shortcut|{{{shortcut1|}}}}}}|{{Ombox/shortcut|{{{shortcut|{{{shortcut1|}}}}}}|{{{shortcut2|}}}|{{{shortcut3|}}}|{{{shortcut4|}}}|{{{shortcut5|}}}}}}}
| text      = <center>This [[Help:Category|category]] contains {{#ifeq:{{{container}}}|yes||{{#switch:{{{contents}}}
+
| text      = <center>This [[w:Help:Category|category]] contains {{#ifeq:{{{container}}}|yes||{{#switch:{{{contents}}}
 
  | articles  = articles
 
  | articles  = articles
 
  | audio      = audio files
 
  | audio      = audio files
Line 12: Line 12:
 
  | users      = users
 
  | users      = users
 
  | pages
 
  | pages
  }} {{#ifeq:{{{subcategories}}}|no||and}}}} {{#ifeq:{{{subcategories}}}|no||[[Wikipedia:Categorization#Subcategorization|subcategories]] {{#ifeq:{{{class}}}|admin|of {{#switch:{{{contents}}}
+
  }} {{#ifeq:{{{subcategories}}}|no||and}}}} {{#ifeq:{{{subcategories}}}|no||[[w:Categorization#Subcategorization|subcategories]] {{#ifeq:{{{class}}}|admin|of {{#switch:{{{contents}}}
 
  | articles  = articles
 
  | articles  = articles
 
  | audio      = audio files
 
  | audio      = audio files
Line 30: Line 30:
  
 
{{#switch:{{{class}}}
 
{{#switch:{{{class}}}
| admin    = {{Show|[[File:Wikipedia-logo.png|20px]] [[Wikipedia:Categorization#Administration category|Administration category]]|This category is part of the administration of Wikipedia and is not part of the encyclopaedia. It contains pages that are not [[Wikipedia:What is an article?|articles]] or it groups articles by status rather than content.}}
+
| admin    = {{Show|[[w:File:Wikipedia-logo.png|20px]] [[w:Categorization#Administration category|Administration category]]|This category is part of the administration of TZMWiki and is not part of the knowledge-base. It contains pages that are not [[w:What is an article?|articles]] or it groups articles by status rather than content.}}
| content  = {{Show|[[File:Wiki puzzle.svg|20px]] [[Wikipedia:Categorization#Content category|Content category]]|This category is part of the encyclopaedia. It should only contain articles and/or subcategories. Related administration pages should be linked, not included in the category.}}
+
| content  = {{Show|[[w:File:Wiki puzzle.svg|20px]] [[w:Categorization#Content category|Content category]]|This category is part of the encyclopaedia. It should only contain articles and/or subcategories. Related administration pages should be linked, not included in the category.}}
| contents = {{Show|[[File:Wikipedia svg logo-en.svg|20px]] [[Wikipedia:Categorization#Contents category|Contents category]]|This category is a Wikipedia contents page. It is {{#ifeq:{{FULLPAGENAME}}|Category:Contents|the highest-level category|one of the highest-level categories}}.}}
+
| contents = {{Show|[[w:File:Wikipedia svg logo-en.svg|20px]] [[w:Categorization#Contents category|Contents category]]|This category is a TZMWiki contents page. It is {{#ifeq:{{FULLPAGENAME}}|Category:Contents|the highest-level category|one of the highest-level categories}}.}}
 
| {{Error|This category is unclassified!}}
 
| {{Error|This category is unclassified!}}
 
}}
 
}}
  
 
{{#switch:{{{type}}}
 
{{#switch:{{{type}}}
| double        = {{Show|[[File:Double-arrow.svg|20px]] [[Wikipedia:Categorization#Double category|Double category]]|This category contains a [[Wikipedia:Categorization#Set category|set]] of articles and their corresponding [[Wikipedia:Categorization#Topic category|topic categories]]. It should only contain individual {{#if:{{{name|}}}|{{{name}}}|{{PAGENAME}}}} and lists of {{#if:{{{name|}}}|{{{name}}}|{{PAGENAME}}}}. Topics related to the set should be placed in relevant [[Wikipedia:Categorization#Topic category|topic categories]]{{#if:{{{topic|}}}|, such as [[:Category:{{{topic}}}]]}}. {{#if:{{{individual|}}}|Topics related to an individual {{{individual}}} should be placed in the respective topic category.}}}}{{Category other|[[Category:Double categories]]}}
+
| double        = {{Show|[[File:Double-arrow.svg|20px]] [[w:Categorization#Double category|Double category]]|This category contains a [[w:Categorization#Set category|set]] of articles and their corresponding [[w:Categorization#Topic category|topic categories]]. It should only contain individual {{#if:{{{name|}}}|{{{name}}}|{{PAGENAME}}}} and lists of {{#if:{{{name|}}}|{{{name}}}|{{PAGENAME}}}}. Topics related to the set should be placed in relevant [[w:Categorization#Topic category|topic categories]]{{#if:{{{topic|}}}|, such as [[:Category:{{{topic}}}]]}}. {{#if:{{{individual|}}}|Topics related to an individual {{{individual}}} should be placed in the respective topic category.}}}}{{Category other|[[Category:Double categories]]}}
| intermediate  = {{Show|[[File:Venn0001.svg|20px]] [[Wikipedia:Categorization#Intermediate category|Intermediate category]]|This category serves as a cross-over point between two category trees. It should only contain categories.}}
+
| intermediate  = {{Show|[[File:Venn0001.svg|20px]] [[w:Categorization#Intermediate category|Intermediate category]]|This category serves as a cross-over point between two category trees. It should only contain categories.}}
| set          = {{Show|[[File:Easter-Eggs no background.gif|20px]] [[Wikipedia:Categorization#Set category|Set category]]|This category contains a set of pages in a particular group. It should only contain individual {{#if:{{{name|}}}|{{{name}}}|{{PAGENAME}}}}, as well as subcategories and lists of {{#if:{{{name|}}}|{{{name}}}|{{PAGENAME}}}}. Topics related to the set {{#if:{{{individual|}}}|or an individual {{{individual}}}}} should be placed in relevant [[Wikipedia:Categorization#Topic category|topic categories]]{{#if:{{{topic|}}}|, such as [[:Category:{{{topic}}}]]}}.}}{{Category other|[[Category:Set categories]]}}
+
| set          = {{Show|[[File:Easter-Eggs no background.gif|20px]] [[w:Categorization#Set category|Set category]]|This category contains a set of pages in a particular group. It should only contain individual {{#if:{{{name|}}}|{{{name}}}|{{PAGENAME}}}}, as well as subcategories and lists of {{#if:{{{name|}}}|{{{name}}}|{{PAGENAME}}}}. Topics related to the set {{#if:{{{individual|}}}|or an individual {{{individual}}}}} should be placed in relevant [[w:Categorization#Topic category|topic categories]]{{#if:{{{topic|}}}|, such as [[:Category:{{{topic}}}]]}}.}}{{Category other|[[Category:Set categories]]}}
| set-and-topic = {{Show|[[File:Easter-Eggs no background.gif|20px]] [[Wikipedia:Categorization#Set-and-topic category|Set-and-topic category]] [[File:Big Book blue.svg|20px]]|This category contains a [[Wikipedia:Categorization#Set category|set]] of pages in a particular group, as well as [[Wikipedia:Categorization#Topic category|topics]] related to the set.}}{{Category other|[[Category:Set categories]]}}
+
| set-and-topic = {{Show|[[File:Easter-Eggs no background.gif|20px]] [[w:Categorization#Set-and-topic category|Set-and-topic category]] [[File:Big Book blue.svg|20px]]|This category contains a [[w:Categorization#Set category|set]] of pages in a particular group, as well as [[w:Categorization#Topic category|topics]] related to the set.}}{{Category other|[[Category:Set categories]]}}
| topic        = {{Show|[[File:Big Book blue.svg|20px]] [[Wikipedia:Categorization#Topic category|Topic category]]|This category contains pages related to a particular topic.}}
+
| topic        = {{Show|[[File:Big Book blue.svg|20px]] [[w:Categorization#Topic category|Topic category]]|This category contains pages related to a particular topic.}}
| tracking      = {{Show|[[File:Magnifying glass 01.svg|20px]] [[Wikipedia:Categorization#Tracking category|Tracking category]]|This category maintains a [[Wikipedia:Categorization#Set category|set]] of pages tagged with a particular template. Pages are automatically added to the category or one of its subcategories. {{#ifeq:{{{hidden}}}|no|The category is not [[Wikipedia:Categorization#Hidden category|hidden]] on its member pages.|The category is [[Wikipedia:Categorization#Hidden category|hidden]] on its member pages, unless the appropriate [[Special:Preferences|user preference]] is set. __HIDDENCAT__}}}}{{Category other|[[Category:Tracking categories]]}}
+
| tracking      = {{Show|[[File:Magnifying glass 01.svg|20px]] [[w:Categorization#Tracking category|Tracking category]]|This category maintains a [[w:Categorization#Set category|set]] of pages tagged with a particular template. Pages are automatically added to the category or one of its subcategories. {{#ifeq:{{{hidden}}}|no|The category is not [[w:Categorization#Hidden category|hidden]] on its member pages.|The category is [[w:Categorization#Hidden category|hidden]] on its member pages, unless the appropriate [[Special:Preferences|user preference]] is set. __HIDDENCAT__}}}}{{Category other|[[Category:Tracking categories]]}}
| universal    = {{Show|[[File:Globe.svg|20px]] [[Wikipedia:Categorization#Universal category|Universal category]]|This [[Wikipedia:Categorization#Tracking category|tracking category]] maintains a complete [[Wikipedia:Categorization#Set category|set]] of all pages within the related category tree. Pages are added to the category automatically. The category is [[Wikipedia:Categorization#Hidden category|hidden]] on its member pages, unless the appropriate [[Special:Preferences|user preference]] is set.}} __HIDDENCAT__
+
| universal    = {{Show|[[File:Globe.svg|20px]] [[w:Categorization#Universal category|Universal category]]|This [[w:Categorization#Tracking category|tracking category]] maintains a complete [[w:Categorization#Set category|set]] of all pages within the related category tree. Pages are added to the category automatically. The category is [[w:Categorization#Hidden category|hidden]] on its member pages, unless the appropriate [[Special:Preferences|user preference]] is set.}} __HIDDENCAT__
 
| {{Error|This category does not have a type!}}
 
| {{Error|This category does not have a type!}}
 
}}
 
}}
  
{{#ifeq:{{{container}}}|yes|{{Show|[[File:Wood Box.jpg|20px]] [[Wikipedia:Categorization#Container category|Container category]]|This category should only contain subcategories.}}{{Category other|[[Category:Container categories]]}}|{{#ifeq:{{{type}}}|double|{{Show|[[File:Article.svg|20px]] [[Wikipedia:Categorization#Article category|Article]] and [[Wikipedia:Categorization#Category category|category]] category [[File:Sub-arrows 2.svg|20px]]|This category contains [[Wikipedia:What is an article?|articles]] and categories that are not subcategories.}}|{{#switch:{{{contents}}}
+
{{#ifeq:{{{container}}}|yes|{{Show|[[w:File:Wood Box.jpg|20px]] [[w:Categorization#Container category|Container category]]|This category should only contain subcategories.}}{{Category other|[[Category:Container categories]]}}|{{#ifeq:{{{type}}}|double|{{Show|[[File:Article.svg|20px]] [[w:Categorization#Article category|Article]] and [[w:Categorization#Category category|category]] category [[File:Sub-arrows 2.svg|20px]]|This category contains [[w:What is an article?|articles]] and categories that are not subcategories.}}|{{#switch:{{{contents}}}
  | articles      = {{Show|[[File:Article.svg|20px]] [[Wikipedia:Categorization#Article category|Article category]]|This category should only contain [[Wikipedia:What is an article?|articles]].}}
+
  | articles      = {{Show|[[w:File:Article.svg|20px]] [[w:Categorization#Article category|Article category]]|This category should only contain [[w:What is an article?|articles]].}}
  | audio          = {{Show|[[File:Sound-icon.svg|20px]] [[Wikipedia:Categorization#Audio category|Audio category]]|This is a category of [[Wikipedia:Creation and usage of media files#Audio|audio files]].}}
+
  | audio          = {{Show|[[w:File:Sound-icon.svg|20px]] [[w:Categorization#Audio category|Audio category]]|This is a category of [[w:Creation and usage of media files#Audio|audio files]].}}
  | categories    = {{Show|[[File:Sub-arrows 2.svg|20px]] [[Wikipedia:Categorization#Category category|Category category]]|This category contains categories that are not subcategories.}}
+
  | categories    = {{Show|[[w:File:Sub-arrows 2.svg|20px]] [[w:Categorization#Category category|Category category]]|This category contains categories that are not subcategories.}}
  | disambiguation = {{Show|[[File:Disambiguation.svg|20px]] [[Wikipedia:Categorization#Disambiguation page category|Disambiguation page category]]|This is a category of [[Wikipedia:Disambiguation|disambiguation]] pages}}
+
  | disambiguation = {{Show|[[w:File:Disambiguation.svg|20px]] [[w:Categorization#Disambiguation page category|Disambiguation page category]]|This is a category of [[w:Disambiguation|disambiguation]] pages}}
  | help          = {{Show|[[File:Nuvola apps filetypes.svg|20px]] [[Wikipedia:Categorization#Help category|Help category]]|This is a category of [[Help:Contents|help]] pages.}}
+
  | help          = {{Show|[[w:File:Nuvola apps filetypes.svg|20px]] [[w:Categorization#Help category|Help category]]|This is a category of [[Help:Contents|help]] pages.}}
  | images        = {{Show|[[File:Example.png|20px]] [[Wikipedia:Categorization#Image category|Image category]]|This is a category of [[Wikipedia:Images|images]].}}
+
  | images        = {{Show|[[w:File:Example.png|20px]] [[w:Categorization#Image category|Image category]]|This is a category of [[w:Images|images]].}}
  | lists          = {{Show|[[File:List.svg|20px]] [[Wikipedia:Categorization#List category|List category]]|This is a category of [[Wikipedia:Manual of Style/Lists|lists]].}}
+
  | lists          = {{Show|[[w:File:List.svg|20px]] [[w:Categorization#List category|List category]]|This is a category of [[w:Manual of Style/Lists|lists]].}}
  | portals        = {{Show|[[File:Portal icon.svg|20px]] [[Wikipedia:Categorization#Portal category|Portal category]]|This is a category of [[Wikipedia:Portal|portals]].}}
+
  | portals        = {{Show|[[w:File:Portal icon.svg|20px]] [[w:Categorization#Portal category|Portal category]]|This is a category of [[w:Portal|portals]].}}
  | project        = {{Show|[[File:Namespace Wikipedia.svg|20px]] [[Wikipedia:Categorization#Project page category|Project page category]]|This category contains pages relating to the administration of Wikipedia.}}
+
  | project        = {{Show|[[w:File:Namespace Wikipedia.svg|20px]] [[w:Categorization#Project page category|Project page category]]|This category contains pages relating to the administration of TZMWiki.}}
  | redirects      = {{Show|[[File:Redirect arrow.svg|20px]] [[Wikipedia:Categorization#Redirect category|Redirect category]]|This category contains [[Wikipedia:Redirect|redirects]]{{#if:{{{from|}}}|&#32;from {{{from}}}}}{{#if:{{{to|}}}|&#32;to {{{to}}}}}.<br><small>Do not [[Wikipedia:Substitution|substitute]] redirect templates. See [[Wikipedia:WikiProject Redirect/Style guide]] for more details on layout.<br/>See [[Wikipedia:Template messages/Redirect pages]] for a list of redirect templates.</small>}}{{Category other|[[Category:All redirect categories]]}}
+
  | redirects      = {{Show|[[w:File:Redirect arrow.svg|20px]] [[w:Categorization#Redirect category|Redirect category]]|This category contains [[w:Redirect|redirects]]{{#if:{{{from|}}}|&#32;from {{{from}}}}}{{#if:{{{to|}}}|&#32;to {{{to}}}}}.<br><small>Do not [[w:Substitution|substitute]] redirect templates. See [[w:WikiProject Redirect/Style guide]] for more details on layout.<br/>See [[w:Template messages/Redirect pages]] for a list of redirect templates.</small>}}{{Category other|[[Category:All redirect categories]]}}
  | stubs          = {{Show|[[File:Stub W.svg|20px]] [[Wikipedia:Categorization#Stub category|Stub category]]|This is a category of [[Wikipedia:Stub|stubs]].}}
+
  | stubs          = {{Show|[[w:File:Stub W.svg|20px]] [[w:Categorization#Stub category|Stub category]]|This is a category of [[w:Stub|stubs]].}}
  | templates      = {{Show|[[File:Curly Brackets.svg|20px]] [[Wikipedia:Categorization#Template category|Template category]]|This is a category of [[Help:Template|templates]].}}
+
  | templates      = {{Show|[[File:Curly Brackets.svg|20px]] [[w:Categorization#Template category|Template category]]|This is a category of [[Help:Template|templates]].}}
  | users          = {{Show|[[File:User.svg|20px]] [[Wikipedia:Categorization#User page category|User page category]]|This is a category of [[Wikipedia:Wikipedians|Wikipedia users]].}}
+
  | users          = {{Show|[[w:File:User.svg|20px]] [[w:Categorization#User page category|User page category]]|This is a category of [[w:Wikipedians|TZMWiki users]].}}
  | variety        = {{Show|[[File:Psychedelic dingbats.png|20px]] [[Wikipedia:Categorization#Variety category|Variety category]]|This category contains a variety of different kinds of pages.}}
+
  | variety        = {{Show|[[w:File:Psychedelic dingbats.png|20px]] [[w:Categorization#Variety category|Variety category]]|This category contains a variety of different kinds of pages.}}
 
  | {{Error|The contents of this category are not defined!}}
 
  | {{Error|The contents of this category are not defined!}}
 
  }}
 
  }}
 
}}}}}}{{Single namespace|category}}
 
}}}}}}{{Single namespace|category}}

Latest revision as of 16:14, 22 October 2012

Personal tools
Namespaces

Variants
Actions
Navigation
Toolbox
Share