Difference between revisions of "Template:Category header"
From The Crowdsourced Resource-Based Economy Knowledgebase
(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||[[ | + | }} {{#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]] [[ | + | | 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]] [[ | + | | 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]] [[ | + | | 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]] [[ | + | | 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]] [[ | + | | 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]] [[ | + | | 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]] [[ | + | | 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]] [[ | + | | 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]] [[ | + | | 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]] [[ | + | | 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]] [[ | + | {{#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]] [[ | + | | 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]] [[ | + | | 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]] [[ | + | | 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]] [[ | + | | 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]] [[ | + | | 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]] [[ | + | | 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]] [[ | + | | 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]] [[ | + | | 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]] [[ | + | | 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]] [[ | + | | redirects = {{Show|[[w:File:Redirect arrow.svg|20px]] [[w:Categorization#Redirect category|Redirect category]]|This category contains [[w:Redirect|redirects]]{{#if:{{{from|}}}| from {{{from}}}}}{{#if:{{{to|}}}| 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]] [[ | + | | 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]] [[ | + | | 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]] [[ | + | | 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]] [[ | + | | 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
40x40px | This category is unclassified! This category does not have a type! The contents of this category are not defined! |