Template:Specs

From War Thunder Wiki
Revision as of 15:02, 21 September 2018 by VolgaIgor (talk | contribs) (Created page with "<includeonly>{{#if:{{#varexists:me}}|{{#unitтехника:{{#var:me}}|{{{1}}}|{{{2}}}|{{{3}}}|{{{4}}}}}}}</includeonly><noinclude> {{doc}} Category:Specs </noinclude>")

(diff) ← Older revision | Approved revision (diff) | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

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
  • (optional) ru
Page/Article name
  • Russian 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
  • 1 = plane
  • 2 = tank
  • 3 = ship
  • 4 = heli
class
  • 1, 2, 3...
    • (optional) code
Vehicle class
  • Class1, class2...
    • Class code
rank
  • (optional) value
Rank in roman numerals
  • in numbers
br
  • AB
  • (optional) RB
  • SB
BR per mode defaults to RB
premium Is a premium vehicle?
  • 0 = no
  • 1 = yes
gift Is a gift vehicle?
  • 0 = no
  • 1 = yes
squadron Is a squadron vehicle?
  • 0 = no
  • 1 = yes
research
  • (optional) value
Research cost in RP
  • un-delimited
price
  • currency
  • (optional) value
Purchase cost in SL
  • S = Sl icon.png
  • Z = Ge icon.png
crew
  • basic
  • experts
  • aces
Number of crew
  • Basic crew cost
  • Expert crew cost
  • Ace crew cost
 
  • in SL
  • in SL
  • in GE
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
expmul RP modifier in percent
коэф_львы
  • ab
  • rb
  • sb
SL modifier in percent
  • defaults to RB

Aircraft

Argument Description Details
mass
  • empty
Take-off weight
  • Empty weight
in metric tons
engine
  • amount
  • type
  • cooling
Engine name
  • Number of engines
  • Engine type
  • Cooling type (air or water)
ceiling Max altitude in metres
destruction
  • body
  • gear
Rip speed of
  • wings
  • gear
in km/h
offensive
  • 1, 2, 3...
    • ammunition
    • amount
    • caliber
    • code
    • firerate
 
  • Gun1 name, gun2 name...
    • Total ammunition
    • Number of guns
    • Calibre
    • Gun code
    • Rate of fire
Offensive guns




  • in mm


  • in rounds per minute per gun
defensive
  • 1, 2, 3...
    • ammunition
    • amount
    • caliber
    • code
    • guns
    • firerate
 
  • Gun name in turret1, turret2...
    • Total ammunition of turret
    • Number of turrets
    • Calibre
    • Guns code
    • Number of guns in turret
    • Rate of fire
Defensive (turreted) guns




  • in mm



  • in rounds per minute per gun
external
  • 1, 2, 3...
    • 1, 2, 3...
      • amount
Suspended ordnance
  • Preset1, preset2, preset3...
    • Name of armament1, armament2, armament3...
      • Number of armament

Ground vehicles

Argument Description Details
mass Weight in metric tons. Includes add-on armour.
cannon
  • 1, 2, 3...
    • ammunition
    • amount
    • caliber
    • code
    • firerate
    • mag
    • (optional) name
    • range
    • speed
    • stabilizer
    • угн
      • max
      • min
    • увн
      • max
      • min
Tank guns
  • gun1, gun2, gun3, etc
    • Total ammunition
    • Number of guns
    • Calibre
    • Gun code
    • Rate of fire
    • Number of bullets per magazine
    • Gun name
    • Range
    • The speed of the projectile
    • Gun stabilization type
    • Horizontal guidance
      • max
      • min
    • Vertical guidance
      • max
      • min
 



  • in rounds per minute per gun
  • only available for guns that use a belt-loading system
  • default
  • in metres
  • only available for self-propelled projectiles (e.g. missiles and rockets)


  • in degrees
speed
  • forward
    • ab
    • rb
  • back
    • ab
    • rb
Maximum speed
  • Forwards
    • AB
    • RB
  • Backwards
    • AB
    • RB
Defaults to RB
gears
  • forward
  • back
Number of transmission gears
  • Forwards
  • Reverse

Fleet

Argument Description Details
displacement in tons
speed
  • forward
    • ab
    • rb
  • back
    • ab
    • rb
Maximum speed
  • Forwards
    • AB
    • RB
  • Backwards
    • AB
    • RB
Defaults to RB
section Number of sections
armour
  • turret
    • front
    • side
    • back
  • citadel
    • front
    • side
    • back
  • hull
    • thickness
    • material
  • superstructure
    • thickness
    • material
Armour thickness
  • Main armament turrets
    • Front
    • Sides
    • Back
  • Citadel
    • Front
    • Sides
    • Back
  • Hull
    • Thickness
    • Material
  • Superstructure
    • Thickness
    • Material
in mm
weapon
  • main
    • количество
    • 1, 2, 3...
      • ammunition
      • amount
      • caliber
      • code
      • firerate
      • guns
      • mag
      • (optional) name
      • увн
        • max
        • min
  • secondary
    • same as primary
  • antiaircraft
    • same as primary
  • дополнительное
    • 1, 2, 3...
      • 1, 2, 3...
        • name

  • Primary armaments
    • Number of distinct primary weapons
    • Weapon 1, 2, 3, etc
      • Total ammunition
      • Number of turrets
      • Calibre
      • Gun code
      • Rate of fire
      • Number of guns
      • Belt capacity
      • Weapon name
      • Vertical guidance
        • max
        • min
  • Secondary armaments


  • Anti-aircraft armaments


  • Additional armaments
    • Preset1, 2, 3, etc
      • Weapon1, 2, 3, etc
        • Name

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