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

From blackwiki
Jump to navigation Jump to search
imported>Peter Horn
(- 3' 0")
imported>Skybon
Line 6: Line 6:
 
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.
  
<div style="width: 300px; background: #dddddd; border: 1px solid black; padding:0.5em 1em 0.5em 1em;"><pre>
+
== Syntax ==
 +
<pre>
 
{{Infobox rail
 
{{Infobox rail
| railroad_name    = Boston Revere Beach & Lynn Railroad
+
|railroad_name    =  
| logo_filename    =  
+
|logo_filename    =  
| logo_size        =  
+
|logo_size        =  
| system_map        =  
+
|system_map        =  
| map_caption      =  
+
|map_caption      =  
| map_size          =  
+
|map_size          =  
| marks            =  
+
|marks            =  
| image            =  
+
|image            =  
| image_size        =  
+
|image_size        =  
| image_caption    =  
+
|image_caption    =  
| locale            =  
+
|locale            =  
| start_year        =  
+
|start_year        =  
| end_year          = 1940
+
|end_year          =  
| predecessor_line  =  
+
|predecessor_line  =  
| successor_line    =  
+
|successor_line    =  
| gauge            =   
+
|gauge            =   
| old_gauge        =  
+
|old_gauge        =  
| electrification  =  
+
|electrification  =  
| length            =  
+
|length            =  
| hq_city          =  
+
|hq_city          =  
| website          =  
+
|website          =  
 
}}
 
}}
</pre></div>
+
</pre>
  
 
==See also==
 
==See also==
{{Infobox_Organization/Nav}}
+
{{Organization infoboxes}}
  
 
<includeonly>
 
<includeonly>
<!-- template categories and interwiki links -->
 
 
[[Category:Rail transport infobox templates|Rail]]
 
[[Category:Rail transport infobox templates|Rail]]
 
[[Category:Business infobox templates|Rail]]
 
[[Category:Business infobox templates|Rail]]
Line 42: Line 42:
  
 
[[pt:Predefinição:Info Ferrovia]]
 
[[pt:Predefinição:Info Ferrovia]]
 
 
</includeonly>
 
</includeonly>

Revision as of 15:11, 8 January 2010

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        = 
|end_year          = 
|predecessor_line  = 
|successor_line    = 
|gauge             =  
|old_gauge         = 
|electrification   = 
|length            = 
|hq_city           = 
|website           = 
}}

See also

Template:Organization infoboxes