Difference between revisions of "Template:Infobox rail/doc"

From blackwiki
Jump to navigation Jump to search
imported>Pigsonthewing
(params)
imported>Maury Markowitz
m
Line 4: Line 4:
  
 
== Usage ==
 
== Usage ==
{{tl|Infobox rail}} is used to create an [[Wikipedia:Infobox|infobox]] on articles about railway companies. The <tt>railroad_name</tt>, <tt>locale</tt> and <tt>gauge</tt> parameters are mandatory for this template.
+
{{tl|Infobox rail}} is used to create an [[Wikipedia:Infobox|infobox]] on articles about railway '''companies'''. The <tt>railroad_name</tt>, <tt>locale</tt> and <tt>gauge</tt> parameters are mandatory for this template.
  
 
For railways that operate on [[standard gauge]] tracks or for former railways that operated on standard gauge tracks, {{tl|Infobox SG rail}} uses this template but fills in the <tt>gauge</tt> parameter automatically.
 
For railways that operate on [[standard gauge]] tracks or for former railways that operated on standard gauge tracks, {{tl|Infobox SG rail}} uses this template but fills in the <tt>gauge</tt> parameter automatically.

Revision as of 12:46, 6 August 2013

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