Difference between revisions of "Template:Infobox UK railway"

From All About Ayrshire
Jump to: navigation, search
(tidy style for better HTML5 compatibility)
 
m (1 revision)
 
(No difference)

Latest revision as of 11:24, 1 November 2015

[[File:|200px|alt=|logo]]
[[File:|250px|alt={{{image_alt}}}|]]
{{{image_caption}}}
[[File:{{{system_map}}}|250px|alt=|]]
{{{map_caption}}}
Locale {{{locale}}}
Dates of operation {{{start_year}}} – {{{end_year}}}
Predecessor {{{predecessor_line}}}
Successor {{{successor_line}}}
Track gauge {{{gauge}}}
Length {{{length}}}
Headquarters {{{hq_city}}}
Template documentation[view] [edit] [history] [purge]

Usage[edit]

{{Infobox UK railway}} is used to create an infobox embedded into UK railway company route diagrams in articles about railway companies. The gauge parameter is mandatory for this template.

The Template fits into the route diagram box as follows:-

Route diagram template start (with example name and colour

 {| {{Railway line header}}
 {{BS-header|XYZ Railway|XYZ Railway|#{{HR colour}}|#000000}}

This template

{{Infobox UK railway
| logo_filename     = 
| logo_size         = 
| system_map        = 
| map_caption       = 
| image             = 
| image_size        = 
| image_caption     = 
| locale            = 
| start_year        = 
| end_year          = 
| predecessor_line  = 
| successor_line    = 
| gauge             = 
| length            = 
| hq_city           = 
}}

Route diagram template continuation

{{BS-table}}

...and then the diagram coding.