Bản mẫu:Railway stations in countryname opened or closed in the YYY0s category header/doc
Đây là một trang con tài liệu sử dụng bản mẫu dành cho Bản mẫu:Railway stations in countryname opened or closed in the YYY0s category header. Nó gồm có các thông tin hướng dẫn sử dụng, thể loại và các nội dung khác không thuộc về phần trang bản mẫu gốc. |
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[sửa mã nguồn]
{{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[sửa mã nguồn]
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: 0)
Redirects[sửa mã nguồn]
- {{Railway stations in countryname opened in the YYY0s category header}}
- {{Railway stations in countryname closed in the YYY0s category header}}
See also[sửa mã nguồn]
- Template:Railway stations in countryname opened or closed in YYYY category header
- Template:Railway stations opened or closed in YYYY category header
- Template:Railway stations opened or closed in the YYY0s category header