Template talk:Stationyears

From Wikipedia, the free encyclopedia

This article is within the scope of WikiProject Trains, an attempt to build a comprehensive and detailed guide to rail transport on Wikipedia. If you would like to participate, you can visit the project page, where you can join the project and/or contribute to the discussion.
See also: WikiProject Trains to do list
Template This page is a template and does not require a rating on the quality scale. (assessment comments)
??? This article has not yet received a rating on the importance scale within the Trains WikiProject.
This article is within the scope of WikiProject Stations.
This article is within the scope of the Timelines task force.

[edit] Why substitute?

Why do you recommend this template be substituted rather than just used directly? I can't see any advantage in substitution. In fact there's one big disadvantage: it generates code such as

{{#if:1871|[[Category:Railway stations opened in 1871]]}} ,

which, although valid code, is just plain confusing to other editors who look at the article later. --Dr Greg (talk) 13:07, 5 December 2007 (UTC)

eeks! I thought I had that working where subst wouldn't include the #if part. The theory was that substing the template would leave the article with just the categories and none of the code. I guess at this point, it probably is better not to subst it. Slambo (Speak) 14:18, 5 December 2007 (UTC)