Şablon:KatavaWelat/belge

Ji Wîkîpediya, ensîklopediya azad.

Bikaranîn[çavkaniyê biguhêre]

  • Ev şablon bi {{kategorîkirin}} tê bikaranîn lê belê heke pirsgirêkek bi wê şablonê derkeve parametreyên li jêr bi şablona {{katavaWelat}} bi kar bînin.

Syntax[çavkaniyê biguhêre]

{{EstcatCountry| country [ | sort key [ | new name ]] }}

Examples

{{EstcatCountry|the United States|United States}}

{{EstcatCountry|Belgium}}

Change of country name[çavkaniyê biguhêre]

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

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

This feature was introduced in September 2015. For more info, see Template talk:EstcatCountry.

Wekî ku ji August 2019, pages that use this parameter are in Category:EstcatCountry with newname parameter.

Example

{{EstcatCountry|Burma|Burma|Myanmar}}

The parent categories will be Category:Establishments in Myanmar by year, but still Category:1900s establishments in Burma.

Suppressing parent category for decade[çavkaniyê biguhêre]

The template normally adds the page into a parent for the decade. In cases where that decade category does not exist, and it would not be useful to create it because of the short duration or small number of categories for this country, append |decadeparent=no

Disambiguation[çavkaniyê biguhêre]

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

{{estcatCountry|Malaya|Malaya|dab=Malayan Union}}

Error checking[çavkaniyê biguhêre]

Error messages are display if this template is used in a which is not named "Category:YYYY establishments in Foo"

These errors are tracked in two tracking categories: