Difference between revisions of "Template:Specs/Documentation"

From War Thunder Wiki
Jump to: navigation, search
Line 28: Line 28:
 
|-
 
|-
 
| rank
 
| rank
 +
 
*(optional) value  
 
*(optional) value  
 
|| Rank in roman numerals
 
|| Rank in roman numerals
 +
 
*in numbers
 
*in numbers
 
|-
 
|-
 
| br  
 
| br  
 +
 
* AB
 
* AB
 
* (optional)RB
 
* (optional)RB
Line 45: Line 48:
 
! Argument !! Description !! Details
 
! Argument !! Description !! Details
 
|-
 
|-
| акционная || premium ||  0=no 1=yes
+
| gift || premium ||  0=no 1=yes
 
|-
 
|-
| асы || ace crew price || in GE
+
| aces || ace crew price || in GE
 
|-
 
|-
| базовая || basic crew price || in SL
+
| basic || basic crew price || in SL
 
|-
 
|-
| бр
+
| br
* аб
+
 
* рб
+
* ab
* сб
+
* rb
 +
* sb
 
|| BR
 
|| BR
 +
 
* AB
 
* AB
 
* RB
 
* RB
Line 61: Line 66:
 
  || defaults to RB
 
  || defaults to RB
 
|-
 
|-
| вес
+
| mass
* пустой
+
 
* полный
+
* empty
 +
* <empty field> (by default)
 
|| weight
 
|| weight
 +
 
* Empty weight
 
* Empty weight
 
* Maximum Weight
 
* Maximum Weight
 
  || in metric tons Defaults to takeoff
 
  || in metric tons Defaults to takeoff
 
|-
 
|-
| вираж
+
| turn
* аб
+
 
* рб
+
* ab
* сб
+
* rb
 +
* sb
 
|| turn time in
 
|| turn time in
 +
 
* AB
 
* AB
 
* RB
 
* RB
Line 79: Line 88:
 
  || in seconds
 
  || in seconds
 
|-
 
|-
| двигатель
+
| engine
* количество
+
 
* тип
+
* amount
* сод
+
* type
* название
+
* enginecoolingsystem
 +
* <empty field> (by default)
 
|| engine name  
 
|| engine name  
 +
 
* number of engines
 
* number of engines
 
* engine type
 
* engine type
Line 91: Line 102:
 
||  
 
||  
 
|-
 
|-
| допорудие
+
| additionalweapon
 +
 
 
* 1,2,3...
 
* 1,2,3...
 
** 1,2,3...
 
** 1,2,3...
*** название
+
*** <empty field> (by default)
*** боезапас
+
*** ammunition
 
|| additional guns  
 
|| additional guns  
 +
 
* gunoption1, gunoption2, gunoption3...?
 
* gunoption1, gunoption2, gunoption3...?
 
** gun1, gun2, gun3?
 
** gun1, gun2, gun3?
Line 103: Line 116:
 
|| needs 4 args. Currently nonfunctional
 
|| needs 4 args. Currently nonfunctional
 
|-
 
|-
| изображение || image name || <nowiki>https://encyclopedia.warthunder.com/images/NAME.png</nowiki>
+
| image || image name || <nowiki>https://encyclopedia.warthunder.com/images/NAME.png</nowiki>
 
|-
 
|-
| исследование || research cost || in RP
+
| research || research cost || in RP
 
|-
 
|-
| класс
+
| class
 +
 
 
* 1,2,3...
 
* 1,2,3...
** код
+
** code
 
|| vehicle category  
 
|| vehicle category  
 +
 
* category1, category2...
 
* category1, category2...
 
** displays category
 
** displays category
 
|| needs three args
 
|| needs three args
 
|-
 
|-
| курсовое
+
| offensive
 +
 
 
* 1,2,3...
 
* 1,2,3...
** боезапас
+
** ammunition
** код
+
** code
** количество
+
** amount
** название
+
** <empty field> (by default)
** скорострельность
+
** firerate
 +
** caliber
 
|| offensive guns for planes  
 
|| offensive guns for planes  
 +
 
* gun1, gun2, gun3
 
* gun1, gun2, gun3
 
** total ammunition(all guns combined)
 
** total ammunition(all guns combined)
Line 129: Line 147:
 
** name
 
** name
 
** RoF(rounds per minute per gun)
 
** RoF(rounds per minute per gun)
 +
** caliber
 
|| needs 3 args
 
|| needs 3 args
 
|-
 
|-
| название || name ||  
+
| name || name ||  
 
|-
 
|-
| оборонительное
+
| defensive
 +
 
 
* 1,2,3...
 
* 1,2,3...
** боезапас
+
** ammunition
** код
+
** code
** количество
+
** amount
** название
+
** <empty field> (by default)
** орудия
+
** guns
** скорострельность
+
** firerate
 
|| defensive guns  
 
|| defensive guns  
 +
 
* turret1, turret2, turret3...
 
* turret1, turret2, turret3...
 
** total ammunition of turret
 
** total ammunition of turret
Line 151: Line 172:
 
|| needs at least 3 args
 
|| needs at least 3 args
 
|-
 
|-
| опыткоэф || RP modifier ||  
+
| expmul || RP modifier ||  
 
|-
 
|-
| орудие
+
| cannon
 +
 
 
* 1,2,3...
 
* 1,2,3...
** боезапас
+
** ammunition
** дальность
+
** range
** калибр
+
** caliber
** код
+
** code
** количество
+
** amount
** название
+
** <empty field> (by default)
** обойма
+
** mag
** скорострельность
+
** firerate
** скорость
+
** speed
** стабилизатор
+
** stabilizer
** увн
+
** verticalguidanceangles
 +
*** max
 +
*** min
 +
** horizontalguidanceangles
 
*** макс
 
*** макс
*** мин
+
*** max
** угн
 
*** макс
 
*** мин
 
 
|| tank guns
 
|| tank guns
 +
 
* gun1, gun2, gun3
 
* gun1, gun2, gun3
 
** total ammo
 
** total ammo
Line 182: Line 205:
 
** # of bullets per magazine
 
** # of bullets per magazine
 
** RoF(rounds per minute per gun)
 
** RoF(rounds per minute per gun)
** muzzle velocity?
+
** The speed of the missile
 
** stabilizer
 
** stabilizer
 
** vertical guidance
 
** vertical guidance
Line 192: Line 215:
 
  || needs 3 or more args
 
  || needs 3 or more args
 
|-
 
|-
| передачи
+
| gears
* вперед
+
 
* назад
+
* forward
 +
* back
 
|| # of transmission gears  
 
|| # of transmission gears  
 +
 
* forwards
 
* forwards
 
* backwards
 
* backwards
 
|| needs 2 args
 
|| needs 2 args
 
|-
 
|-
| подвесное
+
| external
 +
 
 
* 1,2,3...
 
* 1,2,3...
 
** 1,2,3...
 
** 1,2,3...
*** количество
+
*** amount
*** название
+
*** <empty field> (by default)
 
|| payloads  
 
|| payloads  
 +
 
* payload1, payload2, payload3...
 
* payload1, payload2, payload3...
 
** armament1, armament2, armament3...
 
** armament1, armament2, armament3...
Line 212: Line 239:
 
|| needs at least 3 args for rockets, bombs, and torpedoes
 
|| needs at least 3 args for rockets, bombs, and torpedoes
 
|-
 
|-
| потолок || max altitude || in meters
+
| ceiling || max altitude || in meters
 
|-
 
|-
| разрушение
+
| destruction
* конструкции
+
 
* шасси
+
* constructions
 +
* chassis
 
|| destruction of
 
|| destruction of
 +
 
* wings(and aircraft)
 
* wings(and aircraft)
 
* gear
 
* gear
 
|| in km/h
 
|| in km/h
 
|-
 
|-
| ранг
+
| rank
* значение
+
 
 +
* value
 
|| rank  
 
|| rank  
 +
 
* rank in numbers
 
* rank in numbers
 
|| in roman numerals
 
|| in roman numerals
 
|-
 
|-
| ремонт
+
| repair
* аб
+
 
** макс
+
* ab
** мин
+
** max
* рб
+
** min
** макс
+
* rb
** мин
+
** max
* сб
+
** min
** макс
+
* sb
** мин
+
** max
 +
** min
 
|| repair cost  
 
|| repair cost  
 +
 
* AB
 
* AB
 
** max
 
** max
Line 250: Line 283:
 
|| defaults to RB and maximum if not specified
 
|| defaults to RB and maximum if not specified
 
|-
 
|-
| сваливание || stall speed || in km/h
+
| stalling || stall speed || in km/h
 
|-
 
|-
| статья || wiki article title ||  
+
| article || wiki article title ||  
 
|-
 
|-
| страна || country ||  
+
| country || country ||  
 
|-
 
|-
| тип || type of vehicle || 1=plane, 2=tank, 3=ship, 4=heli
+
| type || type of vehicle || 1=plane, 2=tank, 3=ship, 4=heli
 
|-
 
|-
| цена || cost to buy || in SL
+
| price || cost to buy || in SL
 
|-
 
|-
 
| штаторудие  
 
| штаторудие  
 +
 
* 1,2,3...
 
* 1,2,3...
 
** боезапас
 
** боезапас
Line 269: Line 303:
 
** скорострельность
 
** скорострельность
 
** тип
 
** тип
|| ship guns  
+
|| '''This option will be changed soon!'''
 +
ship guns  
 +
 
 
* gun1, gun2, gun3...
 
* gun1, gun2, gun3...
 
** total ammunition of turret
 
** total ammunition of turret
Line 280: Line 316:
 
|| needs at least 2 args
 
|| needs at least 2 args
 
|-
 
|-
| экипаж || # of crew members ||  
+
| crew || # of crew members ||  
 
|-
 
|-
| эксперты || expert crew price || in SL
+
| experts || expert crew price || in SL
 
|}
 
|}
 
  
 
=== Russian arguments ===
 
=== Russian arguments ===
Line 299: Line 334:
 
|-
 
|-
 
| бр  
 
| бр  
 +
 
* аб
 
* аб
 
* рб
 
* рб
 
* сб
 
* сб
 
|| BR
 
|| BR
 +
 
* AB
 
* AB
 
* RB
 
* RB
Line 309: Line 346:
 
|-
 
|-
 
| вес  
 
| вес  
 +
 
* пустой
 
* пустой
 
* полный
 
* полный
 
|| weight
 
|| weight
 +
 
* Empty weight
 
* Empty weight
 
* Maximum Weight
 
* Maximum Weight
Line 317: Line 356:
 
|-
 
|-
 
| вираж  
 
| вираж  
 +
 
* аб
 
* аб
 
* рб
 
* рб
 
* сб
 
* сб
 
|| turn time in
 
|| turn time in
 +
 
* AB
 
* AB
 
* RB
 
* RB
Line 327: Line 368:
 
|-
 
|-
 
| двигатель  
 
| двигатель  
 +
 
* количество
 
* количество
 
* тип
 
* тип
Line 332: Line 374:
 
* название
 
* название
 
|| engine name  
 
|| engine name  
 +
 
* number of engines
 
* number of engines
 
* engine type
 
* engine type
Line 339: Line 382:
 
|-
 
|-
 
| допорудие  
 
| допорудие  
 +
 
* 1,2,3...
 
* 1,2,3...
 
** 1,2,3...
 
** 1,2,3...
Line 344: Line 388:
 
*** боезапас  
 
*** боезапас  
 
|| additional guns  
 
|| additional guns  
 +
 
* gunoption1, gunoption2, gunoption3...?
 
* gunoption1, gunoption2, gunoption3...?
 
** gun1, gun2, gun3?
 
** gun1, gun2, gun3?
Line 355: Line 400:
 
|-
 
|-
 
| класс  
 
| класс  
 +
 
* 1,2,3...
 
* 1,2,3...
 
** код  
 
** код  
 
|| vehicle category  
 
|| vehicle category  
 +
 
* category1, category2...
 
* category1, category2...
 
** displays category
 
** displays category
Line 363: Line 410:
 
|-
 
|-
 
| курсовое  
 
| курсовое  
 +
 
* 1,2,3...
 
* 1,2,3...
 
** боезапас
 
** боезапас
Line 370: Line 418:
 
** скорострельность
 
** скорострельность
 
|| offensive guns for planes  
 
|| offensive guns for planes  
 +
 
* gun1, gun2, gun3
 
* gun1, gun2, gun3
 
** total ammunition(all guns combined)
 
** total ammunition(all guns combined)
Line 381: Line 430:
 
|-
 
|-
 
| оборонительное  
 
| оборонительное  
 +
 
* 1,2,3...
 
* 1,2,3...
 
** боезапас
 
** боезапас
Line 389: Line 439:
 
** скорострельность
 
** скорострельность
 
|| defensive guns  
 
|| defensive guns  
 +
 
* turret1, turret2, turret3...
 
* turret1, turret2, turret3...
 
** total ammunition of turret
 
** total ammunition of turret
Line 401: Line 452:
 
|-
 
|-
 
| орудие  
 
| орудие  
 +
 
* 1,2,3...
 
* 1,2,3...
 
** боезапас
 
** боезапас
Line 419: Line 471:
 
*** мин
 
*** мин
 
|| tank guns
 
|| tank guns
 +
 
* gun1, gun2, gun3
 
* gun1, gun2, gun3
 
** total ammo
 
** total ammo
Line 440: Line 493:
 
|-
 
|-
 
| передачи  
 
| передачи  
 +
 
* вперед
 
* вперед
 
* назад
 
* назад
 
|| # of transmission gears  
 
|| # of transmission gears  
 +
 
* forwards
 
* forwards
 
* backwards
 
* backwards
Line 448: Line 503:
 
|-
 
|-
 
| подвесное  
 
| подвесное  
 +
 
* 1,2,3...
 
* 1,2,3...
 
** 1,2,3...
 
** 1,2,3...
Line 453: Line 509:
 
*** название
 
*** название
 
|| payloads  
 
|| payloads  
 +
 
* payload1, payload2, payload3...
 
* payload1, payload2, payload3...
 
** armament1, armament2, armament3...
 
** armament1, armament2, armament3...
Line 462: Line 519:
 
|-
 
|-
 
| разрушение  
 
| разрушение  
 +
 
* конструкции
 
* конструкции
 
* шасси
 
* шасси
 
|| destruction of
 
|| destruction of
 +
 
* wings(and aircraft)
 
* wings(and aircraft)
 
* gear
 
* gear
Line 470: Line 529:
 
|-
 
|-
 
| ранг  
 
| ранг  
 +
 
* значение
 
* значение
 
|| rank  
 
|| rank  
 +
 
* rank in numbers
 
* rank in numbers
 
|| in roman numerals
 
|| in roman numerals
 
|-
 
|-
 
| ремонт  
 
| ремонт  
 +
 
* аб
 
* аб
 
** макс
 
** макс
Line 486: Line 548:
 
** мин
 
** мин
 
|| repair cost  
 
|| repair cost  
 +
 
* AB
 
* AB
 
** max
 
** max
Line 508: Line 571:
 
|-
 
|-
 
| штаторудие  
 
| штаторудие  
 +
 
* 1,2,3...
 
* 1,2,3...
 
** боезапас
 
** боезапас
Line 517: Line 581:
 
** тип
 
** тип
 
|| ship guns  
 
|| ship guns  
 +
 
* gun1, gun2, gun3...
 
* gun1, gun2, gun3...
 
** total ammunition of turret
 
** total ammunition of turret

Revision as of 14:54, 25 March 2019

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