Template:Railway stations opened or closed in YYYY category header

{{Documentation|content=To make a category of the form "Railway stations opened in YYYY" or "Railway stations closed in YYYY", where YYYY is a 4-digit year

e.g.
 * Category:Railway stations opened in 1855
 * Category:Railway stations closed in 1958

The template detects which format is being used, and adjusts accordingly.

Redirects

 * Railway stations opened in YYYY category header
 * Railway stations closed in YYYY category header

No parameters needed