Template:Specs/Documentation

From War Thunder Wiki
Jump to: navigation, search

Using {{#unit}} / {{specs}}

#unit is structured as {{#unit: '''VehicleName''' | '''arg1''' | '''arg2''' | '''arg3''' | '''arg4'''}}

The vehicle name is the name used in the game files.

{{Specs}} functions identically to #unit with the caveats that it must be used after {{Specs-Card}} and uses the vehicle inputting into it.

So it is structured as {{Specs | '''arg1''' | '''arg2''' | '''arg3''' | '''arg4'''}}

Each list inwards is the next argument in the template.

English arguments

Argument Description
article Article name to be used in [[ARTICLE]]
pseudonym Shortened name
name Full name
image Image name to be used in https://encyclopedia.warthunder.com/images/IMAGE.png
country Country
rank
  • (optional) value
Rank in roman numerals
  • in numbers
br
  • AB
  • (optional)RB
  • SB
BR per mode. Defaults to RB
crew Number of crew
Argument Description Details
gift premium 0=no 1=yes
aces ace crew price in GE
basic basic crew price in SL
br
  • ab
  • rb
  • sb
BR
  • AB
  • RB
  • SB
defaults to RB
mass
  • empty
  • <empty field> (by default)
weight
  • Empty weight
  • Maximum Weight
in metric tons Defaults to takeoff
turn
  • ab
  • rb
  • sb
turn time in
  • AB
  • RB
  • SB
in seconds
engine
  • amount
  • type
  • enginecoolingsystem
  • <empty field> (by default)
engine name
  • number of engines
  • engine type
  • cooling type(air or water)
  • name
additionalweapon
  • 1,2,3...
    • 1,2,3...
      • <empty field> (by default)
      • ammunition
additional guns
  • gunoption1, gunoption2, gunoption3...?
    • gun1, gun2, gun3?
      • name
      • total ammunition(all guns combined)
needs 4 args. Currently nonfunctional
image image name https://encyclopedia.warthunder.com/images/NAME.png
research research cost in RP
class
  • 1,2,3...
    • code
vehicle category
  • category1, category2...
    • displays category
needs three args
offensive
  • 1,2,3...
    • ammunition
    • code
    • amount
    • <empty field> (by default)
    • firerate
    • caliber
offensive guns for planes
  • gun1, gun2, gun3
    • total ammunition(all guns combined)
    • code name of guns
    • number of guns
    • name
    • RoF(rounds per minute per gun)
    • caliber
needs 3 args
name name
defensive
  • 1,2,3...
    • ammunition
    • code
    • amount
    • <empty field> (by default)
    • guns
    • firerate
defensive guns
  • turret1, turret2, turret3...
    • total ammunition of turret
    • code name of guns
    • number of turrets
    • name
    • # of guns in turret
    • RoF(rounds per minute per gun)
needs at least 3 args
expmul RP modifier
cannon
  • 1,2,3...
    • ammunition
    • range
    • caliber
    • code
    • amount
    • <empty field> (by default)
    • mag
    • firerate
    • speed
    • stabilizer
    • verticalguidanceangles
      • max
      • min
    • horizontalguidanceangles
      • макс
      • max
tank guns
  • gun1, gun2, gun3
    • total ammo
    • range???
    • caliber
    • code name of gun
    • # of guns
    • name of gun
    • # of bullets per magazine
    • RoF(rounds per minute per gun)
    • The speed of the missile
    • stabilizer
    • vertical guidance
      • max
      • min
    • horizontal guidance
      • max
      • min
needs 3 or more args
gears
  • forward
  • back
# of transmission gears
  • forwards
  • backwards
needs 2 args
external
  • 1,2,3...
    • 1,2,3...
      • amount
      • <empty field> (by default)
payloads
  • payload1, payload2, payload3...
    • armament1, armament2, armament3...
      • number of armament
      • name
needs at least 3 args for rockets, bombs, and torpedoes
ceiling max altitude in meters
destruction
  • constructions
  • chassis
destruction of
  • wings(and aircraft)
  • gear
in km/h
rank
  • value
rank
  • rank in numbers
in roman numerals
repair
  • ab
    • max
    • min
  • rb
    • max
    • min
  • sb
    • max
    • min
repair cost
  • AB
    • max
    • min
  • RB
    • max
    • min
  • SB
    • max
    • min
defaults to RB and maximum if not specified
stalling stall speed in km/h
article wiki article title
country country
type type of vehicle 1=plane, 2=tank, 3=ship, 4=heli
price cost to buy in SL
штаторудие
  • 1,2,3...
    • боезапас
    • количество
    • название
    • обойма
    • орудия
    • скорострельность
    • тип
This option will be changed soon!

ship guns

  • gun1, gun2, gun3...
    • total ammunition of turret
    • number of turrets
    • name
    • # of bullets per magazine
    • # of guns in turret
    • RoF(rounds per minute per gun)
    • gun type(primary, secondary, machinegun, torpedo
needs at least 2 args
crew # of crew members
experts expert crew price in SL

Russian arguments

Argument Description Details
акционная premium 0=no 1=yes
асы ace crew price in GE
базовая basic crew price in SL
бр
  • аб
  • рб
  • сб
BR
  • AB
  • RB
  • SB
defaults to RB
вес
  • пустой
  • полный
weight
  • Empty weight
  • Maximum Weight
in metric tons Defaults to takeoff
вираж
  • аб
  • рб
  • сб
turn time in
  • AB
  • RB
  • SB
in seconds
двигатель
  • количество
  • тип
  • сод
  • название
engine name
  • number of engines
  • engine type
  • cooling type(air or water)
  • name
допорудие
  • 1,2,3...
    • 1,2,3...
      • название
      • боезапас
additional guns
  • gunoption1, gunoption2, gunoption3...?
    • gun1, gun2, gun3?
      • name
      • total ammunition(all guns combined)
needs 4 args. Currently nonfunctional
изображение image name https://encyclopedia.warthunder.com/images/NAME.png
исследование research cost in RP
класс
  • 1,2,3...
    • код
vehicle category
  • category1, category2...
    • displays category
needs three args
курсовое
  • 1,2,3...
    • боезапас
    • код
    • количество
    • название
    • скорострельность
offensive guns for planes
  • gun1, gun2, gun3
    • total ammunition(all guns combined)
    • code name of guns
    • number of guns
    • name
    • RoF(rounds per minute per gun)
needs 3 args
название name
оборонительное
  • 1,2,3...
    • боезапас
    • код
    • количество
    • название
    • орудия
    • скорострельность
defensive guns
  • turret1, turret2, turret3...
    • total ammunition of turret
    • code name of guns
    • number of turrets
    • name
    • # of guns in turret
    • RoF(rounds per minute per gun)
needs at least 3 args
опыткоэф RP modifier
орудие
  • 1,2,3...
    • боезапас
    • дальность
    • калибр
    • код
    • количество
    • название
    • обойма
    • скорострельность
    • скорость
    • стабилизатор
    • увн
      • макс
      • мин
    • угн
      • макс
      • мин
tank guns
  • gun1, gun2, gun3
    • total ammo
    • range???
    • caliber
    • code name of gun
    • # of guns
    • name of gun
    • # of bullets per magazine
    • RoF(rounds per minute per gun)
    • muzzle velocity?
    • stabilizer
    • vertical guidance
      • max
      • min
    • horizontal guidance
      • max
      • min
needs 3 or more args
передачи
  • вперед
  • назад
# of transmission gears
  • forwards
  • backwards
needs 2 args
подвесное
  • 1,2,3...
    • 1,2,3...
      • количество
      • название
payloads
  • payload1, payload2, payload3...
    • armament1, armament2, armament3...
      • number of armament
      • name
needs at least 3 args for rockets, bombs, and torpedoes
потолок max altitude in meters
разрушение
  • конструкции
  • шасси
destruction of
  • wings(and aircraft)
  • gear
in km/h
ранг
  • значение
rank
  • rank in numbers
in roman numerals
ремонт
  • аб
    • макс
    • мин
  • рб
    • макс
    • мин
  • сб
    • макс
    • мин
repair cost
  • AB
    • max
    • min
  • RB
    • max
    • min
  • SB
    • max
    • min
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
штаторудие
  • 1,2,3...
    • боезапас
    • количество
    • название
    • обойма
    • орудия
    • скорострельность
    • тип
ship guns
  • gun1, gun2, gun3...
    • total ammunition of turret
    • number of turrets
    • name
    • # of bullets per magazine
    • # of guns in turret
    • RoF(rounds per minute per gun)
    • gun type(primary, secondary, machinegun, torpedo
needs at least 2 args
экипаж # of crew members
эксперты expert crew price in SL