Template:Infobox railway depot/doc

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:

TemplateData
{	"params": { "embed": { "label": "Embed", "description": "Set to yes if this infobox is embedded in another infobox" },		"box_width": { "label": "Infobox width", "description": "The width of the infobox" },		"name": { "label": "Name", "description": "The title of the infobox", "default": "The base page name", "autovalue": "" },		"depot_logo": { "label": "Depot logo", "description": "An image of the depot's logo, i.e. the Cockney sparrow for Stratford TMD, etc.", "example": "Image_name.png", "type": "wiki-file-name" },		"logo_upright": { "description": "Scaling factor for the logo" },		"logo_alt": { "description": "Alternate text for the logo" },		"logo_caption": { "description": "Caption for the logo" },		"image": { "label": "Image", "description": "Photo of the depot", "example": "Image_name.png", "type": "wiki-file-name" },		"image_upright": { "description": "Image scaling factor" },		"image_alt": { "description": "Alternate text for main image" },		"caption": { "description": "Caption for the main image" },		"pushpin_map": {}, "map_type": {}, "pushpin_map_alt": {}, "map_alt": {}, "coordinates": { "label": "Coordinates", "example": "°N, °W" },		"map_dot_mark": {}, "pushpin_label": {}, "map dot label": {}, "map_dot_label": {}, "pushpin_relief": {}, "relief": {}, "pushpin_map_caption": {}, "map_caption": {}, "pushpin_mapsize": {}, "map_size": {}, "image_map": {}, "mapframe": {}, "qid": {}, "mapframe-zoom": {}, "mapframe-width": {}, "mapframe-height": {}, "mapframe-marker": {}, "mapframe-marker-color": {}, "mapframe-marker-colour": {}, "mapframe-lat": {}, "mapframe-latitude": {}, "mapframe-long": {}, "mapframe-longitude": {}, "mapframe-caption": {}, "location": { "label": "Location", "description": "Name of the location" },		"grid_ref_UK": {}, "owner": { "description": "name of the owner ", "autovalue": "" },		"operator": { "description": "name of the operator" },		"depotcode": { "description": "The current depot code, only. For earlier depot codes, use former_depot_codes" },		"type": { "description": "Locomotive, Steam, Diesel, Electric, DMU, EMU, HST, Carriage, Departmental, Freight, etc." },		"roads": { "description": "number of storage roads" },		"rollingstock": { "description": "The current classes of rollingstock stored at the depot, only. For earlier classes, use former_rolling_stock" },		"routes": { "description": "routes operated from the depot" },		"opened": { "description": "Date opened " },		"closed": { "description": "Date closed " },		"original": { "description": "The original railway company which owned the depot" },		"pregrouping": { "description": "United Kingdom ownership until 1923, e.g. LNWR" },		"postgrouping": { "description": "United Kingdom ownership from 1923 to nationalisation in 1948, e.g. LMS" },		"BR_region": { "description": "Region of British Rail which the depot was within" },		"embedded": { "description": "Another infobox to embed in this one" },		"Former rolling stock": { "description": "classes of rollingstock formerly stored at the depot" },		"Former depot code": { "description": "former codes for the depot" }	},	"description": "Infobox for railway depots", "paramOrder": [ "embed", "box_width", "name", "depot_logo", "logo_upright", "logo_alt", "logo_caption", "image", "image_upright", "image_alt", "caption", "pushpin_map", "map_type", "pushpin_map_alt", "map_alt", "coordinates", "map_dot_mark", "pushpin_label", "map dot label", "map_dot_label", "pushpin_relief", "relief", "pushpin_map_caption", "map_caption", "pushpin_mapsize", "map_size", "image_map", "mapframe", "qid", "mapframe-zoom", "mapframe-width", "mapframe-height", "mapframe-marker", "mapframe-marker-color", "mapframe-marker-colour", "mapframe-lat", "mapframe-latitude", "mapframe-long", "mapframe-longitude", "mapframe-caption", "location", "grid_ref_UK", "owner", "operator", "depotcode", "type", "roads", "rollingstock", "routes", "opened", "closed", "original", "pregrouping", "postgrouping", "BR_region", "Former depot code", "Former rolling stock", "embedded" ],	"format": "block" }