Template:DisestcatCountryCentury/doc

Usage
'''


 * Examples

  – for Category:20th-century disestablishments in the United States

  – for Category:21st-century disestablishments in Belgium

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 disestablishments in Aragon. Consensus at WP:CFD discussions points to not having millennium categories for territories that only existed during one millennium.

Change of country name
The optional 8th parameter sort key can also be used to override the country name in the parent categories, "Disestablishments in 'X' by century" and "Nth-millennium disestablishments in 'X'".

This is useful where a country has changed its name, and the only parent categories by century & millennium use the new name..

this is a new feature. Please leave a note at Template talk:EstcatCountry if you use this parameter, in case it changes.

 
 * Example

The parent categories will be Category:Disestablishments in Myanmar by century and Category:2nd-millennium disestablishments in Myanmar.