Template:Infobox railway depot
Lua error in Module:Infobox_mapframe at line 185: attempt to index field 'wikibase' (a nil value). |
[[Category:Infobox templates|Template:Remove first word]]
![]() | This template uses Lua: |
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
![]() North London Railway Class 75 in 1948 | |
Lua error in Module:Infobox_mapframe at line 185: attempt to index field 'wikibase' (a nil value). | |
Location | |
---|---|
Location | Birkenhead, United Kingdom |
Coordinates | Lua error: callParserFunction: function "#coordinates" was not found. |
OS grid | SJ323882 |
Characteristics | |
Type | Locomotive |
History | |
Closed | 1985 |
Original | Chester 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
TemplateData
TemplateData for Infobox railway depot
Infobox for railway depots
Parameter | Description | Type | Status | |
---|---|---|---|---|
Embed | embed | Set to yes if this infobox is embedded in another infobox | Unknown | optional |
Infobox width | box_width | The width of the infobox | Unknown | optional |
Name | name | The title of the infobox
| Unknown | optional |
Depot logo | depot_logo | An image of the depot's logo, i.e. the Cockney sparrow for Stratford TMD, etc.
| File | optional |
Logo_upright | logo_upright | Scaling factor for the logo | Unknown | optional |
Logo_alt | logo_alt | Alternate text for the logo | Unknown | optional |
Logo_caption | logo_caption | Caption for the logo | Unknown | optional |
Image | image | Photo of the depot
| File | optional |
Image_upright | image_upright | Image scaling factor | Unknown | optional |
Image_alt | image_alt | Alternate text for main image | Unknown | optional |
Caption | caption | Caption for the main image | Unknown | optional |
Pushpin_map | pushpin_map | no description | Unknown | optional |
Map_type | map_type | no description | Unknown | optional |
Pushpin_map_alt | pushpin_map_alt | no description | Unknown | optional |
Map_alt | map_alt | no description | Unknown | optional |
Coordinates | coordinates | no description
| Unknown | optional |
Map_dot_mark | map_dot_mark | no description | Unknown | optional |
Pushpin_label | pushpin_label | no description | Unknown | optional |
Map dot label | map dot label | no description | Unknown | optional |
Map_dot_label | map_dot_label | no description | Unknown | optional |
Pushpin_relief | pushpin_relief | no description | Unknown | optional |
Relief | relief | no description | Unknown | optional |
Pushpin_map_caption | pushpin_map_caption | no description | Unknown | optional |
Map_caption | map_caption | no description | Unknown | optional |
Pushpin_mapsize | pushpin_mapsize | no description | Unknown | optional |
Map_size | map_size | no description | Unknown | optional |
Image_map | image_map | no description | Unknown | optional |
Mapframe | mapframe | no description | Unknown | optional |
Qid | qid | no description | Unknown | optional |
Mapframe-zoom | mapframe-zoom | no description | Unknown | optional |
Mapframe-width | mapframe-width | no description | Unknown | optional |
Mapframe-height | mapframe-height | no description | Unknown | optional |
Mapframe-marker | mapframe-marker | no description | Unknown | optional |
Mapframe-marker-color | mapframe-marker-color | no description | Unknown | optional |
Mapframe-marker-colour | mapframe-marker-colour | no description | Unknown | optional |
Mapframe-lat | mapframe-lat | no description | Unknown | optional |
Mapframe-latitude | mapframe-latitude | no description | Unknown | optional |
Mapframe-long | mapframe-long | no description | Unknown | optional |
Mapframe-longitude | mapframe-longitude | no description | Unknown | optional |
Mapframe-caption | mapframe-caption | no description | Unknown | optional |
Location | location | Name of the location | Unknown | optional |
Grid_ref_UK | grid_ref_UK | no description | Unknown | optional |
Owner | owner | name of the owner
| Unknown | optional |
Operator | operator | name of the operator | Unknown | optional |
Depotcode | depotcode | The current depot code, only. For earlier depot codes, use former_depot_codes | Unknown | optional |
Type | type | Locomotive, Steam, Diesel, Electric, DMU, EMU, HST, Carriage, Departmental, Freight, etc. | Unknown | optional |
Roads | roads | number of storage roads | Unknown | optional |
Rollingstock | rollingstock | The current classes of rollingstock stored at the depot, only. For earlier classes, use former_rolling_stock | Unknown | optional |
Routes | routes | routes operated from the depot | Unknown | optional |
Opened | opened | Date opened {{Start date|YYYY|MM|df=y}} | Unknown | optional |
Closed | closed | Date closed {{End date|YYYY|MM|df=y}} | Unknown | optional |
Original | original | The original railway company which owned the depot | Unknown | optional |
Pregrouping | pregrouping | United Kingdom ownership until 1923, e.g. LNWR | Unknown | optional |
Postgrouping | postgrouping | United Kingdom ownership from 1923 to nationalisation in 1948, e.g. LMS | Unknown | optional |
BR_region | BR_region | Region of British Rail which the depot was within | Unknown | optional |
Former depot code | Former depot code | former codes for the depot | Unknown | optional |
Former rolling stock | Former rolling stock | classes of rollingstock formerly stored at the depot | Unknown | optional |
Embedded | embedded | Another infobox to embed in this one | Unknown | optional |
See also
The above documentation is transcluded from Template:Infobox railway depot/doc. (edit | history) Editors can experiment in this template's sandbox (edit | diff) and testcases (edit) pages. Please add categories to the /doc subpage. Subpages of this template. |