Difference between revisions of "Template:Train Consist"

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