Template:Infobox rail: Difference between revisions

Jump to navigation Jump to search
en>Mackensen
(add formal support for the embedded parameter)
 
m (Added some extra parameters on the financial side)
 
(2 intermediate revisions by 2 users not shown)
Line 11: Line 11:
|caption3 = {{{caption|{{{image_caption|}}}}}}
|caption3 = {{{caption|{{{image_caption|}}}}}}


|label1  = [[Reporting mark]]
|label1  = {{wp|Reporting mark}}
|data1    = {{{marks|}}}
|data1    = {{{marks|}}}


Line 26: Line 26:
|data5    = {{{successor_line|}}}
|data5    = {{{successor_line|}}}


|label6  = [[Track gauge]]
|label6  = {{wp|Track gauge}}
|data6    = {{{gauge|}}}
|data6    = {{{gauge|}}}


Line 32: Line 32:
|data7    = {{{old_gauge|}}}
|data7    = {{{old_gauge|}}}


|label8  = [[Railway electrification system|Electrification]]
|label8  = {{wp|Railway electrification system|Electrification}}
|data8    = {{{electrification|}}}
|data8    = {{{electrification|}}}


Line 38: Line 38:
|data9    = {{{length|}}}
|data9    = {{{length|}}}


|label10  = Headquarters
|label10  = Revenue
|data10  = {{{headquarters|{{{hq_city|}}}}}}
|data10  = {{{revenue|}}}


|label11  = Website
|label11  = Operating Income
|data11  = {{{website|}}}
|data11  = {{{operating_income|}}}


|data12  = {{{embedded|}}}
|label12  = Net Income
|data12   = {{{net_income|}}}
 
|label13  = Assets
|data13  = {{{assets|}}}
 
|label14  = Equity
|data14  = {{{equity|}}}
 
|label15  = Number of Employees
|data15  = {{{num_employees|}}}
 
|label16  = Parent Company
|data16  = {{{parent_company|}}}
 
|label17  = Headquarters
|data17  = {{{headquarters|{{{hq_city|}}}}}}
 
|label18  = Website
|data18  = {{{website|}}}
 
|data19   = {{{embedded|}}}


| belowstyle  = vertical-align: middle; padding: 0
| belowstyle  = vertical-align: middle; padding: 0
Line 56: Line 77:
{{{routemap|{{{map}}}}}}</td></tr>
{{{routemap|{{{map}}}}}}</td></tr>
</table>}}
</table>}}
}}{{#invoke:Check for unknown parameters|check|unknown={{main other|[[Category:Pages using infobox rail with unknown parameters|_VALUE_{{PAGENAME}}]]}}|preview=Page using [[Template:Infobox rail]] with unknown parameter "_VALUE_"| alt | caption | electrification | embedded | end_year | gauge | headquarters | hq_city | image | image_alt | image_caption | image_size | length | locale | logo | logo_alt | logo_filename | logo_size | map | map_alt | map_caption | map_name | map_size | map_state | marks | name | old_gauge | predecessor_line | railroad_name | routemap | start_year | successor_line | system_map | website  
}}{{#invoke:Check for unknown parameters|check|unknown={{main other|[[Category:Pages using infobox rail with unknown parameters|_VALUE_{{PAGENAME}}]]}}|preview=Page using [[Template:Infobox rail]] with unknown parameter "_VALUE_"| alt | caption | electrification | embedded | end_year | gauge | headquarters | hq_city | image | image_alt | image_caption | image_size | length | locale | logo | logo_alt | logo_filename | logo_size | map | map_alt | map_caption | map_name | map_size | map_state | marks | name | old_gauge | predecessor_line | railroad_name | routemap | start_year | successor_line | system_map | website | parent_company | num_employees | equity | assets | net_income | operating_income | revenue
}}{{#if:
}}{{#if:
{{#ifeq:{{{name|{{{railroad_name|}}}}}}|{{{railroad_name|{{{name|}}}}}}||1}}
{{#ifeq:{{{name|{{{railroad_name|}}}}}}|{{{railroad_name|{{{name|}}}}}}||1}}

Latest revision as of 01:30, 5 November 2024