Template:By century category

From Wikimedia Commons, the free media repository
Jump to navigation Jump to search
Template documentationview · edit · history · purge ]
This documentation is transcluded from Template:By century category/doc.

This is a shortcut way of adding {{metacat|century}} to a category. For backwards compatibility only, if {{{1}}} is filled in, the template will categorize into a topic category. "By century" categories are the only ones that do this autocategorizing (in the manner as explained below) into the main category tree (not maintenance/"flat list" parent categories). It's better to add the category manually, since it's possible someone will want to change it with HotCat or something. For example, you may want Category:Buildings by century categorized in Category:Buildings by location instead of directly in Category:Buildings. Categorization changes based on the structure of the topic category, thus auto-categorization isn't a good idea in this case.


  • Add {{By century category|subject}} to a by century category.
  • For example Category:Buildings by century contains {{By century category|Buildings}}.
  • In the example, the template generates a [[Category:Categories by century (flat list)|Buildings by century]], [[Category:Buildings| Century]] (space before Century) and [[Category:Meta categories]]

New language version[edit]

{{By century category/layout
|text='''''This is a by century category.''''' This category should only contain subcategories. Images should either be in the relevant century subcategory or in the {{#if:{{{1|}}}|[[:Category:{{{1|}}}|parent category]]|parent category}}.
{{translated tag|marker}}