ഫലകം:Infobox railway depot/doc
This is a documentation subpage for ഫലകം:Infobox railway depot. It may contain usage information, categories and other content that is not part of the original ഫലകം page. |
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:
[[File:{{{depot_logo}}}|frameless|alt={{{logo_alt}}}|upright={{{logo_upright}}}]] | |
[[File:{{{image}}}|frameless|alt={{{image_alt}}}|upright={{{image_upright}}}]] | |
Location | |
---|---|
Location | {{{location}}} |
Coordinates | {{{coordinates}}} |
OS grid | {{{grid_ref_UK}}} |
Characteristics | |
Owner(s) | {{{owner}}} |
Operator(s) | {{{operator}}} |
Depot code(s) | {{{depotcode}}} |
Type | {{{type}}} |
Roads | {{{roads}}} |
Rolling stock | {{{rollingstock}}} |
Routes served | {{{routes}}} |
History | |
Opened | {{{opened}}} |
Closed | {{{closed}}} |
Original | {{{original}}} |
Pre-grouping | {{{pregrouping}}} |
Post-grouping | {{{postgrouping}}} |
BR region | {{{BR_region}}} |
Former depot code(s) | {{{former_depot_codes}}} |
Former rolling stock | {{{former_rolling_stock}}} |
{{Infobox railway depot | 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_rolling_stock = <!-- classes of rollingstock formerly stored at the depot --> }}
Example[തിരുത്തുക]
Location | |
---|---|
Location | Birkenhead, United Kingdom |
Coordinates | 53°23′10″N 3°01′01″W / 53.386189°N 3.016852°W |
OS grid | SJ323882 |
Characteristics | |
Type | Locomotive |
History | |
Closed | 1985 |
Original | Chester and Birkenhead Railway |
Former depot code(s) |
|
{{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[തിരുത്തുക]
The HTML markup produced by this template includes an hCard microformat, which makes the place-name and location parsable by computers, either acting automatically to catalogue articles across Wikipedia, or via a browser tool operated by a person, to (for example) add the subject to an address book. Within the hCard is a Geo microformat, which additionally makes the coordinates (latitude & longitude) parsable, so that they can be, say, looked up on a map, or downloaded to a GPS unit. For more information about the use of microformats on Wikipedia, please see the microformat project.
Sub-templates[തിരുത്തുക]
If the place or venue has "established", "founded", "opened" or similar dates, use {{start date}} for the earliest of those dates unless the date is before 1583 CE.
If it has a URL, use {{URL}}.
Please do not remove instances of these sub-templates.
Classes[തിരുത്തുക]
hCard uses HTML classes including:
- adr
- agent
- category
- county-name
- extended-address
- fn
- label
- locality
- nickname
- note
- org
- region
- street-address
- uid
- url
- vcard
Geo is produced by calling {{coord}}, and uses HTML classes:
- geo
- latitude
- longitude
Please do not rename or remove these classes nor collapse nested elements which use them.
Precision[തിരുത്തുക]
When giving coordinates, please use an appropriate level of precision. Do not use {{coord}}'s |name=
parameter.
See also[തിരുത്തുക]