Template:TrainCarriageRow

From OpenTTD
Jump to: navigation, search



Contents

Usage

Use this for rows between a {{TrainCarriageHeader}} and a |}.

using named properties

  • incomplete list
{{ TrainCarriageRow | name=[[Battery Truck]] | weightEmpty=18 }}
  • full list
{{ TrainCarriageRow
| climate=Y
| name=[[Battery Truck]]
| costGBP=1,148
| costUSD=2,296
| weightEmpty=18
| weightRail=23
| weightMonoRail=24
| weightMagLev=25
| cargoType=batteries
| capacityRail=22
| capacityMonoRail=27
| capacityMagLev=29
}}

Note: if you use names, you can provide them in any order, like this:

{{ TrainCarriageRow | weightEmpty=18 | name=[[Battery Truck]] }}

listing properties in order

  • incomplete list - note that you should not suppose that an empty cell ('||') means that the property was not supplied!
{{ TrainCarriageRow | ? | [[Battery Truck]] | ? | ? | 18 }}
  • full list
{{ TrainCarriageRow | Y | [[Battery Truck]] | 1,148 | 2,296 | 18 | 23 | 24 | 25 | batteries | 22 | 27 | 29 }}

Example result

The above five uses would result in this table:


Climate Model name Cost Weight Capacity
TSRY Original TTD name £ ($) empty rail mono-rail MagLev type rail mono-rail MagLev


? Battery Truck ? (?) 18 ? ? ? ? ? ? ?



Y Battery Truck 1,148 (2,296) 18 23 24 25 batteries 22 27 29



? Battery Truck ? (?) 18 ? ? ? ? ? ? ?



? Battery Truck  ? ( ? ) 18 ? ? ? ? ? ? ?



Y Battery Truck 1,148 ( 2,296 ) 18 23 24 25 batteries 22 27 29



Personal tools