Difference between revisions of "Template:Specs/Documentation"

From War Thunder Wiki
Jump to: navigation, search
(probably a better place to put this stuff)
 
(3 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 +
{{docpage}}
 +
 
== Using <nowiki>{{#unit}} / {{specs}}</nowiki> ==
 
== Using <nowiki>{{#unit}} / {{specs}}</nowiki> ==
 
<nowiki>#unit</nowiki> is structured as <nowiki>{{#unit: '''VehicleName''' | '''arg1''' | '''arg2''' | '''arg3''' | '''arg4'''}}</nowiki>
 
<nowiki>#unit</nowiki> is structured as <nowiki>{{#unit: '''VehicleName''' | '''arg1''' | '''arg2''' | '''arg3''' | '''arg4'''}}</nowiki>
Line 28: Line 30:
 
|-
 
|-
 
| 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 39: Line 44:
 
|-
 
|-
 
| crew || Number of crew
 
| crew || Number of crew
 +
|}
 +
 +
{| class="wikitable"
 +
|-
 +
! 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 || <nowiki>https://encyclopedia.warthunder.com/images/NAME.png</nowiki>
 +
|-
 +
| 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
 
|}
 
|}
  
Line 54: Line 335:
 
|-
 
|-
 
| бр  
 
| бр  
 +
 
* аб
 
* аб
 
* рб
 
* рб
 
* сб
 
* сб
 
|| BR
 
|| BR
 +
 
* AB
 
* AB
 
* RB
 
* RB
Line 64: Line 347:
 
|-
 
|-
 
| вес  
 
| вес  
 +
 
* пустой
 
* пустой
 
* полный
 
* полный
 
|| weight
 
|| weight
 +
 
* Empty weight
 
* Empty weight
 
* Maximum Weight
 
* Maximum Weight
Line 72: Line 357:
 
|-
 
|-
 
| вираж  
 
| вираж  
 +
 
* аб
 
* аб
 
* рб
 
* рб
 
* сб
 
* сб
 
|| turn time in
 
|| turn time in
 +
 
* AB
 
* AB
 
* RB
 
* RB
Line 82: Line 369:
 
|-
 
|-
 
| двигатель  
 
| двигатель  
 +
 
* количество
 
* количество
 
* тип
 
* тип
Line 87: Line 375:
 
* название
 
* название
 
|| engine name  
 
|| engine name  
 +
 
* number of engines
 
* number of engines
 
* engine type
 
* engine type
Line 94: Line 383:
 
|-
 
|-
 
| допорудие  
 
| допорудие  
 +
 
* 1,2,3...
 
* 1,2,3...
 
** 1,2,3...
 
** 1,2,3...
Line 99: Line 389:
 
*** боезапас  
 
*** боезапас  
 
|| additional guns  
 
|| additional guns  
 +
 
* gunoption1, gunoption2, gunoption3...?
 
* gunoption1, gunoption2, gunoption3...?
 
** gun1, gun2, gun3?
 
** gun1, gun2, gun3?
Line 110: Line 401:
 
|-
 
|-
 
| класс  
 
| класс  
 +
 
* 1,2,3...
 
* 1,2,3...
 
** код  
 
** код  
 
|| vehicle category  
 
|| vehicle category  
 +
 
* category1, category2...
 
* category1, category2...
 
** displays category
 
** displays category
Line 118: Line 411:
 
|-
 
|-
 
| курсовое  
 
| курсовое  
 +
 
* 1,2,3...
 
* 1,2,3...
 
** боезапас
 
** боезапас
Line 125: Line 419:
 
** скорострельность
 
** скорострельность
 
|| 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 136: Line 431:
 
|-
 
|-
 
| оборонительное  
 
| оборонительное  
 +
 
* 1,2,3...
 
* 1,2,3...
 
** боезапас
 
** боезапас
Line 144: Line 440:
 
** скорострельность
 
** скорострельность
 
|| defensive guns  
 
|| defensive guns  
 +
 
* turret1, turret2, turret3...
 
* turret1, turret2, turret3...
 
** total ammunition of turret
 
** total ammunition of turret
Line 156: Line 453:
 
|-
 
|-
 
| орудие  
 
| орудие  
 +
 
* 1,2,3...
 
* 1,2,3...
 
** боезапас
 
** боезапас
Line 174: Line 472:
 
*** мин
 
*** мин
 
|| tank guns
 
|| tank guns
 +
 
* gun1, gun2, gun3
 
* gun1, gun2, gun3
 
** total ammo
 
** total ammo
Line 179: Line 478:
 
** caliber
 
** caliber
 
** code name of gun
 
** code name of gun
** number of shells in belt
 
 
** # of guns
 
** # of guns
 
** name of gun
 
** name of gun
Line 195: Line 493:
 
|-
 
|-
 
| передачи  
 
| передачи  
 +
 
* вперед
 
* вперед
 
* назад
 
* назад
 
|| # of transmission gears  
 
|| # of transmission gears  
 +
 
* forwards
 
* forwards
 
* backwards
 
* backwards
Line 203: Line 503:
 
|-
 
|-
 
| подвесное  
 
| подвесное  
 +
 
* 1,2,3...
 
* 1,2,3...
 
** 1,2,3...
 
** 1,2,3...
Line 208: Line 509:
 
*** название
 
*** название
 
|| payloads  
 
|| payloads  
 +
 
* payload1, payload2, payload3...
 
* payload1, payload2, payload3...
 
** armament1, armament2, armament3...
 
** armament1, armament2, armament3...
Line 217: Line 519:
 
|-
 
|-
 
| разрушение  
 
| разрушение  
 +
 
* конструкции
 
* конструкции
 
* шасси
 
* шасси
 
|| destruction of
 
|| destruction of
 +
 
* wings(and aircraft)
 
* wings(and aircraft)
 
* gear
 
* gear
Line 225: Line 529:
 
|-
 
|-
 
| ранг  
 
| ранг  
 +
 
* значение
 
* значение
 
|| rank  
 
|| rank  
 +
 
* rank in numbers
 
* rank in numbers
 
|| in roman numerals
 
|| in roman numerals
 
|-
 
|-
 
| ремонт  
 
| ремонт  
 +
 
* аб
 
* аб
 
** макс
 
** макс
Line 241: Line 548:
 
** мин
 
** мин
 
|| repair cost  
 
|| repair cost  
 +
 
* AB
 
* AB
 
** max
 
** max
Line 263: Line 571:
 
|-
 
|-
 
| штаторудие  
 
| штаторудие  
 +
 
* 1,2,3...
 
* 1,2,3...
 
** боезапас
 
** боезапас
Line 272: Line 581:
 
** тип
 
** тип
 
|| ship guns  
 
|| ship guns  
 +
 
* gun1, gun2, gun3...
 
* gun1, gun2, gun3...
 
** total ammunition of turret
 
** total ammunition of turret

Revision as of 15:48, 30 November 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
    • # 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