Difference between revisions of "Template:Train Consist"

From Railway Operation Simulator Wiki
Jump to navigation Jump to search
m
m
Line 7: Line 7:
 
! {{#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)
 
! {{#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)
 
|-
 
|-
| colspan="{{#if:{{{subclass|}}}|2|1}}"
+
{{#if:{{{subclass|}}}|{{!}} {{{subclass}}}|}}
| {{#if:{{{subclass|}}}|{{!}} {{{subclass}}}|}}
 
 
| {{{operator}}}{{#if:{{{operator2|}}}|<br>{{{operator2}}}}}{{#if:{{{operator3|}}}|<br>{{{operator3}}}}}{{#if:{{{operator4|}}}|<br>{{{operator4}}}}}{{#if:{{{operator5|}}}|<br>{{{operator5}}}}}{{#if:{{{operator6|}}}|<br>{{{operator6}}}}}{{#if:{{{operator7|}}}|<br>{{{operator7}}}}}{{#if:{{{operator8|}}}|<br>{{{operator8}}}}}{{#if:{{{operator9|}}}|<br>{{{operator9}}}}}{{#if:{{{operator10|}}}|<br>{{{operator10}}}}}
 
| {{{operator}}}{{#if:{{{operator2|}}}|<br>{{{operator2}}}}}{{#if:{{{operator3|}}}|<br>{{{operator3}}}}}{{#if:{{{operator4|}}}|<br>{{{operator4}}}}}{{#if:{{{operator5|}}}|<br>{{{operator5}}}}}{{#if:{{{operator6|}}}|<br>{{{operator6}}}}}{{#if:{{{operator7|}}}|<br>{{{operator7}}}}}{{#if:{{{operator8|}}}|<br>{{{operator8}}}}}{{#if:{{{operator9|}}}|<br>{{{operator9}}}}}{{#if:{{{operator10|}}}|<br>{{{operator10}}}}}
 
| {{{carriages}}}
 
| {{{carriages}}}
Line 16: Line 15:
 
| {{{power}}}
 
| {{{power}}}
 
|-
 
|-
| colspan="{{#if:{{{subclass|}}}|6|7}}" |
+
| colspan="{{#if:{{{subclass|}}}|5|6}}" |
 
'''[headcode];[description];[initial speed];{{{max_speed}}};{{{mass}}};{{#ifexpr: {{{brake_force|0}}} > 0 | {{{brake_force}}} | {{#expr:trunc({{{mass|0}}} / 3) }} }};{{{power}}}'''
 
'''[headcode];[description];[initial speed];{{{max_speed}}};{{{mass}}};{{#ifexpr: {{{brake_force|0}}} > 0 | {{{brake_force}}} | {{#expr:trunc({{{mass|0}}} / 3) }} }};{{{power}}}'''
 
{{#if:{{{subclass2|}}}|
 
{{#if:{{{subclass2|}}}|
Line 28: Line 27:
 
{{!}} {{#if:{{{power2|}}}|{{{power2}}}|{{{power}}}}}
 
{{!}} {{#if:{{{power2|}}}|{{{power2}}}|{{{power}}}}}
 
{{!}}-
 
{{!}}-
{{!}} colspan="6" {{!}}
+
{{!}} colspan="5" {{!}}
 
'''[headcode];[description];[initial speed];{{{max_speed2}}};{{{mass2}}};{{#if:{{{brake_force2}}}|{{{brake_force2}}}|{{#if:{{{mass2|}}}|{{#expr:trunc({{{mass2|0}}} / 3)|{{#ifexpr: {{{brake_force|0}}} > 0 | {{{brake_force}}} | {{#expr:trunc({{{mass|0}}} / 3) }} }} }} }} }};{{{power2}}}'''
 
'''[headcode];[description];[initial speed];{{{max_speed2}}};{{{mass2}}};{{#if:{{{brake_force2}}}|{{{brake_force2}}}|{{#if:{{{mass2|}}}|{{#expr:trunc({{{mass2|0}}} / 3)|{{#ifexpr: {{{brake_force|0}}} > 0 | {{{brake_force}}} | {{#expr:trunc({{{mass|0}}} / 3) }} }} }} }} }};{{{power2}}}'''
 
|}}
 
|}}
 
|}
 
|}
 
<div style="clear: both;"></div>
 
<div style="clear: both;"></div>

Revision as of 19:12, 6 February 2026

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

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

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

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