Template talk:Railway info
From Wikipedia, the free encyclopedia
"{{railway info|Leiden}}" gives "Leiden has more than one railway station." [1]
"{{railway info|Leiderdorp}}" gives "" [2]
"{{railway info|Scheemda}}" gives "Scheemda has a railway station." [3]
This template could be called in templates like Template:infobox City (backlinks, edit).
It is an example of a method to allow info to be added in a central place (this template, a 1D array with page names as index) displaying the array element concerned on each page.