Шаблон: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 of railway depot
Type should be either Locomotive, Carriage, Diesel Multiple Unit, Electric Multiple Unit or Freight
{{Infobox railway depot
| name = <!-- title of the infobox itself -->
| image = <!-- photo of the depot (ex: Image_name.png) -->
| image_upright = <!-- image scaling factor -->
| image_alt = <!-- alternate text for main image -->
| caption = <!-- caption for the main image -->
| location =
| coordinates = <!-LAT|LONG|type:landmark|display=inline,title}->
| owner =
| operator = <!-- name of the operator -->
| depotcode =
| type =
| opened = <!-YYYY|MM|df=y}->
| closed = <!-YYYY|MM|df=y}->
| original =
| pregrouping =
| postgrouping =
| roads = <!-- number of storage roads -->
| rollingstock = <!-- rollingstock stored at the depot -->
| routes = <!-- routes operated from the depot -->
}}
Example
[вироиши манбаъ]{{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.386189|-3.016852|type:railwaystation_region:GB_scale:2000_source:Google|display=inline}}
| owner =
| depotcode = {{Flatlist|
* 6C
* 8H
* BC
}}
| type = [[Locomotive]]
| opened =
| closed = {{Start date|1985}}
| original = [[Chester and Birkenhead Railway]]
| pregrouping =
| postgrouping =
}}
Microformat
[вироиши манбаъ]The HTML mark up 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 an "established", "founded", "opened" or similar date, use {{start date}} 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
[вироиши манбаъ]