Template:Infobox railway depot/doc

From blackwiki
< Template:Infobox railway depot
Revision as of 19:33, 5 January 2020 by imported>BrandonXLF (Added template data)
Jump to navigation Jump to search

Usage

This template generates an infobox for railway depots. Below is the basic syntax that you need to get a complete infobox for an article. Place this below any hatnotes and before any other text and fill in the variables. If a variable is empty, it can and should be omitted. Other, more specific parameters exist and are described in detail below.

Syntax

This is the basic code you need to set up an infobox for a railway depot:

Template:Parameter names example

{{Infobox railway depot
| embed                = <!-- set to yes if this infobox is embedded in another infobox -->
| name                 = <!-- title of the infobox itself -->
| depot_logo           = <!-- an image of the depot's logo, i.e. the Cockney sparrow for Stratford TMD, etc. (e.g. Image_name.png) -->
| logo_upright         = <!-- scaling factor for the logo -->
| logo_alt             = <!-- alternate text for the logo -->
| logo_caption         = <!-- caption for the logo -->    
| image                = <!-- photo of the depot (e.g. Image_name.png) -->
| image_upright        = <!-- image scaling factor -->
| image_alt            = <!-- alternate text for main image -->
| caption              = <!-- caption for the main image -->
| location             = <!-- name of the location -->
| coordinates          = <!-- {{Coord|LAT|LONG|type:landmark|display=inline,title}}--> <!-- Decimal degrees, to four decimal places -->
| grid_ref_UK          = <!-- Ordnance Survey two-letter and six-number grid reference, for depots in the United Kingdom --> 
| owner                = <!-- name of the owner -->
| operator             = <!-- name of the operator -->
| depotcode            = <!-- The current depot code, only. For earlier depot codes, use former_depot_codes -->
| type                 = <!-- Locomotive, Steam, Diesel, Electric, DMU, EMU, HST, Carriage, Departmental, Freight, etc. -->
| roads                = <!-- number of storage roads -->
| rollingstock         = <!-- The current classes of rollingstock stored at the depot, only. For earlier classes, use former_rolling_stock -->
| routes               = <!-- routes operated from the depot -->
| opened               = <!-- {{Start date|YYYY|MM|df=y}} -->
| closed               = <!-- {{End date|YYYY|MM|df=y}} -->
| original             = <!-- The original railway company which owned the depot -->
| pregrouping          = <!-- United Kingdom ownership until 1923, e.g. LNWR -->
| postgrouping         = <!-- United Kingdom ownership from 1923 to nationalisation in 1948, e.g. LMS -->
| BR_region            = <!-- Region of British Rail which the depot was within -->
| former_depot_codes   = <!-- former codes for the depot -->
| former_rolling_stock = <!-- classes of rollingstock formerly stored at the depot -->
| embed                = <!-- another infobox to embed in this one -->
}}

Example

Birkenhead Mollington Street
Location
LocationBirkenhead, United Kingdom
CoordinatesLua error: callParserFunction: function "#coordinates" was not found.
OS gridSJ323882
Characteristics
TypeLocomotive
History
Closed1985 (1985)
OriginalChester and Birkenhead Railway
Former depot code(s)Template:Ubl
{{Infobox railway depot
| name = Birkenhead Mollington Street
| image = Birkenhead Locomotive Depot geograph-2219081.jpg
| image_size = 150px
| caption = [[NLR Class 75|North London Railway Class 75]] in 1948
| location = [[Birkenhead]], [[United Kingdom]] 
| coordinates = {{coord|53.3861|-3.0168|type:railwaystation_region:GB_scale:2000_source:Google|display=inline}}
| grid_ref_UK = SJ323882
| type = [[Locomotive]]
| closed = {{End date|1985}}
| original = [[Chester and Birkenhead Railway]]
| former_depot_codes = {{ubl|6C|8H|BC}} 
}}

Microformat

Template:UF-hcard-geo

TemplateData

This is the TemplateData documentation for this template used by VisualEditor and other tools; see the monthly parameter usage report for this template.

TemplateData for Infobox railway depot

Infobox for railway depots

Template parameters

ParameterDescriptionTypeStatus
Embedembed

no description

Unknownoptional
Box_widthbox_width

no description

Unknownoptional
Namename

no description

Unknownoptional
Depot_logodepot_logo

no description

Unknownoptional
Logo_uprightlogo_upright

no description

Unknownoptional
Logo_altlogo_alt

no description

Unknownoptional
Logo_captionlogo_caption

no description

Unknownoptional
Imageimage

no description

Unknownoptional
Image_uprightimage_upright

no description

Unknownoptional
Image_altimage_alt

no description

Unknownoptional
Captioncaption

no description

Unknownoptional
Pushpin_mappushpin_map

no description

Unknownoptional
Map_typemap_type

no description

Unknownoptional
Pushpin_map_altpushpin_map_alt

no description

Unknownoptional
Map_altmap_alt

no description

Unknownoptional
Coordinatescoordinates

no description

Unknownoptional
Map_dot_markmap_dot_mark

no description

Unknownoptional
Pushpin_labelpushpin_label

no description

Unknownoptional
Map dot labelmap dot label

no description

Unknownoptional
Map_dot_labelmap_dot_label

no description

Unknownoptional
Pushpin_reliefpushpin_relief

no description

Unknownoptional
Reliefrelief

no description

Unknownoptional
Pushpin_map_captionpushpin_map_caption

no description

Unknownoptional
Map_captionmap_caption

no description

Unknownoptional
Pushpin_mapsizepushpin_mapsize

no description

Unknownoptional
Map_sizemap_size

no description

Unknownoptional
Image_mapimage_map

no description

Unknownoptional
Mapframemapframe

no description

Unknownoptional
Qidqid

no description

Unknownoptional
Mapframe-zoommapframe-zoom

no description

Unknownoptional
Mapframe-widthmapframe-width

no description

Unknownoptional
Mapframe-heightmapframe-height

no description

Unknownoptional
Mapframe-markermapframe-marker

no description

Unknownoptional
Mapframe-marker-colormapframe-marker-color

no description

Unknownoptional
Mapframe-marker-colourmapframe-marker-colour

no description

Unknownoptional
Mapframe-latmapframe-lat

no description

Unknownoptional
Mapframe-latitudemapframe-latitude

no description

Unknownoptional
Mapframe-longmapframe-long

no description

Unknownoptional
Mapframe-longitudemapframe-longitude

no description

Unknownoptional
Mapframe-captionmapframe-caption

no description

Unknownoptional
Locationlocation

no description

Unknownoptional
Grid_ref_UKgrid_ref_UK

no description

Unknownoptional
Ownerowner

no description

Unknownoptional
Operatoroperator

no description

Unknownoptional
Depotcodedepotcode

no description

Unknownoptional
Typetype

no description

Unknownoptional
Roadsroads

no description

Unknownoptional
Rollingstockrollingstock

no description

Unknownoptional
Routesroutes

no description

Unknownoptional
Openedopened

no description

Unknownoptional
Closedclosed

no description

Unknownoptional
Originaloriginal

no description

Unknownoptional
Pregroupingpregrouping

no description

Unknownoptional
Postgroupingpostgrouping

no description

Unknownoptional
BR_regionBR_region

no description

Unknownoptional
Former_depot_codesformer_depot_codes

no description

Unknownoptional
Former_rolling_stockformer_rolling_stock

no description

Unknownoptional
Embeddedembedded

no description

Unknownoptional

See also