Difference between revisions of "Template:Infobox rail company"

From blackwiki
Jump to navigation Jump to search
imported>Frietjes
imported>Frietjes
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>{{PAGENAMEBASE}}</includeonly>}}}
 
| title    = {{{name|<includeonly>{{PAGENAMEBASE}}</includeonly>}}}
| image1    = {{#if: {{{logo|{{{logo_filename|}}}}}}|<div style="background:{{{bgcolor}}};">{{#invoke:InfoboxImage|InfoboxImage|image={{{logo|{{{logo_filename|}}}}}}|size={{{logo_size|{{{logo_width|}}}}}}|sizedefault=200px}}</div>}}
+
| image1    = {{#invoke:InfoboxImage|InfoboxImage|image={{{logo|{{{logo_filename|}}}}}}|size={{{logo_size|{{{logo_width|}}}}}}|upright={{{logo_upright|0.9}}}}}
| image2    = {{#invoke:InfoboxImage|InfoboxImage|image={{{image|{{{image_filename|}}}}}}|size={{{image_size|{{{widthpx|}}}}}}|sizedefault=265px}}
+
| image2    = {{#invoke:InfoboxImage|InfoboxImage|image={{{image|{{{image_filename|}}}}}}|size={{{image_size|{{{widthpx|}}}}}}|upright={{{image_upright|1.2}}}}}
 
| caption2  = {{{caption|}}}
 
| caption2  = {{{caption|}}}
  

Revision as of 15:03, 2 November 2017

[[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