Difference between revisions of "Template:Train Consist"

From Railway Operation Simulator Wiki
Jump to navigation Jump to search
m
m
 
(31 intermediate revisions by 2 users not shown)
Line 3: Line 3:
  
 
{| class="wikitable" style="text-align:center"
 
{| class="wikitable" style="text-align:center"
{{#if:{{{subclass|}}}
+
! Subclass !! style=width:13.5em | Operators !! Number of Carriages !! Maximum Speed (km/h) !! Total Mass (long tons) !! Max Braking Force (tons) !! Power (kW)
| ! Subclass
 
}}
 
! Operators
 
! Number of Carriages
 
! Maximum Speed (km/h)
 
! Total Mass (long tons)
 
! Max Braking Force (tons)
 
! Power (kW)
 
 
 
 
|-
 
|-
{{#if:{{{subclass|}}}
+
| rowspan="2" | {{#if:{{{subclass|}}}|'''{{{subclass}}}'''|'''N/A'''}}
| '''{{{subclass}}}''' ||
+
| rowspan="2" | {{{operator}}}{{#if:{{{operator2|}}}|<br>{{{operator2}}}}}{{#if:{{{operator3|}}}|<br>{{{operator3}}}}}{{#if:{{{operator4|}}}|<br>{{{operator4}}}}}
}}
+
| {{{carriages}}}
| {{{operator1}}}
 
{{#if:{{{operator2|}}}|<br>{{{operator2}}}}}
 
{{#if:{{{operator3|}}}|<br>{{{operator3}}}}}
 
{{#if:{{{operator4|}}}|<br>{{{operator4}}}}}
 
| {{#if:{{{carriages|}}}{{{carriages}}}
 
 
| {{{max_speed}}}
 
| {{{max_speed}}}
 
| {{{mass}}}
 
| {{{mass}}}
{{#if:{{{brake_force|}}}
+
| {{#ifexpr: {{{brake_force|0}}} > 0 | {{{brake_force}}} | {{#expr:trunc({{{mass|0}}} / 3) }} }}
| {{{brake_force}}}
 
| {{#ifexpr: {{{mass|0}}} / 3 round 2 }}
 
}}
 
 
| {{{power}}}
 
| {{{power}}}
 
|-
 
|-
| colspan="{{#if:{{{subclass|}}}|7|6}}" |
+
| colspan="{{#if:{{{subclass|}}}|6|5}}" |
'''[headcode];[description];[initial speed];{{{max_speed}}};{{{mass}}};{{{brake_force}}};{{{power}}}'''
+
'''[headcode];[description];[initial speed];{{{max_speed}}};{{{mass}}};{{#ifexpr: {{{brake_force|0}}} > 0 | {{{brake_force}}} | {{#expr:trunc({{{mass|0}}} / 3) }} }};{{{power}}}'''
 
|}
 
|}
 +
<div style="clear: both;"></div>

Latest revision as of 14:25, 25 January 2026

[{{{wikipage}}} {{{title}}}]

[[File:{{{image}}}|300px|right]]

Subclass Operators Number of Carriages Maximum Speed (km/h) Total Mass (long tons) Max Braking Force (tons) Power (kW)
N/A {{{operator}}} {{{carriages}}} {{{max_speed}}} {{{mass}}} 0 {{{power}}}

[headcode];[description];[initial speed];{{{max_speed}}};{{{mass}}};0;{{{power}}}