Difference between revisions of "Template:Category header"
(Created page with "{{Cmbox | imageright = {{#if:{{{shortcut|{{{shortcut1|}}}}}}|{{Ombox/shortcut|{{{shortcut|{{{shortcut1|}}}}}}|{{{shortcut2|}}}|{{{shortcut3|}}}|{{{shortcut4|}}}|{{{shortcut5|}...") |
Revision as of 12:57, 22 October 2012
| |
{{#if: | {{{image}}} | [[File:{{#switch: | 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=]]}} |
}}
| articles = articles
| audio = audio files
| categories = categories
| images = images
| portals = portals
| redirects = redirects
| stubs = stubs
| templates = templates
| users = users
| pages
}} {{#ifeq:{{{subcategories}}}|no||and}}}} {{#ifeq:{{{subcategories}}}|no||subcategories {{#ifeq:{{{class}}}|admin|of {{#switch:{{{contents}}}
| articles = articles
| audio = audio files
| categories = categories
| images = images
| portals = portals
| redirects = redirects
| stubs = stubs
| templates = templates
| users = users
| pages
}}}}}} {{#ifeq:{{{type}}}|tracking|tagged with
}} {{#if:|{{{first}}}|{{#if:|[[{{{name}}}]]|Category header}}}}{{#ifeq:{{{contents}}}|categories||{{#ifeq:{{{contents}}}|container||{{#ifeq:{{{contents}}}|lists||{{#ifeq:{{{lists}}}|no||{{#ifeq:{{{type}}}|double|, as well as lists of {{#if:|{{{name}}}|Category header}}|{{#ifeq:{{{type}}}|set|, as well as lists of {{#if:|{{{name}}}|Category header}}|{{#ifeq:{{{type}}}|set-and-topic|, as well as lists of {{#if:|{{{name}}}|Category header}}}}}}}}}}}}}}}}}}. {{#ifeq:{{{type}}}|double|{{#if:|For topics related to {{#if:|{{{name}}}|Category header}}, see [[:Category:{{{topic}}}]].}}|{{#ifeq:{{{type}}}|set|{{#if:|For topics related to {{#if:|{{{name}}}|Category header}}, see [[:Category:{{{topic}}}]].}}}}}}{{#switch:{{{class}}} | admin =This category is part of the administration of Wikipedia and is not part of the encyclopaedia. It contains pages that are not articles or it groups articles by status rather than content. 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. This category is a Wikipedia contents page. It is {{#ifeq:Template:Category header|Category:Contents|the highest-level category|one of the highest-level categories}}. | <{{#switch:{{{tag}}} |p=p |span=span |div=div |#default=strong }} class="error">This category is unclassified!</{{#switch:{{{tag}}} |p=p |span=span |div=div |#default=strong }}> }} {{#switch:{{{type}}} | double =This category contains a set of articles and their corresponding topic categories. It should only contain individual {{#if:|{{{name}}}|Category header}} and lists of {{#if:|{{{name}}}|Category header}}. Topics related to the set should be placed in relevant topic categories{{#if:|, such as [[:Category:{{{topic}}}]]}}. {{#if:|Topics related to an individual {{{individual}}} should be placed in the respective topic category.}} {{#if: | {{{demospace}}} | {{#ifeq:Template|Category | category | other }} }} | category = | other | #default = }} | intermediate =This category serves as a cross-over point between two category trees. It should only contain categories. This category contains a set of pages in a particular group. It should only contain individual {{#if:|{{{name}}}|Category header}}, as well as subcategories and lists of {{#if:|{{{name}}}|Category header}}. Topics related to the set {{#if:|or an individual {{{individual}}}}} should be placed in relevant topic categories{{#if:|, such as [[:Category:{{{topic}}}]]}}. {{#if: | {{{demospace}}} | {{#ifeq:Template|Category | category | other }} }} | category = | other | #default = }} | set-and-topic ={{#switch:
{{#if: | {{{demospace}}} | {{#ifeq:Template|Category | category | other }} }} | category = | other | #default = }} | topic =This category contains pages related to a particular topic. This category maintains a 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 hidden on its member pages.|The category is hidden on its member pages, unless the appropriate user preference is set. }} {{#if: | {{{demospace}}} | {{#ifeq:Template|Category | category | other }} }} | category = | other | #default = }} | universal =This tracking category maintains a complete set of all pages within the related category tree. Pages are added to the category automatically. The category is hidden on its member pages, unless the appropriate user preference is set. | <{{#switch:{{{tag}}} |p=p |span=span |div=div |#default=strong }} class="error">This category does not have a type!</{{#switch:{{{tag}}} |p=p |span=span |div=div |#default=strong }}> }} {{#ifeq:{{{container}}}|yes|This category should only contain subcategories. {{#if: | {{{demospace}}} | {{#ifeq:Template|Category | category | other }} }} | category = | other | #default = }}|{{#ifeq:{{{type}}}|double|This category contains articles and categories that are not subcategories. This category should only contain articles. This is a category of audio files. This category contains categories that are not subcategories. This is a category of disambiguation pages This is a category of help pages. This is a category of images. This is a category of lists. This is a category of portals. This category contains pages relating to the administration of Wikipedia. This category contains redirects{{#if:| from {{{from}}}}}{{#if:| to {{{to}}}}}. Do not substitute redirect templates. See Wikipedia:WikiProject Redirect/Style guide for more details on layout. See Wikipedia:Template messages/Redirect pages for a list of redirect templates. {{#if: | {{{demospace}}} | {{#ifeq:Template|Category | category | other }} }} | category = | other | #default = }} | stubs =This is a category of stubs. This is a category of templates. This is a category of Wikipedia users. This category contains a variety of different kinds of pages. | <{{#switch:{{{tag}}} |p=p |span=span |div=div |#default=strong }} class="error">The contents of this category are not defined!</{{#switch:{{{tag}}} |p=p |span=span |div=div |#default=strong }}> }}}}}} |
{{#if:{{#if:| {{#if: