Jump to content

Template:Category header: Difference between revisions

Created page with "{{Cmbox | imageright = {{#if:{{{shortcut|{{{shortcut1|{{{sc1|{{{sc|}}}}}}}}}}}}|{{Ombox/shortcut|{{{shortcut|{{{shortcut1|{{{sc|{{{sc1|}}}}}}}}}}}}|{{{shortcut2|{{{sc2|}}}}}}|{{{shortcut3|{{{sc3|}}}}}}|{{{shortcut4|{{{sc4|}}}}}}|{{{shortcut5|{{{sc5|}}}}}}}}}} | text = <div style="text-align: center;">This category contains {{#ifeq:{{{container}}}|yes||{{#switch:{{{contents}}} | articles = articles | audio = audio files | categories = cat..."
 
m Text replacement - "Wikipedia" to "Chabadpedia "
Tags: Mobile edit Mobile web edit
 
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||[[Chabadpedia
:Categorization#Subcategorization|subcategories]] {{#ifeq:{{{class}}}|admin|of {{#switch:{{{contents}}}
  | articles  = articles
  | articles  = articles
  | audio      = audio files
  | audio      = audio files
Line 30: Line 31:


{{#switch:{{{class}}}
{{#switch:{{{class}}}
| admin    = {{Show|[[File:Wikipedia-logo.svg|20px]] [[Wikipedia:Categorization#Wikipedia administrative categories|Administrative 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|[[File:Chabadpedia
| 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.}}
-logo.svg|20px]] [[Chabadpedia
| 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}}.}}
:Categorization#Chabadpedia
administrative categories|Administrative category]]|This category is part of the administration of Chabadpedia
and is not part of the encyclopaedia. It contains pages that are not [[Chabadpedia
:What is an article?|articles]] or it groups articles by status rather than content.}}
| content  = {{Show|[[File:Wiki puzzle.svg|20px]] [[Chabadpedia
: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:Chabadpedia
svg logo-en.svg|20px]] [[Chabadpedia
:Categorization#Contents category|Contents category]]|This category is a Chabadpedia
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]] [[Chabadpedia
| 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.}}
:Categorization#Double category|Double category]]|This category contains a [[Chabadpedia
| 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]]}}
:Categorization#Set category|set]] of articles and their corresponding [[Chabadpedia
| 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]]}}
: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 [[Chabadpedia
| topic        = {{Show|[[File:Big Book blue.svg|20px]] [[Wikipedia:Categorization#Topic category|Topic category]]|This category contains pages related to a particular topic.}}
: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]]}}
| tracking      = {{Show|[[File:Magnifying glass 01.svg|20px]] 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]]}}
| intermediate  = {{Show|[[File:Venn0001.svg|20px]] [[Chabadpedia
| universal    = {{Show|[[File:Globe.svg|20px]] [[Wikipedia:Categorization#Universal category|Universal category]]|This 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__
: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]] [[Chabadpedia
: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 [[Chabadpedia
: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]] [[Chabadpedia
:Categorization#Set-and-topic category|Set-and-topic category]] [[File:Big Book blue.svg|20px]]|This category contains a [[Chabadpedia
:Categorization#Set category|set]] of pages in a particular group, as well as [[Chabadpedia
:Categorization#Topic category|topics]] related to the set.}}{{Category other|[[Category:Set categories]]}}
| topic        = {{Show|[[File:Big Book blue.svg|20px]] [[Chabadpedia
:Categorization#Topic category|Topic category]]|This category contains pages related to a particular topic.}}
| tracking      = {{Show|[[File:Magnifying glass 01.svg|20px]] Tracking category|This category maintains a [[Chabadpedia
: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 [[Chabadpedia
:Categorization#Hidden category|hidden]] on its member pages.|The category is [[Chabadpedia
: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]] [[Chabadpedia
:Categorization#Universal category|Universal category]]|This tracking category maintains a complete [[Chabadpedia
:Categorization#Set category|set]] of all pages within the related category tree. Pages are added to the category automatically. The category is [[Chabadpedia
: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|[[File:Wood Box.jpg|20px]] [[Chabadpedia
  | articles      = {{Show|[[File:Article.svg|20px]] [[Wikipedia:Categorization#Article category|Article category]]|This category should only contain [[Wikipedia:What is an article?|articles]].}}
:Categorization#Container category|Container category]]|This category should only contain subcategories.}}{{Category other|[[Category:Container categories]]}}|{{#ifeq:{{{type}}}|double|{{Show|[[File:Article.svg|20px]] [[Chabadpedia
  | 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]].}}
:Categorization#Article category|Article]] and [[Chabadpedia
  | categories    = {{Show|[[File:Sub-arrows 2.svg|20px]] [[Wikipedia:Categorization#Category category|Category category]]|This category contains categories that are not subcategories.}}
:Categorization#Category category|category]] category [[File:Sub-arrows 2.svg|20px]]|This category contains [[Chabadpedia
  | disambiguation = {{Show|[[File:Disambiguation.svg|20px]] [[Wikipedia:Categorization#Disambiguation page category|Disambiguation page category]]|This is a category of [[Wikipedia:Disambiguation|disambiguation]] pages}}
:What is an article?|articles]] and categories that are not subcategories.}}|{{#switch:{{{contents}}}
  | help          = {{Show|[[File:Nuvola apps filetypes.svg|20px]] [[Wikipedia:Categorization#Help category|Help category]]|This is a category of [[Help:Contents|help]] pages.}}
  | articles      = {{Show|[[File:Article.svg|20px]] [[Chabadpedia
  | images        = {{Show|[[File:Example.png|20px]] [[Wikipedia:Categorization#Image category|Image category]]|This is a category of [[Wikipedia:Images|images]].}}
:Categorization#Article category|Article category]]|This category should only contain [[Chabadpedia
  | lists          = {{Show|[[File:List.svg|20px]] [[Wikipedia:Categorization#List category|List category]]|This is a category of [[Wikipedia:Manual of Style/Lists|lists]].}}
:What is an article?|articles]].}}
  | portals        = {{Show|[[File:Portal icon.svg|20px]] [[Wikipedia:Categorization#Portal category|Portal category]]|This is a category of [[Wikipedia:Portal|portals]].}}
  | audio          = {{Show|[[File:Sound-icon.svg|20px]] [[Chabadpedia
  | 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.}}
:Categorization#Audio category|Audio category]]|This is a category of [[Chabadpedia
  | 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]]}}
:Creation and usage of media files#Audio|audio files]].}}
  | stubs          = {{Show|[[File:Stub W.svg|20px]] [[Wikipedia:Categorization#Stub category|Stub category]]|This is a category of [[Wikipedia:Stub|stubs]].}}
  | categories    = {{Show|[[File:Sub-arrows 2.svg|20px]] [[Chabadpedia
  | templates      = {{Show|[[File:Curly Brackets.svg|20px]] [[Wikipedia:Categorization#Template category|Template category]]|This is a category of [[Help:Template|templates]].}}
:Categorization#Category category|Category category]]|This category contains categories that are not subcategories.}}
  | users          = {{Show|[[File:User.svg|20px]] [[Wikipedia:Categorization#User page category|User page category]]|This is a category of [[Wikipedia:Wikipedians|Wikipedia users]].}}
  | disambiguation = {{Show|[[File:Disambiguation.svg|20px]] [[Chabadpedia
  | variety        = {{Show|[[File:Psychedelic dingbats.png|20px]] [[Wikipedia:Categorization#Variety category|Variety category]]|This category contains a variety of different kinds of pages.}}
:Categorization#Disambiguation page category|Disambiguation page category]]|This is a category of [[Chabadpedia
:Disambiguation|disambiguation]] pages}}
  | help          = {{Show|[[File:Nuvola apps filetypes.svg|20px]] [[Chabadpedia
:Categorization#Help category|Help category]]|This is a category of [[Help:Contents|help]] pages.}}
  | images        = {{Show|[[File:Example.png|20px]] [[Chabadpedia
:Categorization#Image category|Image category]]|This is a category of [[Chabadpedia
:Images|images]].}}
  | lists          = {{Show|[[File:List.svg|20px]] [[Chabadpedia
:Categorization#List category|List category]]|This is a category of [[Chabadpedia
:Manual of Style/Lists|lists]].}}
  | portals        = {{Show|[[File:Portal icon.svg|20px]] [[Chabadpedia
:Categorization#Portal category|Portal category]]|This is a category of [[Chabadpedia
:Portal|portals]].}}
  | project        = {{Show|[[File:Namespace Chabadpedia
.svg|20px]] [[Chabadpedia
:Categorization#Project page category|Project page category]]|This category contains pages relating to the administration of Chabadpedia
.}}
  | redirects      = {{Show|[[File:Redirect arrow.svg|20px]] [[Chabadpedia
:Categorization#Redirect category|Redirect category]]|This category contains [[Chabadpedia
:Redirect|redirects]]{{#if:{{{from|}}}|&#32;from {{{from}}}}}{{#if:{{{to|}}}|&#32;to {{{to}}}}}.<br><small>Do not [[Chabadpedia
:Substitution|substitute]] redirect templates. See [[Chabadpedia
:WikiProject Redirect/Style guide]] for more details on layout.<br/>See [[Chabadpedia
:Template messages/Redirect pages]] for a list of redirect templates.</small>}}{{Category other|[[Category:All redirect categories]]}}
  | stubs          = {{Show|[[File:Stub W.svg|20px]] [[Chabadpedia
:Categorization#Stub category|Stub category]]|This is a category of [[Chabadpedia
:Stub|stubs]].}}
  | templates      = {{Show|[[File:Curly Brackets.svg|20px]] [[Chabadpedia
:Categorization#Template category|Template category]]|This is a category of [[Help:Template|templates]].}}
  | users          = {{Show|[[File:User.svg|20px]] [[Chabadpedia
:Categorization#User page category|User page category]]|This is a category of [[Chabadpedia
:Chabadpedia
ns|Chabadpedia
users]].}}
  | variety        = {{Show|[[File:Psychedelic dingbats.png|20px]] [[Chabadpedia
: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!}}
  }}
  }}

Latest revision as of 14:47, 17 April 2025