Difference between revisions of "Template:Specs"
(Created page with "<includeonly>{{#if:{{#varexists:me}}|{{#unitтехника:{{#var:me}}|{{{1}}}|{{{2}}}|{{{3}}}|{{{4}}}}}}}</includeonly><noinclude> {{doc}} Category:Specs </noinclude>") |
m |
||
| Line 1: | Line 1: | ||
| − | <includeonly>{{#if:{{#varexists:me}}|{{# | + | <includeonly>{{#if:{{#varexists:me}}|{{#unit:{{#var:me}}|{{{1}}}|{{{2}}}|{{{3}}}|{{{4}}}}}}}</includeonly><noinclude> |
{{doc}} | {{doc}} | ||
[[Category:Specs]] | [[Category:Specs]] | ||
</noinclude> | </noinclude> | ||
Revision as of 15:03, 21 September 2018
Contents
Using {{#unit}} / {{specs}}
#unit is structured as {{#unit: "VehicleCode" | "arg1" | "arg2" | "arg3" | "arg4"}}
{{Specs}} functions identically to #unit with the caveat that it must be used after {{Specs-Card}} and returns values based on the vehicle inputted into Specs-Card.
It is structured as {{Specs | "arg1" | "arg2" | "arg3" | "arg4"}}
Each list indent is the next argument in the template. Arguments are not case-sensitive.
English arguments
General
| Argument | Description | Details |
|---|---|---|
article
|
Page/Article name
| |
| name | Full name | |
| pseudonym | Shortened name | |
| image | Name to be used in https://encyclopedia.warthunder.com/images/[IMAGE].png | |
| country | Country | |
| type | Vehicle type |
|
class
|
Vehicle class
|
|
rank
|
Rank in roman numerals
|
|
br
|
BR per mode | defaults to RB |
| premium | Is a premium vehicle? |
|
| gift | Is a gift vehicle? |
|
| squadron | Is a squadron vehicle? |
|
research
|
Research cost | in RP
|
price
|
Purchase cost | in SL |
crew
|
Number of crew
|
|
repair
|
Repair cost
|
defaults to RB and maximum |
| expmul | RP modifier | in percent |
коэф_львы
|
SL modifier | in percent
|
Aircraft
| Argument | Description | Details |
|---|---|---|
mass
|
Take-off weight
|
in metric tons |
engine
|
Engine name
|
|
| ceiling | Max altitude | in metres |
destruction
|
Rip speed of
|
in km/h |
offensive
|
|
Offensive guns
|
defensive
|
|
Defensive (turreted) guns
|
external
|
Suspended ordnance
|
Ground vehicles
| Argument | Description | Details |
|---|---|---|
| mass | Weight | in metric tons. Includes add-on armour. |
cannon
|
Tank guns
|
|
speed
|
Maximum speed
|
Defaults to RB |
gears
|
Number of transmission gears
|
Fleet
| Argument | Description | Details |
|---|---|---|
| displacement | in tons | |
speed
|
Maximum speed
|
Defaults to RB |
| section | Number of sections | |
armour
|
Armour thickness
|
in mm |
weapon
|
|
Russian arguments
| Argument | Description | Details |
|---|---|---|
| акционная | premium | 0=no 1=yes |
| асы | ace crew price | in GE |
| базовая | basic crew price | in SL |
бр
|
BR
|
defaults to RB |
вес
|
weight
|
in metric tons Defaults to takeoff |
вираж
|
turn time in
|
in seconds |
двигатель
|
engine name
|
|
допорудие
|
additional guns
|
needs 4 args. Currently nonfunctional |
| изображение | image name | https://encyclopedia.warthunder.com/images/NAME.png |
| исследование | research cost | in RP |
класс
|
vehicle category
|
needs three args |
курсовое
|
offensive guns for planes
|
needs 3 args |
| название | name | |
оборонительное
|
defensive guns
|
needs at least 3 args |
| опыткоэф | RP modifier | |
орудие
|
tank guns
|
needs 3 or more args |
передачи
|
# of transmission gears
|
needs 2 args |
подвесное
|
payloads
|
needs at least 3 args for rockets, bombs, and torpedoes |
| потолок | max altitude | in meters |
разрушение
|
destruction of
|
in km/h |
ранг
|
rank
|
in roman numerals |
ремонт
|
repair cost
|
defaults to RB and maximum if not specified |
| сваливание | stall speed | in km/h |
| статья | wiki article title | |
| страна | country | |
| тип | type of vehicle | 1=plane, 2=tank, 3=ship, 4=heli |
| цена | cost to buy | in SL |
штаторудие
|
ship guns
|
needs at least 2 args |
| экипаж | # of crew members | |
| эксперты | expert crew price | in SL |

