Template:EstcatCountryDecade/old

From blackwiki
Jump to navigation Jump to search

Template:YearInCountryPortalBox Organizations, places or other things founded or established in [[{{{4}}}]] in the [[{{{1}}}{{{2}}}0s]] {{BDDecadesInCentury|{{{1}}}|{{{3}}}|establishments in {{{4}}}}}

Template documentation[view] [edit] [history] [purge]

Usage

In September 2019, this template's syntax was changed to a new format which doesn't need year parameters. If used, they will now trigger an error message, and the page will be categorised in Category:Errors reported by establishment and disestablishment templates (population: 0) Purge page to update total

{{EstcatCountryDecade|''''' country [ | sort key [ | new name]] ''}}

Examples
  • {{EstcatCountryDecade|the United States|United States}}
  • {{EstcatCountryDecade|Belgium}}

Change of country name

The optional 3rd parameter sort key can also be used to override the country name in the parent category, "Establishments in 'X' by decade".

This is useful where a country has changed its name, and the only parent category by decade uses the new name.

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

Example
  • {{EstcatCountryDecade|Curaçao and Dependencies|Curaçao and Dependencies|the Netherlands Antilles}}

The parent categories will be Category:Establishments in the Netherlands Antilles by decade, but still Category:20th-century establishments in Curaçao and Dependencies.

Where a different result is desired, it may be best to create a specific template like those in Category:20th-century establishments templates by country.

Disambiguation

If the country name used in the category title is ambiguous, use the optional named dab parameter to link to the mainspace article about the country.

Example
  • {{EstcatCountryDecade|Malaya|Malaya|dab=Malayan Union}}

Parent categories

One of the parent categories added by the template is "YYYYs establishments by country". However, the template includes conditional logic so that decades before 6th century CE will instead be held directly in "YYYs establishments", as the "by country" categories for early periods were merged per consensus at Wikipedia:Categories for discussion/Log/2017 August 4.

Categories for decades 500s to 950s are in neither of these parents, but are manually placed in categories by continent instead, following consensus at Wikipedia:Categories for discussion/Log/2017 October 30.

See also

ar:قالب:تأسيس بلد عقد