Template:Infobox rail company: Difference between revisions

From MicrasWiki
Jump to navigationJump to search
Created page with "{{infobox | headerstyle= background-color: #efefef | title = {{{name|<includeonly>{{PAGENAMEBASE}}</includeonly>}}} | image1 = {{#invoke:InfoboxImage|InfoboxImage|image..."
 
Annna (talk | contribs)
mNo edit summary
 
(4 intermediate revisions by 2 users not shown)
Line 2: Line 2:
| headerstyle= background-color: #efefef
| headerstyle= background-color: #efefef
| title    = {{{name|<includeonly>{{PAGENAMEBASE}}</includeonly>}}}
| title    = {{{name|<includeonly>{{PAGENAMEBASE}}</includeonly>}}}
| image1    = {{#invoke:InfoboxImage|InfoboxImage|image={{{logo|{{{logo_filename|}}}}}}|size={{{logo_size|{{{logo_width|}}}}}}|upright={{{logo_upright|0.9}}}}}
| image1    = {{#if:{{{logo|}}}|{{#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|}}}}}}|upright={{{image_upright|1.2}}}}}
| image2    = {{#if:{{{image|}}}|{{#invoke:InfoboxImage|InfoboxImage|image={{{image|{{{image_filename|}}}}}}|size={{{image_size|{{{widthpx|}}}}}}|upright={{{image_upright|1.2}}}}}| }}
| caption2  = {{{caption|}}}
| caption2  = {{{caption|}}}
| subheader = {{{other_name|}}}
| subheader = {{{other_name|}}}
Line 36: Line 36:
| data15    = {{{parent_company|}}}
| data15    = {{{parent_company|}}}
| label16  = Website
| label16  = Website
| data16    = {{#if:{{{website|}}} | {{#ifeq:_MATCH_|{{#invoke:string|replace|{{{website}}}|^[A-Za-z0-9].*|_MATCH_|plain=false}}|{{URL|1={{{website}}}}}|{{{website}}} }} }}
| data16    = {{{website|}}}


| header40  = {{#if:{{{linelength|}}}{{{tracklength|}}}{{{notrack|}}}{{{gauge|}}}{{{el|}}}{{{speed|}}}{{{elevation|}}}|Technical}}
| header40  = {{#if:{{{linelength|}}}{{{tracklength|}}}{{{notrack|}}}{{{gauge|}}}{{{el|}}}{{{speed|}}}{{{elevation|}}}|Technical}}
Line 45: Line 45:
| label43  = {{abbr|No.|Number}} of tracks
| label43  = {{abbr|No.|Number}} of tracks
| data43    = {{{notrack|}}}
| data43    = {{{notrack|}}}
| label44  = [[Track gauge|Gauge]]
| label44  = [[wikipedia:Track gauge|Gauge]]
| data44    = {{{gauge|}}}
| data44    = {{{gauge|}}}
| label45  = Previous gauge
| label45  = Previous gauge
| data45    = {{{oldgauge|}}}
| data45    = {{{oldgauge|}}}
| label46  = [[Railway electrification system|Electrification]]
| label46  = [[wikipedia:Railway electrification system|Electrification]]
| data46    = {{{el|}}}
| data46    = {{{el|}}}
}}
}}
<noinclude>
[[Category: Infobox templates]][[Category: Transportation templates]]
</noinclude>
[[Category: Companies]]
[[Category: Railways]]

Latest revision as of 19:41, 7 June 2025