Կաղապար:EstcatCountryBC/doc
Usage[խմբագրել կոդը]
{{EstcatBCCountry| YYY | Y | country [ | sort key [ | new name ]] }}
- Examples
{{EstcatBCCountry|199|3|the United States|United States}}
{{EstcatBCCountry|200|7|Belgium}}
Change of country name[խմբագրել կոդը]
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.
As of September 2015[update] this is a new feature. Please leave a note at Template talk:EstcatBCCountry if you use this parameter, in case it changes.
- Example
{{estcatBCCountry|190|6|Burma|Burma|Myanmar}}
The parent categories will be Category:Establishments in Myanmar by year, but still Category:1900s establishments in Burma.
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
{{estcatCountryBC|194|6|Malaya|Malaya|dab=Malayan Union}}
See also[խմբագրել կոդը]
- Template:EstcatBCCountryDecade
- Template:EstcatBCCountryCentury
- Template:EstcatBCCountry2ndMillennium
- Template:EstcatBCCountry3rdMillennium
- Template:EstcatBCsubcountry (for subdivisions of countries, like states, provinces, departments, ...)
- Template:EstcatBCbycountry