Nodyn:Infobox UK railway

[[File:|200px|alt=|logo]]
[[File:|250px|alt=|]]
{{{image_caption}}}
[[File:{{{system_map}}}|250px|alt=|]]
{{{map_caption}}}
Ardal {{{locale}}}
Dyddiadau'n weithredol {{{start_year}}} – {{{end_year}}}
Rhag-linell {{{predecessor_line}}}
Ol-linell {{{successor_line}}}
Maint y cledrau {{{gauge}}}
Hyd {{{length}}}
Prif ganolfan {{{hq_city}}}
Documentation icon Dogfennaeth nodyn[gweld] [golygu] [hanes] [puro]

{{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.