Difference between revisions of "Template:Infobox rail company"

From blackwiki
Jump to navigation Jump to search
imported>Bobrayner
(reverting, temporarily - trying to pinpoint a layout problem)
imported>Frietjes
(add back the portions which do not change the default appearance)
Line 1: Line 1:
 
{{ infobox
 
{{ infobox
 
| headerstyle= background-color: #efefef
 
| headerstyle= background-color: #efefef
 +
| bodystyle = {{#if:{{{min-width|}}}|min-width:{{{min-width}}};}} {{#if:{{{box_width|}}}|width:{{{box_width}}};}} {{{style|}}}
 
| title    = {{{name<includeonly>|</includeonly>}}}
 
| title    = {{{name<includeonly>|</includeonly>}}}
 
| image1    = {{#if: {{{logo_filename<includeonly>|</includeonly>}}}|<div style="background:{{{bgcolor}}};">[[File:{{{logo_filename}}}{{#if:{{{logo_width|}}}|{{!}}{{{logo_width}}}|{{!}}200px}}]]</div>}}
 
| image1    = {{#if: {{{logo_filename<includeonly>|</includeonly>}}}|<div style="background:{{{bgcolor}}};">[[File:{{{logo_filename}}}{{#if:{{{logo_width|}}}|{{!}}{{{logo_width}}}|{{!}}200px}}]]</div>}}

Revision as of 15:47, 19 February 2014

{{{name}}}
[[File:{{{logo_filename}}}|200px]]
[[File:{{{image_filename}}}|{{{widthpx}}}|265px]]
{{{caption}}}
Info
Franchise(s):{{{franchise}}}
Main {{{nameforarea}}}(s):{{{regions}}}
Other {{{nameforarea}}}(s):{{{secregions}}}
Fleet size:{{{fleet}}}
Stations called at:{{{stations}}}
Stations operated:{{{stationsop}}}
Passenger km 2007/8:{{{passkm0708}}}
Route km operated:{{{routekm}}}
National Rail abbreviation:{{{abbr}}}
Parent company:{{{parent_company}}}
Web site:[http://{{{website}}} {{{websitetitle}}}]
Technical
Line length:{{{linelength}}}
Track length:{{{tracklength}}}
No. of tracks:{{{notrack}}}
Gauge:{{{gauge}}}
Previous gauge:{{{oldgauge}}}
Electrification:{{{el}}}
Operating speed:{{{speed}}}
Highest elevation:{{{elevation}}}
Route map
{{{map}}}
[[Category:Infobox templates|Template:Remove first word]]

[[Category:Infobox templates|Template:Remove first word]]

Template documentation[view] [edit] [history] [purge]

Usage

  1. redirect Template:Parameter names example
{{Infobox rail company
<!-- General -->
| name           = 
| logo           = 
| logo_size      = 
| image          = 
| image_size     = 
| caption        = 
<!-- Info -->
| franchise      = 
| nameforarea    = 
| regions        = 
| secregions     = 
| fleet          = 
| stations       = 
| stationsop     = 
| routekm        = 
| abbr           = 
| founded        =
| defunct        =
| predecessors   = <!-- or | predecessor    = -->
| successors     = <!-- or | successor      = -->
| parent_company = 
| website        = 
<!-- Technical -->
| linelength     = 
| tracklength    = 
| notrack        = 
| gauge          =
| oldgauge       = 
| el             = 
| speed          = 
| elevation      = 
<!-- Route map -->
| map            = 
}}

Tracking category