Difference between revisions of "Template:Infobox rail company"

From blackwiki
Jump to navigation Jump to search
imported>Whistler
m
imported>Whistler
m
Line 3: Line 3:
 
| bodystyle = {{#if:{{{min-width|}}}|min-width:{{{min-width}}};}} {{#if:{{{box_width|}}}|width:{{{box_width}}};}} {{{style|}}}
 
| 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}}};">{{#invoke:InfoboxImage|InfoboxImage|image={{{logo_filename}}}|size={{{logo_width|}}}|sizedefault=250px}}</div>}}
+
| image1    = {{#if: {{{logo_filename<includeonly>|</includeonly>}}}|<div style="background:{{{bgcolor}}};">{{#invoke:InfoboxImage|InfoboxImage|image={{{logo_filename}}}|size={{{logo_width|}}}|sizedefault=200px}}</div>}}
 
| image2    = {{#invoke:InfoboxImage|InfoboxImage|image={{{image_filename<includeonly>|</includeonly>}}}|size={{{widthpx|}}}|sizedefault=265px}}
 
| image2    = {{#invoke:InfoboxImage|InfoboxImage|image={{{image_filename<includeonly>|</includeonly>}}}|size={{{widthpx|}}}|sizedefault=265px}}
 
| caption2  = {{{caption<includeonly>|</includeonly>}}}
 
| caption2  = {{{caption<includeonly>|</includeonly>}}}

Revision as of 22:36, 7 January 2015

{{{name}}}
[[File:{{{logo_filename}}}|200px]]
[[File:{{{image_filename}}}|265px]]
{{{caption}}}
Overview
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