Difference between revisions of "Template:Specs/Documentation"
(Tag: Visual edit) |
|||
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 | ||
|- | |- | ||
− | | | + | | gift || premium || 0=no 1=yes |
|- | |- | ||
− | | | + | | aces || ace crew price || in GE |
|- | |- | ||
− | | | + | | 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 || image name || <nowiki>https://encyclopedia.warthunder.com/images/NAME.png</nowiki> |
|- | |- | ||
− | | | + | | 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 || |
|- | |- | ||
− | | | + | | 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 | ||
|- | |- | ||
− | | | + | | 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) | ||
− | ** | + | ** 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 | ||
|- | |- | ||
− | | | + | | 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 | ||
|- | |- | ||
− | | | + | | 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... | * 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 | ||
|- | |- | ||
− | | | + | | crew || # of crew members || |
|- | |- | ||
− | | | + | | 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
|
Rank in roman numerals
|
br
|
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
|
BR
|
defaults to RB |
mass
|
weight
|
in metric tons Defaults to takeoff |
turn
|
turn time in
|
in seconds |
engine
|
engine name
|
|
additionalweapon
|
additional guns
|
needs 4 args. Currently nonfunctional |
image | image name | https://encyclopedia.warthunder.com/images/NAME.png |
research | research cost | in RP |
class
|
vehicle category
|
needs three args |
offensive
|
offensive guns for planes
|
needs 3 args |
name | name | |
defensive
|
defensive guns
|
needs at least 3 args |
expmul | RP modifier | |
cannon
|
tank guns
|
needs 3 or more args |
gears
|
# of transmission gears
|
needs 2 args |
external
|
payloads
|
needs at least 3 args for rockets, bombs, and torpedoes |
ceiling | max altitude | in meters |
destruction
|
destruction of
|
in km/h |
rank
|
rank
|
in roman numerals |
repair
|
repair cost
|
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 |
штаторудие
|
This option will be changed soon!
ship guns
|
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
|
defaults to RB |
вес
|
weight
|
in metric tons Defaults to takeoff |
вираж
|
turn time in
|
in seconds |
двигатель
|
engine name
|
|
допорудие
|
additional guns
|
needs 4 args. Currently nonfunctional |
изображение | image name | https://encyclopedia.warthunder.com/images/NAME.png |
исследование | research cost | in RP |
класс
|
vehicle category
|
needs three args |
курсовое
|
offensive guns for planes
|
needs 3 args |
название | name | |
оборонительное
|
defensive guns
|
needs at least 3 args |
опыткоэф | RP modifier | |
орудие
|
tank guns
|
needs 3 or more args |
передачи
|
# of transmission gears
|
needs 2 args |
подвесное
|
payloads
|
needs at least 3 args for rockets, bombs, and torpedoes |
потолок | max altitude | in meters |
разрушение
|
destruction of
|
in km/h |
ранг
|
rank
|
in roman numerals |
ремонт
|
repair cost
|
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 |
штаторудие
|
ship guns
|
needs at least 2 args |
экипаж | # of crew members | |
эксперты | expert crew price | in SL |