Template:Railway stations in countryname opened or closed in the YYY0s category header
To make a category of the form "Railway stations in countryname opened in the YYY0s" or "Railway stations in countryname closed in the YYY0s", where "countryname" is the name of a country and "YYY0s" is a 4-digit decade
e.g.
- Category:Railway stations in China opened in the 1910s
- Category:Railway stations in the United States opened in the 1870s
- Category:Railway stations in Australia closed in the 1950s
The template detects which format is being used, and adjusts accordingly.
Usage
{{Railway stations in countryname opened or closed in the YYY0s category header}}
No parameters are needed, but an optional parameter is available: |parentcountry=OtherCountry
Optional parentcountry parameter
Use of this parameter causes the category to be parented in "Category:Railway stations in OtherCountry opened in the YYY0s", instead of the usual "Category:Railway stations opened in the YYY0s"
For example, in Category:Railway stations in Hong Kong opened in the 2000s, the template is used as follows: {{Railway stations in countryname opened in the YYY0s category header|parentcountry=China}}
This causes that page to be parented in Category:Railway stations in China opened in the 2000s, rather than in Category:Railway stations opened in the 2000s
Use of this parameter is monitored by a tracking category:
- Category:Railway stations in countryname opened or closed template with parentcountry parameter (population: 270)
Redirects
- {{Railway stations in countryname opened in the YYY0s category header}}
- {{Railway stations in countryname closed in the YYY0s category header}}