Jump to content

Template:Category header: Difference between revisions

From BattleIntelligence
imported>Deadfire
m updating
 
m Text replacement - "BattleTechWiki" to "BattleIntelligence"
 
Line 11: Line 11:
  | users      = users
  | users      = users
  | pages
  | pages
  }} {{#ifeq:{{{subcategories}}}|no||and}}}} {{#ifeq:{{{subcategories}}}|no||[[BattleTechWiki:Categorization#Subcategorization|subcategories]] {{#ifeq:{{{class}}}|admin|of {{#switch:{{{contents}}}
  }} {{#ifeq:{{{subcategories}}}|no||and}}}} {{#ifeq:{{{subcategories}}}|no||[[BattleIntelligence:Categorization#Subcategorization|subcategories]] {{#ifeq:{{{class}}}|admin|of {{#switch:{{{contents}}}
  | articles  = articles
  | articles  = articles
  | categories = categories
  | categories = categories
Line 28: Line 28:


{{#switch:{{{class}}}
{{#switch:{{{class}}}
| admin    = {{Show|[[File:Sarna-logo-nobg-150x150.png|20px]] [[BattleTechWiki:Categorization#BattleTechWiki administrative categories|Administrative category]]|This category is part of the administration of BattleTechWiki and is not part of the encyclopaedia. It contains pages that are not [[BattleTechWiki:What is an article?|articles]] or it groups articles by status rather than content.}}
| admin    = {{Show|[[File:Sarna-logo-nobg-150x150.png|20px]] [[BattleIntelligence:Categorization#BattleIntelligence administrative categories|Administrative category]]|This category is part of the administration of BattleIntelligence and is not part of the encyclopaedia. It contains pages that are not [[BattleIntelligence:What is an article?|articles]] or it groups articles by status rather than content.}}
| content  = {{Show|[[File:Wiki puzzle.svg|20px]] [[BattleTechWiki: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|[[File:Wiki puzzle.svg|20px]] [[BattleIntelligence: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:BattleTechWiki svg logo-en.svg|20px]] [[BattleTechWiki:Categorization#Contents category|Contents category]]|This category is a BattleTechWiki contents page. It is {{#ifeq:{{FULLPAGENAME}}|Category:Contents|the highest-level category|one of the highest-level categories}}.}}
| contents = {{Show|[[File:BattleIntelligence svg logo-en.svg|20px]] [[BattleIntelligence:Categorization#Contents category|Contents category]]|This category is a BattleIntelligence 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]] [[BattleTechWiki:Categorization#Double category|Double category]]|This category contains a [[BattleTechWiki:Categorization#Set category|set]] of articles and their corresponding [[BattleTechWiki: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 [[BattleTechWiki: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]] [[BattleIntelligence:Categorization#Double category|Double category]]|This category contains a [[BattleIntelligence:Categorization#Set category|set]] of articles and their corresponding [[BattleIntelligence: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 [[BattleIntelligence: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]] [[BattleTechWiki: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]] [[BattleIntelligence: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]] [[BattleTechWiki: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 [[BattleTechWiki: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]] [[BattleIntelligence: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 [[BattleIntelligence: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]] [[BattleTechWiki:Categorization#Set-and-topic category|Set-and-topic category]] [[File:Big Book blue.svg|20px]]|This category contains a [[BattleTechWiki:Categorization#Set category|set]] of pages in a particular group, as well as [[BattleTechWiki:Categorization#Topic category|topics]] related to the set.}}{{Category other|[[Category:Set categories]]}}
| set-and-topic = {{Show|[[File:Easter-Eggs no background.gif|20px]] [[BattleIntelligence:Categorization#Set-and-topic category|Set-and-topic category]] [[File:Big Book blue.svg|20px]]|This category contains a [[BattleIntelligence:Categorization#Set category|set]] of pages in a particular group, as well as [[BattleIntelligence:Categorization#Topic category|topics]] related to the set.}}{{Category other|[[Category:Set categories]]}}
| topic        = {{Show|[[File:Big Book blue.svg|20px]] [[BattleTechWiki:Categorization#Topic category|Topic category]]|This category contains pages related to a particular topic.}}
| topic        = {{Show|[[File:Big Book blue.svg|20px]] [[BattleIntelligence: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 [[BattleTechWiki: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 [[BattleTechWiki:Categorization#Hidden category|hidden]] on its member pages.|The category is [[BattleTechWiki: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]] Tracking category|This category maintains a [[BattleIntelligence: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 [[BattleIntelligence:Categorization#Hidden category|hidden]] on its member pages.|The category is [[BattleIntelligence: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]] [[BattleTechWiki:Categorization#Universal category|Universal category]]|This tracking category maintains a complete [[BattleTechWiki:Categorization#Set category|set]] of all pages within the related category tree. Pages are added to the category automatically. The category is [[BattleTechWiki:Categorization#Hidden category|hidden]] on its member pages, unless the appropriate [[Special:Preferences|user preference]] is set.}} __HIDDENCAT__
| universal    = {{Show|[[File:Globe.svg|20px]] [[BattleIntelligence:Categorization#Universal category|Universal category]]|This tracking category maintains a complete [[BattleIntelligence:Categorization#Set category|set]] of all pages within the related category tree. Pages are added to the category automatically. The category is [[BattleIntelligence: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]] [[BattleTechWiki:Categorization#Container category|Container category]]|This category should only contain subcategories.}}{{Category other|[[Category:Container categories]]}}|{{#ifeq:{{{type}}}|double|{{Show|[[File:Article.svg|20px]] [[BattleTechWiki:Categorization#Article category|Article]] and [[BattleTechWiki:Categorization#Category category|category]] category [[File:Sub-arrows 2.svg|20px]]|This category contains [[BattleTechWiki:What is an article?|articles]] and categories that are not subcategories.}}|{{#switch:{{{contents}}}
{{#ifeq:{{{container}}}|yes|{{Show|[[File:Wood Box.jpg|20px]] [[BattleIntelligence:Categorization#Container category|Container category]]|This category should only contain subcategories.}}{{Category other|[[Category:Container categories]]}}|{{#ifeq:{{{type}}}|double|{{Show|[[File:Article.svg|20px]] [[BattleIntelligence:Categorization#Article category|Article]] and [[BattleIntelligence:Categorization#Category category|category]] category [[File:Sub-arrows 2.svg|20px]]|This category contains [[BattleIntelligence:What is an article?|articles]] and categories that are not subcategories.}}|{{#switch:{{{contents}}}
  | articles      = {{Show|[[File:Article.svg|20px]] [[BattleTechWiki:Categorization#Article category|Article category]]|This category should only contain [[BattleTechWiki:What is an article?|articles]].}}
  | articles      = {{Show|[[File:Article.svg|20px]] [[BattleIntelligence:Categorization#Article category|Article category]]|This category should only contain [[BattleIntelligence:What is an article?|articles]].}}
  | categories    = {{Show|[[File:Sub-arrows 2.svg|20px]] [[BattleTechWiki:Categorization#Category category|Category category]]|This category contains categories that are not subcategories.}}
  | categories    = {{Show|[[File:Sub-arrows 2.svg|20px]] [[BattleIntelligence:Categorization#Category category|Category category]]|This category contains categories that are not subcategories.}}
  | disambiguation = {{Show|[[File:Disambiguation.svg|20px]] [[BattleTechWiki:Categorization#Disambiguation page category|Disambiguation page category]]|This is a category of [[BattleTechWiki:Disambiguation|disambiguation]] pages}}
  | disambiguation = {{Show|[[File:Disambiguation.svg|20px]] [[BattleIntelligence:Categorization#Disambiguation page category|Disambiguation page category]]|This is a category of [[BattleIntelligence:Disambiguation|disambiguation]] pages}}
  | help          = {{Show|[[File:Nuvola apps filetypes.svg|20px]] [[BattleTechWiki:Categorization#Help category|Help category]]|This is a category of [[Help:Contents|help]] pages.}}
  | help          = {{Show|[[File:Nuvola apps filetypes.svg|20px]] [[BattleIntelligence:Categorization#Help category|Help category]]|This is a category of [[Help:Contents|help]] pages.}}
  | images        = {{Show|[[File:Example.png|20px]] [[BattleTechWiki:Categorization#Image category|Image category]]|This is a category of [[BattleTechWiki:Images|images]].}}
  | images        = {{Show|[[File:Example.png|20px]] [[BattleIntelligence:Categorization#Image category|Image category]]|This is a category of [[BattleIntelligence:Images|images]].}}
  | lists          = {{Show|[[File:List.svg|20px]] [[BattleTechWiki:Categorization#List category|List category]]|This is a category of [[BattleTechWiki:Manual of Style/Lists|lists]].}}
  | lists          = {{Show|[[File:List.svg|20px]] [[BattleIntelligence:Categorization#List category|List category]]|This is a category of [[BattleIntelligence:Manual of Style/Lists|lists]].}}
  | portals        = {{Show|[[File:Portal icon.svg|20px]] [[BattleTechWiki:Categorization#Portal category|Portal category]]|This is a category of [[BattleTechWiki:Portal|portals]].}}
  | portals        = {{Show|[[File:Portal icon.svg|20px]] [[BattleIntelligence:Categorization#Portal category|Portal category]]|This is a category of [[BattleIntelligence:Portal|portals]].}}
  | project        = {{Show|[[File:Namespace BattleTechWiki.svg|20px]] [[BattleTechWiki:Categorization#Project page category|Project page category]]|This category contains pages relating to the administration of BattleTechWiki.}}
  | project        = {{Show|[[File:Namespace BattleIntelligence.svg|20px]] [[BattleIntelligence:Categorization#Project page category|Project page category]]|This category contains pages relating to the administration of BattleIntelligence.}}
  | redirects      = {{Show|[[File:Redirect arrow.svg|20px]] [[BattleTechWiki:Categorization#Redirect category|Redirect category]]|This category contains [[BattleTechWiki:Redirect|redirects]]{{#if:{{{from|}}}|&#32;from {{{from}}}}}{{#if:{{{to|}}}|&#32;to {{{to}}}}}.<br><small>Do not [[BattleTechWiki:Substitution|substitute]] redirect templates. See [[BattleTechWiki:WikiProject Redirect/Style guide]] for more details on layout.<br/>See [[BattleTechWiki:Template index/Redirect pages]] for a list of redirect templates.</small>}}{{Category other|[[Category:All redirect categories]]}}
  | redirects      = {{Show|[[File:Redirect arrow.svg|20px]] [[BattleIntelligence:Categorization#Redirect category|Redirect category]]|This category contains [[BattleIntelligence:Redirect|redirects]]{{#if:{{{from|}}}|&#32;from {{{from}}}}}{{#if:{{{to|}}}|&#32;to {{{to}}}}}.<br><small>Do not [[BattleIntelligence:Substitution|substitute]] redirect templates. See [[BattleIntelligence:WikiProject Redirect/Style guide]] for more details on layout.<br/>See [[BattleIntelligence:Template index/Redirect pages]] for a list of redirect templates.</small>}}{{Category other|[[Category:All redirect categories]]}}
  | stubs          = {{Show|[[File:Stub W.svg|20px]] [[BattleTechWiki:Categorization#Stub category|Stub category]]|This is a category of [[BattleTechWiki:Stub|stubs]].}}
  | stubs          = {{Show|[[File:Stub W.svg|20px]] [[BattleIntelligence:Categorization#Stub category|Stub category]]|This is a category of [[BattleIntelligence:Stub|stubs]].}}
  | templates      = {{Show|[[File:Curly Brackets.svg|20px]] [[BattleTechWiki:Categorization#Template category|Template category]]|This is a category of [[Help:Template|templates]].}}
  | templates      = {{Show|[[File:Curly Brackets.svg|20px]] [[BattleIntelligence:Categorization#Template category|Template category]]|This is a category of [[Help:Template|templates]].}}
  | users          = {{Show|[[File:User.svg|20px]] [[BattleTechWiki:Categorization#User page category|User page category]]|This is a category of [[BattleTechWiki:BattleTechWikins|BattleTechWiki users]].}}
  | users          = {{Show|[[File:User.svg|20px]] [[BattleIntelligence:Categorization#User page category|User page category]]|This is a category of [[BattleIntelligence:BattleIntelligencens|BattleIntelligence users]].}}
  | variety        = {{Show|[[File:Psychedelic dingbats.png|20px]] [[BattleTechWiki:Categorization#Variety category|Variety category]]|This category contains a variety of different kinds of pages.}}
  | variety        = {{Show|[[File:Psychedelic dingbats.png|20px]] [[BattleIntelligence: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 00:07, 1 May 2025