Difference between revisions of "Template:TankMobility/Documentation"
(Added TemplateData (test)) |
|||
Line 59: | Line 59: | ||
"description": "The weight of the vehicle. Only set if the default value is incorrect.", | "description": "The weight of the vehicle. Only set if the default value is incorrect.", | ||
"type": "number", | "type": "number", | ||
− | " | + | "autovalue": "{{Specs|mass}}" |
}, | }, | ||
"abForwardSpeed": { | "abForwardSpeed": { | ||
Line 65: | Line 65: | ||
"description": "The maximum forward speed of the vehicle in Arcade battles. Only set if the default value is incorrect.", | "description": "The maximum forward speed of the vehicle in Arcade battles. Only set if the default value is incorrect.", | ||
"type": "number", | "type": "number", | ||
− | " | + | "autovalue": "{{Specs|speed|forward|ab}}" |
}, | }, | ||
"rbForwardSpeed": { | "rbForwardSpeed": { | ||
Line 71: | Line 71: | ||
"description": "The maximum forward speed of the vehicle in Realistic/Simulator battles. Only set if the default value is incorrect.", | "description": "The maximum forward speed of the vehicle in Realistic/Simulator battles. Only set if the default value is incorrect.", | ||
"type": "number", | "type": "number", | ||
− | " | + | "autovalue": "{{Specs|speed|forward|rb}}" |
}, | }, | ||
"abReverseSpeed": { | "abReverseSpeed": { | ||
Line 77: | Line 77: | ||
"description": "The maximum reverse speed of the vehicle in Arcade battles. Only set if the default value is incorrect.", | "description": "The maximum reverse speed of the vehicle in Arcade battles. Only set if the default value is incorrect.", | ||
"type": "number", | "type": "number", | ||
− | " | + | "autovalue": "{{Specs|speed|back|ab}}" |
}, | }, | ||
"rbReverseSpeed": { | "rbReverseSpeed": { | ||
Line 83: | Line 83: | ||
"description": "The maximum reverse speed of the vehicle in Realistic/Simulator battles. Only set if the default value is incorrect.", | "description": "The maximum reverse speed of the vehicle in Realistic/Simulator battles. Only set if the default value is incorrect.", | ||
"type": "number", | "type": "number", | ||
− | " | + | "autovalue": "{{Specs|speed|back|rb}}" |
}, | }, | ||
"abMaxHp": { | "abMaxHp": { | ||
Line 89: | Line 89: | ||
"description": "The upgraded horsepower of the engine in Arcade battles. Only set if the default value is incorrect.", | "description": "The upgraded horsepower of the engine in Arcade battles. Only set if the default value is incorrect.", | ||
"type": "number", | "type": "number", | ||
− | " | + | "autovalue": "{{Specs|engine|мощность|ab}}" |
}, | }, | ||
"rbMaxHp": { | "rbMaxHp": { | ||
Line 95: | Line 95: | ||
"description": "The upgraded horsepower of the engine in Realistic/Simulator battles. Only set if the default value is incorrect.", | "description": "The upgraded horsepower of the engine in Realistic/Simulator battles. Only set if the default value is incorrect.", | ||
"type": "number", | "type": "number", | ||
− | " | + | "autovalue": "{{Specs|engine|мощность|rb}}" |
} | } | ||
}, | }, |
Revision as of 22:46, 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 | 81 | 38 | 50.2 | _,___ | 2,862 | __.__ | 57.01 |
Realistic | 73 | 34 | _,___ | 1,500 | __.__ | 29.88 |
{{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 | 81 | 38 | 50.2 | 2,032 | 2,862 | 40.48 | 57.01 |
Realistic | 73 | 34 | 1,327 | 1,500 | 26.43 | 29.88 |
{{tankMobility |AoAweight= |abMinHp=2,032 |rbMinHp=1,327}}
This template inserts a standardised ground vehicle mobility table. Most values are entered automatically, although these can still be overridden with the template parameters.
Parameter | Description | Type | Status | |
---|---|---|---|---|
AB stock horsepower | abMinHp | The unupgraded horsepower of the engine in Arcade battles
| Number | suggested |
RB stock horsepower | rbMinHp | The unupgraded horsepower of the engine in Realistic/Simulator battles
| Number | suggested |
Add-on Armour weight | AoAweight | The additional weight of any unlockable modifications on the vehicle. If not applicable, remove this parameter or leave blank.
| Number | suggested |
Weight | weight | The weight of the vehicle. Only set if the default value is incorrect.
| Number | optional |
AB maximum forward speed | abForwardSpeed | The maximum forward speed of the vehicle in Arcade battles. Only set if the default value is incorrect.
| Number | optional |
RB maximum forward speed | rbForwardSpeed | The maximum forward speed of the vehicle in Realistic/Simulator battles. Only set if the default value is incorrect.
| Number | optional |
AB maximum reverse speed | abReverseSpeed | The maximum reverse speed of the vehicle in Arcade battles. Only set if the default value is incorrect.
| Number | optional |
RB maximum reverse speed | rbReverseSpeed | The maximum reverse speed of the vehicle in Realistic/Simulator battles. Only set if the default value is incorrect.
| Number | optional |
AB maximum engine horsepower | abMaxHp | The upgraded horsepower of the engine in Arcade battles. Only set if the default value is incorrect.
| Number | optional |
RB maximum engine horsepower | rbMaxHp | The upgraded horsepower of the engine in Realistic/Simulator battles. Only set if the default value is incorrect.
| Number | optional |