Difference between revisions of "Template:TankMobility/Documentation"
(→Parameters: Added new reverse parameters) |
(→Parameters: specified manual parameters.) |
||
| Line 6: | Line 6: | ||
== Parameters == | == Parameters == | ||
* ''(automatic)'' '''weight''' - Weight of the tank | * ''(automatic)'' '''weight''' - Weight of the tank | ||
| − | * '''AoAweight''' - Weight of the tank's add-on armour packages | + | * ''(manual)'' '''AoAweight''' - Weight of the tank's add-on armour packages |
* ''(automatic)'' '''abForwardSpeed''' - Maximum forward speed of the tank in Arcade modes | * ''(automatic)'' '''abForwardSpeed''' - Maximum forward speed of the tank in Arcade modes | ||
* ''(automatic)'' '''abReverseSpeed''' - Maximum reverse speed of the tank in Arcade modes | * ''(automatic)'' '''abReverseSpeed''' - Maximum reverse speed of the tank in Arcade modes | ||
| − | * '''abMinHp''' - Stock horsepower output of the tank's engine in AB | + | * ''(manual)'' '''abMinHp''' - Stock horsepower output of the tank's engine in AB |
* ''(automatic)'' '''abMaxHp''' - Spaded horsepower output of the tank's engine in AB | * ''(automatic)'' '''abMaxHp''' - Spaded horsepower output of the tank's engine in AB | ||
* ''(automatic)'' '''rbForwardSpeed''' - Maximum forward speed of the tank in Realistic/Simulator modes | * ''(automatic)'' '''rbForwardSpeed''' - Maximum forward speed of the tank in Realistic/Simulator modes | ||
* ''(automatic)'' '''rbReverseSpeed''' - Maximum reverse speed of the tank in Realistic/Simulator modes | * ''(automatic)'' '''rbReverseSpeed''' - Maximum reverse speed of the tank in Realistic/Simulator modes | ||
| − | * '''rbMinHp''' - Stock horsepower output of the tank's engine in RB/SB | + | * ''(manual)'' '''rbMinHp''' - Stock horsepower output of the tank's engine in RB/SB |
* ''(automatic)'' '''rbMaxHp''' - Spaded horsepower output of the tank's engine in RB/SB | * ''(automatic)'' '''rbMaxHp''' - Spaded horsepower output of the tank's engine in RB/SB | ||
| + | |||
| + | Manual parameters are optional and must be added by the Wiki user. | ||
== Examples of use == | == Examples of use == | ||
Revision as of 20:31, 23 May 2020
Description
This template inserts a standardised ground vehicle mobility table using values from Template:Specs. These can be overridden with the template parameters.
Parameters
- (automatic) weight - Weight of the tank
- (manual) AoAweight - Weight of the tank's add-on armour packages
- (automatic) abForwardSpeed - Maximum forward speed of the tank in Arcade modes
- (automatic) abReverseSpeed - Maximum reverse speed of the tank in Arcade modes
- (manual) abMinHp - Stock horsepower output of the tank's engine in AB
- (automatic) abMaxHp - Spaded horsepower output of the tank's engine in AB
- (automatic) rbForwardSpeed - Maximum forward speed of the tank in Realistic/Simulator modes
- (automatic) rbReverseSpeed - Maximum reverse speed of the tank in Realistic/Simulator modes
- (manual) rbMinHp - Stock horsepower output of the tank's engine in RB/SB
- (automatic) rbMaxHp - Spaded horsepower output of the tank's engine in RB/SB
Manual parameters are optional and must be added by the Wiki user.
Examples of use
The default table filled automatically from data of the Type 90 (B)
| Game Mode | Max Speed (km/h) | Weight (tons) | Engine power (horsepower) | Power-to-weight ratio (hp/ton) | |||
|---|---|---|---|---|---|---|---|
| Forward | Reverse | Stock | Upgraded | Stock | Upgraded | ||
| Arcade | Expression error: Unexpected * operator. | _,___ | __.__ | __.__ | |||
| Realistic | _,___ | __.__ | __.__ | ||||
{{tankMobility}}
Use of the template supplemented by non-automatic values
| Game Mode | Max Speed (km/h) | Weight (tons) | Engine power (horsepower) | Power-to-weight ratio (hp/ton) | |||
|---|---|---|---|---|---|---|---|
| Forward | Reverse | Stock | Upgraded | Stock | Upgraded | ||
| Arcade | Expression error: Unexpected * operator. | 2,032 | Expression error: Unexpected round operator. | __.__ | |||
| Realistic | 1,327 | Expression error: Unexpected round operator. | __.__ | ||||
{{tankMobility
|AoAweight=
|abMinHp=2,032
|rbMinHp=1,327}}

