Template:Specs/Documentation

From War Thunder Wiki
< Template:Specs
Revision as of 21:52, 22 March 2019 by blastedryan (talk | contribs) (probably a better place to put this stuff)

(diff) ← Older revision | Approved revision (diff) | Latest revision (diff) | Newer revision → (diff)
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

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
    • number of shells in belt
    • # 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