Difference between revisions of "Template:Infobox rail company"
Jump to navigation
Jump to search
imported>Izkala (ce) |
imported>Grapesoda22 |
||
| Line 7: | Line 7: | ||
| caption2 = {{{caption<includeonly>|</includeonly>}}} | | caption2 = {{{caption<includeonly>|</includeonly>}}} | ||
| header1 = {{#if:{{{franchise<includeonly>|</includeonly>}}}{{{regions|}}}{{{secregions|}}}{{{fleet|}}}{{{stations|}}}{{{stationsop|}}}{{{abbr|}}}{{{parent_company|}}}{{{website}}}|Overview}} | | header1 = {{#if:{{{franchise<includeonly>|</includeonly>}}}{{{regions|}}}{{{secregions|}}}{{{fleet|}}}{{{stations|}}}{{{stationsop|}}}{{{abbr|}}}{{{parent_company|}}}{{{website}}}|Overview}} | ||
| − | | label2 = Franchise(s) | + | | label2 = Franchise(s) |
| data2 = {{{franchise<includeonly>|</includeonly>}}} | | data2 = {{{franchise<includeonly>|</includeonly>}}} | ||
| − | | label3 = Main {{{nameforarea}}}(s) | + | | label3 = Main {{{nameforarea}}}(s) |
| data3 = {{{regions<includeonly>|</includeonly>}}} | | data3 = {{{regions<includeonly>|</includeonly>}}} | ||
| − | | label4 = Other {{{nameforarea}}}(s) | + | | label4 = Other {{{nameforarea}}}(s) |
| data4 = {{{secregions<includeonly>|</includeonly>}}} | | data4 = {{{secregions<includeonly>|</includeonly>}}} | ||
| − | | label5 = Fleet size | + | | label5 = Fleet size |
| data5 = {{{fleet<includeonly>|</includeonly>}}} | | data5 = {{{fleet<includeonly>|</includeonly>}}} | ||
| − | | label6 = Stations called at | + | | label6 = Stations called at |
| data6 = {{{stations<includeonly>|</includeonly>}}} | | data6 = {{{stations<includeonly>|</includeonly>}}} | ||
| − | | label7 = Stations operated | + | | label7 = Stations operated |
| data7 = {{{stationsop<includeonly>|</includeonly>}}} | | data7 = {{{stationsop<includeonly>|</includeonly>}}} | ||
| − | | label9 = Route km operated | + | | label9 = Route km operated |
| data9 = {{{routekm<includeonly>|</includeonly>}}} | | data9 = {{{routekm<includeonly>|</includeonly>}}} | ||
| label10 = National Rail abbreviation: | | label10 = National Rail abbreviation: | ||
| data10 = {{{abbr<includeonly>|</includeonly>}}} | | data10 = {{{abbr<includeonly>|</includeonly>}}} | ||
| − | | label11 = Parent company | + | | label11 = Parent company |
| data11 = {{{parent_company<includeonly>|</includeonly>}}} | | data11 = {{{parent_company<includeonly>|</includeonly>}}} | ||
| − | | label12 = Website | + | | label12 = Website |
| data12 = <includeonly>{{#if:{{{website|}}} | [http://{{{website}}} {{ #if:{{{websitetitle|}}} | {{{websitetitle}}} | {{{website}}} }}] }}</includeonly><noinclude><nowiki>[http://{{{website}}} {{{websitetitle}}}</nowiki>]</noinclude> | | data12 = <includeonly>{{#if:{{{website|}}} | [http://{{{website}}} {{ #if:{{{websitetitle|}}} | {{{websitetitle}}} | {{{website}}} }}] }}</includeonly><noinclude><nowiki>[http://{{{website}}} {{{websitetitle}}}</nowiki>]</noinclude> | ||
| header40 = {{#if:{{{linelength<includeonly>|</includeonly>}}}{{{tracklength|}}}{{{notrack|}}}{{{gauge|}}}{{{el|}}}{{{speed|}}}{{{elevation|}}}|Technical}} | | header40 = {{#if:{{{linelength<includeonly>|</includeonly>}}}{{{tracklength|}}}{{{notrack|}}}{{{gauge|}}}{{{el|}}}{{{speed|}}}{{{elevation|}}}|Technical}} | ||
| − | | label41 = Line length | + | | label41 = Line length |
| data41 = {{{linelength<includeonly>|</includeonly>}}} | | data41 = {{{linelength<includeonly>|</includeonly>}}} | ||
| − | | label42 = Track length | + | | label42 = Track length |
| data42 = {{{tracklength<includeonly>|</includeonly>}}} | | data42 = {{{tracklength<includeonly>|</includeonly>}}} | ||
| − | | label43 = No. of tracks | + | | label43 = No. of tracks |
| data43 = {{{notrack<includeonly>|</includeonly>}}} | | data43 = {{{notrack<includeonly>|</includeonly>}}} | ||
| − | | label44 = [[Track gauge|Gauge]] | + | | label44 = [[Track gauge|Gauge]] |
| data44 = {{{gauge<includeonly>|</includeonly>}}} | | data44 = {{{gauge<includeonly>|</includeonly>}}} | ||
| − | | label45 = Previous gauge | + | | label45 = Previous gauge |
| data45 = {{{oldgauge<includeonly>|</includeonly>}}} | | data45 = {{{oldgauge<includeonly>|</includeonly>}}} | ||
| label46 = [[Railway electrification system|Electrification]]: | | label46 = [[Railway electrification system|Electrification]]: | ||
| data46 = {{{el<includeonly>|</includeonly>}}} | | data46 = {{{el<includeonly>|</includeonly>}}} | ||
| − | | label47 = Operating speed | + | | label47 = Operating speed |
| data47 = {{{speed<includeonly>|</includeonly>}}} | | data47 = {{{speed<includeonly>|</includeonly>}}} | ||
| − | | label48 = Highest elevation | + | | label48 = Highest elevation |
| data48 = {{{elevation<includeonly>|</includeonly>}}} | | data48 = {{{elevation<includeonly>|</includeonly>}}} | ||
Revision as of 04:03, 27 February 2017
[[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}}} | ||||
| Route km operated | {{{routekm}}} | ||||
| National Rail abbreviation: | {{{abbr}}} | ||||
| Parent company | {{{parent_company}}} | ||||
| Website | [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}}} | ||||
| |||||
[[Category:Infobox templates|Template:Remove first word]]
| This template uses Lua: |
Usage
- 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
| The above documentation is transcluded from Template:Infobox rail company/doc. (edit | history) Editors can experiment in this template's sandbox (edit | diff) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |