Template:Infobox rail company: Difference between revisions

From MicrasWiki
Jump to navigationJump to search
No edit summary
Annna (talk | contribs)
mNo edit summary
 
(3 intermediate revisions by one other user 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 52: Line 52:
| 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