Template:States and territories by/doc

The template States and territories by is included at the beginning of the categories of states and territories (regions, province s ...) founded or disappeared within a certain period, for example, the categories "States and territories founded in 1962 "Or"  States and territories disappeared in the 20th century". The template automatically adds a index and description, and categorizes the category. It should be noted that, to facilitate its use in the current categorization system for centuries and millennia, this template conventionally considers that the 1st century goes from the year 1 to 99, the 2nd century from the year 100 to 199 ... the 20th century from the year 1900 to 1999, and the XXI century begins in the year 2000. He considers that the 1st century BC. C. goes from the year 1 a. C. to 99 a. C., the 2nd century BC. C. of the year 100 a. C. to 199 a. C. and so on.

Usage

 * Code:.
 * Field of application:
 * For categories such as "Category: States and territories founded in ", "Category: States and territories founded in the years ", "Category: States and territories founded in the century ", or either "Category: States and territories disappeared in ", "Category: States and territories disappeared in the years " or "Category: States and territories disappeared in the century ".

Parameters

 * Mandatory parameters (three):
 * : time to which the category is extended. It can take the values: "year", "decade" and "century". Any different value, or not reporting the parameter, generates an error.
 * : the year in question for periods of one year, or any year of the period for decades and centuries. For example, "1953" for the categories corresponding to the year 1953, the years 1950 or the 20th century.
 * : event by which it is categorized. It can take the values: "foundation" or "disappearance". Any different value, or not reporting the parameter, generates non-existent categories.

Categories where the marked items are included

 * "Category:States and territories by of ";
 * "Category: States and territories in the years " (for categories of years) or "Category: States and territories in the century " (for categories of decades) ;
 * "Category:Organizations in " (for categories of years), "Category:Organizations in years " (for categories of decades) or "Category:Organizations in the century "(for categories of centuries);
 * "Category:Politics in " (for categories of years), "Category:Politics in the years " (for categories of decades) or "Category:Politics in the century " (for categories of centuries).

Examples

 * categorizes the category " States and territories founded in 1962" in:
 * "States and territories by year of foundation";
 * "States and territories founded in the 1960s";
 * "Organizations founded in 1962".
 * "Politics in 1962".


 * categorizes the category "States and territories missing in the 21st century" in:
 * "States and territories by century of disappearance";
 * "Disappeared organizations in the 21st century".
 * "Politics in the XXI century".

Related templates

 * Category by year
 * Category by decade
 * Category by century