FANDOM


Purpose

This template is intended to be used on year in country categories (for example, Category:2008 in Canada or Category:1538 in England). It creates a "timeline" style table of links to categories for adjacent years before or after it in the same decade (see example below).

Syntax

{{Year in country category| | | | | | | |}}

Parameters

The first 4 parameters split the year of the category page receiving the template into separate pieces. They are used to form the timeline links.

  • The first one is the millenium: leave this blank for years in the first millennium.
  • The second parameter is the century
  • The third is the decade
  • The fourth is the year-digit
    The single-digit values of these 4 parameters, taken together ("mcdy"), form the four-digit year. If the year is before 1000 (and thus only 3 digits long) or even earlier, parameters can be omitted, as necessary.


The next three parameters indicate the country and its continents

  • The fifth parameter is the country name as indicated in the category name (but without prefixes which are unwanted for sorting, these should be added to the 8th parameter)
  • The sixth parameter is the continent where the country is located
  • The seventh parameter is optional: if a country is located in two continents (mainly for countries in Europe and Asia, like Russia or Turkey), then a second continent can be included here. The order of the two continents is not important. This seventh parameter can also be used with member states of the United Kingdom (use "United Kingdom"), the former Soviet Union ("Soviet Union"), or former Yugoslavia ("Yugoslavia").
  • The 8th parameter is used for sorting of countries which start with "The" (or other prefixes like "Former Yugoslav Republic of "): this can be left empty for most countries. When included please make sure to add a space after the prefix

Example using all parameters

When placed on the page Category:2000 in Russia:

{{year in country category|1|9|5|4|Macedonia|Europe|Yugoslavia|the Republic of }}
  • displays the following:

Articles and events specifically related to the year Year in country category/doc.

1950 · 1951 · 1952 · 1953 · 1954 · 1955 · 1956 · 1957 · 1958 · 1959


Community content is available under CC-BY-SA unless otherwise noted.