Difference between revisions of "Template:Specs/Documentation"
(Added fleet-specific parameters) |
|||
(3 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
{{docpage}} | {{docpage}} | ||
− | + | = Using <nowiki>{{#unit}} / {{specs}}</nowiki> = | |
− | <nowiki>#unit</nowiki> is structured as <nowiki>{{#unit: | + | <nowiki>#unit</nowiki> is structured as <nowiki>{{#unit: "VehicleCode" | "arg1" | "arg2" | "arg3" | "arg4"}}</nowiki> |
− | + | <nowiki>{{Specs}}</nowiki> functions identically to #unit with the caveat that it must be used after [[:Template:Specs-Card|<nowiki>{{Specs-Card}}</nowiki>]] and returns values based on the vehicle inputted into Specs-Card. | |
− | <nowiki>{{Specs}}</nowiki> | + | It is structured as <nowiki>{{Specs | "arg1" | "arg2" | "arg3" | "arg4"}}</nowiki> |
− | + | Each list indent is the next argument in the template. Arguments are not case-sensitive. | |
− | + | == English arguments == | |
− | + | === General === | |
− | === | + | {| class="wikitable" width="100%" |
− | + | |- | |
− | {| class="wikitable" | + | ! width="25%" | Argument !! width="50%" | Description !! width="25%" | Details |
+ | |- | ||
+ | | article | ||
+ | * (optional) ru | ||
+ | | Page/Article name | ||
+ | * Russian article name | ||
|- | |- | ||
− | + | | name || Full name || | |
|- | |- | ||
− | | | + | | pseudonym || Shortened name || |
|- | |- | ||
− | | | + | | image || Name to be used in <nowiki>https://encyclopedia.warthunder.com/images/[IMAGE].png</nowiki> || |
|- | |- | ||
− | | | + | | 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 | | rank | ||
− | + | * (optional) value | |
− | *(optional) value | + | | Rank in roman numerals |
− | + | * in numbers | |
− | + | | | |
− | *in numbers | ||
|- | |- | ||
− | | br | + | | br |
− | |||
* AB | * AB | ||
− | * (optional)RB | + | * (optional) RB |
* SB | * 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}} | ||
+ | * Z = {{ge}} | ||
|- | |- | ||
− | | basic | | + | | 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 | * rb | ||
+ | ** max | ||
+ | ** min | ||
* sb | * sb | ||
− | | | + | ** max |
− | + | ** min | |
+ | | Repair cost | ||
* AB | * AB | ||
+ | ** max | ||
+ | ** min | ||
* RB | * RB | ||
+ | ** max | ||
+ | ** min | ||
* SB | * SB | ||
− | + | ** max | |
+ | ** min | ||
+ | | defaults to RB and maximum | ||
|- | |- | ||
− | | | + | | expmul || RP modifier || in percent |
− | |||
− | |||
− | |||
− | || | ||
− | |||
− | |||
− | |||
− | |||
|- | |- | ||
− | | | + | | коэф_львы |
− | + | * ab | |
− | * ab | ||
* rb | * rb | ||
* sb | * sb | ||
− | || | + | | SL modifier |
+ | | in percent | ||
+ | * defaults to RB | ||
+ | |} | ||
− | + | === Aircraft === | |
− | + | {| class="wikitable" width="100%" | |
− | |||
− | |||
|- | |- | ||
− | | | + | ! width="25%" | Argument !! width="50%" | Description !! width="25%" | 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 | + | | offensive |
− | + | * 1, 2, 3... | |
− | * 1,2,3... | + | ** ammunition |
− | ** ammunition | + | ** amount |
− | ** | + | ** caliber |
− | ** | + | ** code |
− | ** | ||
** firerate | ** firerate | ||
+ | | | ||
+ | * Gun1 name, gun2 name... | ||
+ | ** Total ammunition | ||
+ | ** Number of guns | ||
+ | ** Calibre | ||
+ | ** Gun code | ||
+ | ** Rate of fire | ||
+ | | Offensive guns | ||
+ | <br> | ||
+ | <br> | ||
+ | <br> | ||
+ | * in mm | ||
+ | <br> | ||
+ | * in rounds per minute per gun | ||
+ | |- | ||
+ | | defensive | ||
+ | * 1, 2, 3... | ||
+ | ** ammunition | ||
+ | ** amount | ||
** caliber | ** caliber | ||
− | + | ** code | |
− | + | ** guns | |
− | * | + | ** firerate |
− | ** | + | | |
− | ** code | + | * 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 | ||
+ | <br> | ||
+ | <br> | ||
+ | <br> | ||
+ | * in mm | ||
+ | <br> | ||
+ | <br> | ||
+ | * 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 === | |
− | + | {| class="wikitable" width="100%" | |
− | + | |- | |
− | + | ! width="25%" | Argument !! width="50%" | Description !! width="25%" | Details | |
− | |||
− | |||
− | |||
− | || | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
|- | |- | ||
− | | | + | | mass |
+ | | Weight | ||
+ | | in metric tons. Includes add-on armour. | ||
|- | |- | ||
− | | cannon | + | | cannon |
− | + | * 1, 2, 3... | |
− | * 1,2,3... | + | ** ammunition |
− | ** ammunition | + | ** amount |
− | ** | + | ** caliber |
− | ** caliber | + | ** code |
− | ** code | + | ** firerate |
− | ** | + | ** mag |
− | ** | + | ** (optional) name |
− | ** | + | ** range |
− | ** | + | ** speed |
− | ** speed | + | ** stabilizer |
− | ** stabilizer | + | ** угн |
− | ** | + | *** max |
− | *** max | + | *** min |
− | *** 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 | *** max | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
*** min | *** min | ||
− | ** | + | ** Vertical guidance |
− | *** max | + | *** max |
*** min | *** min | ||
− | + | | | |
+ | <br> | ||
+ | <br> | ||
+ | * 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) | ||
+ | <br> | ||
+ | * in degrees | ||
|- | |- | ||
− | | | + | | speed |
− | + | * forward | |
− | * | + | ** ab |
+ | ** rb | ||
* back | * back | ||
− | | | + | ** ab |
− | + | ** rb | |
− | * | + | | Maximum speed |
− | * | + | * Forwards |
− | | | + | ** AB |
+ | ** RB | ||
+ | * Backwards | ||
+ | ** AB | ||
+ | ** RB | ||
+ | | Defaults to RB | ||
|- | |- | ||
− | | | + | | gears |
− | + | * forward | |
− | + | * back | |
− | + | | Number of transmission gears | |
− | + | * Forwards | |
− | * | + | * Reverse |
− | | | + | | |
− | |||
− | |||
− | |||
− | * | ||
− | * | ||
− | | | ||
|- | |- | ||
− | | | + | |} |
− | |||
− | |||
− | + | === Fleet === | |
− | + | {| class="wikitable" width="100%" | |
− | |||
− | |||
− | |||
− | |||
− | |||
|- | |- | ||
− | | | + | ! width="25%" | Argument !! width="50%" | Description !! width="25%" | 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 | |
− | * 1,2,3... | + | *** caliber |
− | ** | + | *** code |
− | ** | + | *** firerate |
− | ** | + | *** guns |
− | ** | + | *** mag |
− | ** | + | *** (optional) name |
− | ** | + | *** увн |
− | ** | + | **** max |
− | + | **** min | |
− | + | * secondary | |
− | + | ** ''same as primary'' | |
− | * | + | * antiaircraft |
− | ** | + | ** ''same as primary'' |
− | ** | + | * дополнительное |
− | ** | + | ** 1, 2, 3... |
− | ** | + | *** 1, 2, 3... |
− | ** | + | **** name |
− | ** | + | |<br> |
− | ** | + | * 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 | ||
+ | <br> | ||
+ | * Anti-aircraft armaments | ||
+ | <br> | ||
+ | * Additional armaments | ||
+ | ** Preset1, 2, 3, etc | ||
+ | *** Weapon1, 2, 3, etc | ||
+ | **** Name | ||
+ | | | ||
|} | |} | ||
− | + | == Russian arguments == | |
− | |||
{| class="wikitable" | {| class="wikitable" | ||
|- | |- | ||
! Argument !! Description !! Details | ! Argument !! Description !! Details | ||
|- | |- | ||
− | | акционная || premium || | + | | акционная || premium || 0=no 1=yes |
|- | |- | ||
| асы || ace crew price || in GE | | асы || ace crew price || in GE | ||
Line 334: | Line 420: | ||
| базовая || basic crew price || in SL | | базовая || basic crew price || in SL | ||
|- | |- | ||
− | | бр | + | | бр |
− | * аб | + | * аб |
* рб | * рб | ||
* сб | * сб | ||
− | + | | BR | |
* AB | * AB | ||
Line 346: | Line 432: | ||
|| defaults to RB | || defaults to RB | ||
|- | |- | ||
− | | вес | + | | вес |
− | * пустой | + | * пустой |
* полный | * полный | ||
− | + | | weight | |
* Empty weight | * Empty weight | ||
Line 356: | Line 442: | ||
|| in metric tons Defaults to takeoff | || in metric tons Defaults to takeoff | ||
|- | |- | ||
− | | вираж | + | | вираж |
− | * аб | + | * аб |
* рб | * рб | ||
* сб | * сб | ||
− | + | | turn time in | |
* AB | * AB | ||
Line 368: | Line 454: | ||
|| in seconds | || in seconds | ||
|- | |- | ||
− | | двигатель | + | | двигатель |
− | * количество | + | * количество |
− | * тип | + | * тип |
− | * сод | + | * сод |
* название | * название | ||
− | + | | engine name | |
− | * number of engines | + | * number of engines |
− | * engine type | + | * engine type |
− | * cooling type(air or water) | + | * cooling type(air or water) |
* name | * name | ||
− | + | | | |
|- | |- | ||
− | | допорудие | + | | допорудие |
* 1,2,3... | * 1,2,3... | ||
** 1,2,3... | ** 1,2,3... | ||
− | *** название | + | *** название |
− | *** боезапас | + | *** боезапас |
− | + | | additional guns | |
* gunoption1, gunoption2, gunoption3...? | * gunoption1, gunoption2, gunoption3...? | ||
** gun1, gun2, gun3? | ** gun1, gun2, gun3? | ||
− | *** name | + | *** name |
*** total ammunition(all guns combined) | *** total ammunition(all guns combined) | ||
− | + | | needs 4 args. Currently nonfunctional | |
|- | |- | ||
| изображение || image name || <nowiki>https://encyclopedia.warthunder.com/images/NAME.png</nowiki> | | изображение || image name || <nowiki>https://encyclopedia.warthunder.com/images/NAME.png</nowiki> | ||
Line 400: | Line 486: | ||
| исследование || research cost || in RP | | исследование || research cost || in RP | ||
|- | |- | ||
− | | класс | + | | класс |
* 1,2,3... | * 1,2,3... | ||
− | ** код | + | ** код |
− | + | | vehicle category | |
* category1, category2... | * category1, category2... | ||
** displays category | ** displays category | ||
− | + | | needs three args | |
|- | |- | ||
− | | курсовое | + | | курсовое |
* 1,2,3... | * 1,2,3... | ||
− | ** боезапас | + | ** боезапас |
− | ** код | + | ** код |
− | ** количество | + | ** количество |
− | ** название | + | ** название |
** скорострельность | ** скорострельность | ||
− | + | | offensive guns for planes | |
* gun1, gun2, gun3 | * gun1, gun2, gun3 | ||
− | ** total ammunition(all guns combined) | + | ** total ammunition(all guns combined) |
− | ** code name of guns | + | ** code name of guns |
− | ** number of guns | + | ** number of guns |
− | ** name | + | ** name |
** RoF(rounds per minute per gun) | ** RoF(rounds per minute per gun) | ||
− | + | | needs 3 args | |
|- | |- | ||
− | | название || name || | + | | название || name || |
|- | |- | ||
− | | оборонительное | + | | оборонительное |
* 1,2,3... | * 1,2,3... | ||
− | ** боезапас | + | ** боезапас |
− | ** код | + | ** код |
− | ** количество | + | ** количество |
− | ** название | + | ** название |
− | ** орудия | + | ** орудия |
** скорострельность | ** скорострельность | ||
− | + | | defensive guns | |
* turret1, turret2, turret3... | * turret1, turret2, turret3... | ||
− | ** total ammunition of turret | + | ** total ammunition of turret |
− | ** code name of guns | + | ** code name of guns |
− | ** number of turrets | + | ** number of turrets |
− | ** name | + | ** name |
− | ** # of guns in turret | + | ** # of guns in turret |
** RoF(rounds per minute per gun) | ** RoF(rounds per minute per gun) | ||
− | + | | needs at least 3 args | |
|- | |- | ||
− | | опыткоэф || RP modifier || | + | | опыткоэф || RP modifier || |
|- | |- | ||
− | | орудие | + | | орудие |
* 1,2,3... | * 1,2,3... | ||
− | ** боезапас | + | ** боезапас |
− | ** дальность | + | ** дальность |
− | ** калибр | + | ** калибр |
− | ** код | + | ** код |
− | ** количество | + | ** количество |
− | ** название | + | ** название |
− | ** обойма | + | ** обойма |
− | ** скорострельность | + | ** скорострельность |
− | ** скорость | + | ** скорость |
− | ** стабилизатор | + | ** стабилизатор |
** увн | ** увн | ||
− | *** макс | + | *** макс |
− | *** мин | + | *** мин |
** угн | ** угн | ||
− | *** макс | + | *** макс |
*** мин | *** мин | ||
− | + | | tank guns | |
* gun1, gun2, gun3 | * gun1, gun2, gun3 | ||
− | ** total ammo | + | ** total ammo |
− | ** range??? | + | ** range??? |
− | ** caliber | + | ** caliber |
− | ** code name of gun | + | ** code name of gun |
− | ** # of guns | + | ** # of guns |
− | ** name of gun | + | ** name of gun |
− | ** # of bullets per magazine | + | ** # of bullets per magazine |
− | ** RoF(rounds per minute per gun) | + | ** RoF(rounds per minute per gun) |
− | ** muzzle velocity? | + | ** muzzle velocity? |
− | ** stabilizer | + | ** stabilizer |
− | ** vertical guidance | + | ** vertical guidance |
− | *** max | + | *** max |
*** min | *** min | ||
** horizontal guidance | ** horizontal guidance | ||
− | *** max | + | *** max |
*** min | *** min | ||
|| needs 3 or more args | || needs 3 or more args | ||
|- | |- | ||
− | | передачи | + | | передачи |
− | * вперед | + | * вперед |
* назад | * назад | ||
− | + | | # of transmission gears | |
* forwards | * forwards | ||
* backwards | * backwards | ||
− | + | | needs 2 args | |
|- | |- | ||
− | | подвесное | + | | подвесное |
* 1,2,3... | * 1,2,3... | ||
** 1,2,3... | ** 1,2,3... | ||
− | *** количество | + | *** количество |
*** название | *** название | ||
− | + | | payloads | |
* payload1, payload2, payload3... | * payload1, payload2, payload3... | ||
Line 514: | Line 600: | ||
*** number of armament | *** number of armament | ||
*** name | *** name | ||
− | + | | needs at least 3 args for rockets, bombs, and torpedoes | |
|- | |- | ||
| потолок || max altitude || in meters | | потолок || max altitude || in meters | ||
|- | |- | ||
− | | разрушение | + | | разрушение |
− | * конструкции | + | * конструкции |
* шасси | * шасси | ||
− | + | | destruction of | |
* wings(and aircraft) | * wings(and aircraft) | ||
* gear | * gear | ||
− | + | | in km/h | |
|- | |- | ||
− | | ранг | + | | ранг |
* значение | * значение | ||
− | + | | rank | |
* rank in numbers | * rank in numbers | ||
− | + | | in roman numerals | |
|- | |- | ||
− | | ремонт | + | | ремонт |
* аб | * аб | ||
− | ** макс | + | ** макс |
− | ** мин | + | ** мин |
− | * рб | + | * рб |
− | ** макс | + | ** макс |
− | ** мин | + | ** мин |
* сб | * сб | ||
− | ** макс | + | ** макс |
− | ** мин | + | ** мин |
− | + | | repair cost | |
* AB | * AB | ||
Line 558: | Line 644: | ||
** max | ** max | ||
** min | ** min | ||
− | + | | defaults to RB and maximum if not specified | |
|- | |- | ||
| сваливание || stall speed || in km/h | | сваливание || stall speed || in km/h | ||
|- | |- | ||
− | | статья || wiki article title || | + | | статья || wiki article title || |
|- | |- | ||
− | | страна || country || | + | | страна || country || |
|- | |- | ||
| тип || type of vehicle || 1=plane, 2=tank, 3=ship, 4=heli | | тип || type of vehicle || 1=plane, 2=tank, 3=ship, 4=heli | ||
Line 570: | Line 656: | ||
| цена || cost to buy || in SL | | цена || cost to buy || in SL | ||
|- | |- | ||
− | | штаторудие | + | | штаторудие |
* 1,2,3... | * 1,2,3... | ||
− | ** боезапас | + | ** боезапас |
− | ** количество | + | ** количество |
− | ** название | + | ** название |
− | ** обойма | + | ** обойма |
− | ** орудия | + | ** орудия |
− | ** скорострельность | + | ** скорострельность |
** тип | ** тип | ||
− | + | | ship guns | |
* gun1, gun2, gun3... | * gun1, gun2, gun3... | ||
− | ** total ammunition of turret | + | ** total ammunition of turret |
− | ** number of turrets | + | ** number of turrets |
− | ** name | + | ** name |
− | ** # of bullets per magazine | + | ** # of bullets per magazine |
− | ** # of guns in turret | + | ** # of guns in turret |
− | ** RoF(rounds per minute per gun) | + | ** RoF(rounds per minute per gun) |
** gun type(primary, secondary, machinegun, torpedo | ** gun type(primary, secondary, machinegun, torpedo | ||
− | + | | needs at least 2 args | |
|- | |- | ||
− | | экипаж || # of crew members || | + | | экипаж || # of crew members || |
|- | |- | ||
| эксперты || expert crew price || in SL | | эксперты || expert crew price || in SL | ||
|} | |} |
Latest revision as of 09:36, 16 April 2020
Contents
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
|
Page/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 |
|
class
|
Vehicle class
|
|
rank
|
Rank in roman numerals
|
|
br
|
BR per mode | defaults to RB |
premium | Is a premium vehicle? |
|
gift | Is a gift vehicle? |
|
squadron | Is a squadron vehicle? |
|
research
|
Research cost | in RP
|
price
|
Purchase cost | in SL |
crew
|
Number of crew
|
|
repair
|
Repair cost
|
defaults to RB and maximum |
expmul | RP modifier | in percent |
коэф_львы
|
SL modifier | in percent
|
Aircraft
Argument | Description | Details |
---|---|---|
mass
|
Take-off weight
|
in metric tons |
engine
|
Engine name
|
|
ceiling | Max altitude | in metres |
destruction
|
Rip speed of
|
in km/h |
offensive
|
|
Offensive guns
|
defensive
|
|
Defensive (turreted) guns
|
external
|
Suspended ordnance
|
Ground vehicles
Argument | Description | Details |
---|---|---|
mass | Weight | in metric tons. Includes add-on armour. |
cannon
|
Tank guns
|
|
speed
|
Maximum speed
|
Defaults to RB |
gears
|
Number of transmission gears
|
Fleet
Argument | Description | Details |
---|---|---|
displacement | in tons | |
speed
|
Maximum speed
|
Defaults to RB |
section | Number of sections | |
armour
|
Armour thickness
|
in mm |
weapon
|
|
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 |