Template:Century in country category/doc

Usage



 * where
 * centuryyear is the two-digit century, like 18 for 1801 to 1900, 19 for 1901–2000, 20 for 2001–2100 etc.
 * centuryname is the equivalent name of that century, such as 19th for the period 1801–1900, 20th for 1901–2000, 21st for 2001–2100 etc.


 * Examples

  – for Category:20th century in the United Kingdom

  – for Category:1st century in China

  – for Category:5th century in the Roman Empire

The 5th parameter is optional. If it is omitted, the millennium category will not be populated; e.g.   will not put the century category into a parent Category:2nd millennium in Aragon. Consensus at WP:CFD discussions points to not having millennium categories for territories that only existed during one millennium.

Optional parameters

 * the 9th to 12th parameters can be used to add parent categories for a second continent or regions, empires etc.
 * can also be used to override the country name in the parent category "Nth millennium in 'X'". This is useful where a country has changed its name, and the parent category by millennium uses the new name.
 * – shows a line of links to decades
 * – omits the table of links to decades and years