Difference between revisions of "Template:Infobox rail/doc"
Jump to navigation
Jump to search
imported>Pigsonthewing (needs further documentation: what is "marks", for instance?) |
imported>Pigsonthewing (params) |
||
| Line 22: | Line 22: | ||
|image_caption = | |image_caption = | ||
|locale = | |locale = | ||
| − | |start_year = | + | |start_year = <!-- {{Start date|YYYY}} --> |
| − | |end_year = | + | |end_year = <!-- {{End date|YYYY}} --> |
|predecessor_line = | |predecessor_line = | ||
|successor_line = | |successor_line = | ||
| Line 31: | Line 31: | ||
|length = | |length = | ||
|hq_city = | |hq_city = | ||
| − | |website = | + | |website = <!-- {{URL|example.com}} --> |
}} | }} | ||
</pre> | </pre> | ||
| + | |||
| + | == Parameters == | ||
| + | |||
| + | ;railroad_name : | ||
| + | ;logo_filename : | ||
| + | ;logo_size : | ||
| + | ;system_map : | ||
| + | ;map_caption : | ||
| + | ;map_size : | ||
| + | ;marks : | ||
| + | ;image : | ||
| + | ;image_size : | ||
| + | ;image_caption : | ||
| + | ;locale : | ||
| + | ;start_year : Use {{tl|Start date}} | ||
| + | ;end_year : Use {{tl|End date}} | ||
| + | ;predecessor_line : | ||
| + | ;successor_line : | ||
| + | ;gauge : | ||
| + | ;old_gauge : | ||
| + | ;electrification : | ||
| + | ;length : | ||
| + | ;hq_city : | ||
| + | ;website : Use {{tl|URL}} | ||
==See also== | ==See also== | ||
Revision as of 12:14, 29 July 2013
| This is a documentation subpage for Template:Infobox rail. It contains usage information, categories and other content that is not part of the original template page. |
| This template's documentation is missing, inadequate, or does not accurately describe its functionality and/or the parameters in its code. Please help to expand and improve it. |
Contents
Usage
{{Infobox rail}} is used to create an infobox on articles about railway companies. The railroad_name, locale and gauge parameters are mandatory for this template.
For railways that operate on standard gauge tracks or for former railways that operated on standard gauge tracks, {{Infobox SG rail}} uses this template but fills in the gauge parameter automatically.
Syntax
{{Infobox rail
|railroad_name =
|logo_filename =
|logo_size =
|system_map =
|map_caption =
|map_size =
|marks =
|image =
|image_size =
|image_caption =
|locale =
|start_year = <!-- {{Start date|YYYY}} -->
|end_year = <!-- {{End date|YYYY}} -->
|predecessor_line =
|successor_line =
|gauge =
|old_gauge =
|electrification =
|length =
|hq_city =
|website = <!-- {{URL|example.com}} -->
}}
Parameters
- railroad_name
- logo_filename
- logo_size
- system_map
- map_caption
- map_size
- marks
- image
- image_size
- image_caption
- locale
- start_year
- Use {{Start date}}
- end_year
- Use {{End date}}
- predecessor_line
- successor_line
- gauge
- old_gauge
- electrification
- length
- hq_city
- website
- Use {{URL}}
See also
Template:Organization infoboxes