Difference between revisions of "Template:Specs/Documentation"
(Edits to English section) |
(Added fleet-specific parameters) |
||
(One intermediate revision by the same user not shown) | |||
Line 16: | Line 16: | ||
! width="25%" | Argument !! width="50%" | Description !! width="25%" | Details | ! width="25%" | Argument !! width="50%" | Description !! width="25%" | Details | ||
|- | |- | ||
− | | article | + | | article |
+ | * (optional) ru | ||
+ | | Page/Article name | ||
+ | * Russian article name | ||
|- | |- | ||
| name || Full name || | | name || Full name || | ||
Line 27: | Line 30: | ||
|- | |- | ||
| type || Vehicle type | | type || Vehicle type | ||
− | + | | | |
* 1 = plane | * 1 = plane | ||
* 2 = tank | * 2 = tank | ||
Line 36: | Line 39: | ||
* 1, 2, 3... | * 1, 2, 3... | ||
** (optional) code | ** (optional) code | ||
− | + | | Vehicle class | |
* Class1, class2... | * Class1, class2... | ||
** Class code | ** Class code | ||
− | + | | | |
|- | |- | ||
| rank | | rank | ||
* (optional) value | * (optional) value | ||
− | + | | Rank in roman numerals | |
* in numbers | * in numbers | ||
− | + | | | |
|- | |- | ||
| br | | br | ||
Line 51: | Line 54: | ||
* (optional) RB | * (optional) RB | ||
* SB | * SB | ||
− | + | | BR per mode || defaults to RB | |
|- | |- | ||
| premium || Is a premium vehicle? | | premium || Is a premium vehicle? | ||
− | + | | | |
* 0 = no | * 0 = no | ||
* 1 = yes | * 1 = yes | ||
|- | |- | ||
| gift || Is a gift vehicle? | | gift || Is a gift vehicle? | ||
− | + | | | |
* 0 = no | * 0 = no | ||
* 1 = yes | * 1 = yes | ||
|- | |- | ||
| squadron || Is a squadron vehicle? | | squadron || Is a squadron vehicle? | ||
− | + | | | |
* 0 = no | * 0 = no | ||
* 1 = yes | * 1 = yes | ||
|- | |- | ||
− | | research | + | | research |
+ | * (optional) value | ||
+ | | Research cost | ||
+ | | in RP | ||
+ | * un-delimited | ||
|- | |- | ||
− | | price | | + | | price |
+ | * currency | ||
+ | * (optional) value | ||
+ | | Purchase cost | ||
+ | | in SL | ||
+ | * S = {{sl}} | ||
+ | * Z = {{ge}} | ||
|- | |- | ||
| crew | | crew | ||
Line 76: | Line 89: | ||
* experts | * experts | ||
* aces | * aces | ||
− | + | | Number of crew | |
* Basic crew cost | * Basic crew cost | ||
* Expert crew cost | * Expert crew cost | ||
* Ace crew cost | * Ace crew cost | ||
− | + | | | |
* in SL | * in SL | ||
* in SL | * in SL | ||
Line 95: | Line 108: | ||
** max | ** max | ||
** min | ** min | ||
− | + | | Repair cost | |
* AB | * AB | ||
** max | ** max | ||
Line 105: | Line 118: | ||
** max | ** max | ||
** min | ** min | ||
− | + | | defaults to RB and maximum | |
|- | |- | ||
| expmul || RP modifier || in percent | | expmul || RP modifier || in percent | ||
|- | |- | ||
+ | | коэф_львы | ||
+ | * ab | ||
+ | * rb | ||
+ | * sb | ||
+ | | SL modifier | ||
+ | | in percent | ||
+ | * defaults to RB | ||
|} | |} | ||
Line 118: | Line 138: | ||
| mass | | mass | ||
* empty | * empty | ||
− | + | | Take-off weight | |
* Empty weight | * Empty weight | ||
− | + | | in metric tons | |
|- | |- | ||
| engine | | engine | ||
Line 126: | Line 146: | ||
* type | * type | ||
* cooling | * cooling | ||
− | + | | Engine name | |
* Number of engines | * Number of engines | ||
* Engine type | * Engine type | ||
* Cooling type (air or water) | * Cooling type (air or water) | ||
− | + | | | |
|- | |- | ||
| ceiling || Max altitude || in metres | | ceiling || Max altitude || in metres | ||
Line 137: | Line 157: | ||
* body | * body | ||
* gear | * gear | ||
− | + | | Rip speed of | |
* wings | * wings | ||
* gear | * gear | ||
− | + | | in km/h | |
|- | |- | ||
| offensive | | offensive | ||
Line 149: | Line 169: | ||
** code | ** code | ||
** firerate | ** firerate | ||
− | + | | | |
* Gun1 name, gun2 name... | * Gun1 name, gun2 name... | ||
** Total ammunition | ** Total ammunition | ||
Line 156: | Line 176: | ||
** Gun code | ** Gun code | ||
** Rate of fire | ** Rate of fire | ||
− | + | | Offensive guns | |
<br> | <br> | ||
<br> | <br> | ||
Line 172: | Line 192: | ||
** guns | ** guns | ||
** firerate | ** firerate | ||
− | + | | | |
* Gun name in turret1, turret2... | * Gun name in turret1, turret2... | ||
** Total ammunition of turret | ** Total ammunition of turret | ||
Line 180: | Line 200: | ||
** Number of guns in turret | ** Number of guns in turret | ||
** Rate of fire | ** Rate of fire | ||
− | + | | Defensive (turreted) guns | |
<br> | <br> | ||
<br> | <br> | ||
Line 193: | Line 213: | ||
** 1, 2, 3... | ** 1, 2, 3... | ||
*** amount | *** amount | ||
− | + | | Suspended ordnance | |
− | * | + | * Preset1, preset2, preset3... |
** Name of armament1, armament2, armament3... | ** Name of armament1, armament2, armament3... | ||
*** Number of armament | *** Number of armament | ||
− | + | | | |
|- | |- | ||
|} | |} | ||
Line 207: | Line 227: | ||
|- | |- | ||
| mass | | mass | ||
− | + | | Weight | |
− | + | | in metric tons. Includes add-on armour. | |
|- | |- | ||
| cannon | | cannon | ||
− | * 1,2,3... | + | * 1, 2, 3... |
** ammunition | ** ammunition | ||
** amount | ** amount | ||
Line 218: | Line 238: | ||
** firerate | ** firerate | ||
** mag | ** mag | ||
+ | ** (optional) name | ||
** range | ** range | ||
** speed | ** speed | ||
Line 227: | Line 248: | ||
*** max | *** max | ||
*** min | *** min | ||
− | + | | Tank guns | |
− | * gun1, gun2, gun3 | + | * gun1, gun2, gun3, etc |
** Total ammunition | ** Total ammunition | ||
** Number of guns | ** Number of guns | ||
Line 235: | Line 256: | ||
** Rate of fire | ** Rate of fire | ||
** Number of bullets per magazine | ** Number of bullets per magazine | ||
+ | ** Gun name | ||
** Range | ** Range | ||
** The speed of the projectile | ** The speed of the projectile | ||
Line 244: | Line 266: | ||
*** max | *** max | ||
*** min | *** min | ||
− | + | | | |
<br> | <br> | ||
<br> | <br> | ||
* in rounds per minute per gun | * in rounds per minute per gun | ||
* only available for guns that use a belt-loading system | * only available for guns that use a belt-loading system | ||
+ | * default | ||
* in metres | * in metres | ||
* only available for self-propelled projectiles (e.g. missiles and rockets) | * only available for self-propelled projectiles (e.g. missiles and rockets) | ||
Line 261: | Line 284: | ||
** ab | ** ab | ||
** rb | ** rb | ||
− | + | | Maximum speed | |
* Forwards | * Forwards | ||
** AB | ** AB | ||
Line 268: | Line 291: | ||
** AB | ** AB | ||
** RB | ** RB | ||
− | + | | Defaults to RB | |
|- | |- | ||
| gears | | gears | ||
* forward | * forward | ||
* back | * back | ||
− | + | | Number of transmission gears | |
* Forwards | * Forwards | ||
* Reverse | * Reverse | ||
− | + | | | |
|- | |- | ||
|} | |} | ||
Line 285: | Line 308: | ||
! width="25%" | Argument !! width="50%" | Description !! width="25%" | Details | ! 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 | ||
+ | *** 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 | ||
+ | | | ||
|} | |} | ||
Line 303: | Line 425: | ||
* рб | * рб | ||
* сб | * сб | ||
− | + | | BR | |
* AB | * AB | ||
Line 314: | Line 436: | ||
* пустой | * пустой | ||
* полный | * полный | ||
− | + | | weight | |
* Empty weight | * Empty weight | ||
Line 325: | Line 447: | ||
* рб | * рб | ||
* сб | * сб | ||
− | + | | turn time in | |
* AB | * AB | ||
Line 338: | Line 460: | ||
* сод | * сод | ||
* название | * название | ||
− | + | | engine name | |
* number of engines | * number of engines | ||
Line 344: | Line 466: | ||
* cooling type(air or water) | * cooling type(air or water) | ||
* name | * name | ||
− | + | | | |
|- | |- | ||
| допорудие | | допорудие | ||
Line 352: | Line 474: | ||
*** название | *** название | ||
*** боезапас | *** боезапас | ||
− | + | | additional guns | |
* gunoption1, gunoption2, gunoption3...? | * gunoption1, gunoption2, gunoption3...? | ||
Line 358: | Line 480: | ||
*** 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 368: | Line 490: | ||
* 1,2,3... | * 1,2,3... | ||
** код | ** код | ||
− | + | | vehicle category | |
* category1, category2... | * category1, category2... | ||
** displays category | ** displays category | ||
− | + | | needs three args | |
|- | |- | ||
| курсовое | | курсовое | ||
Line 382: | Line 504: | ||
** название | ** название | ||
** скорострельность | ** скорострельность | ||
− | + | | offensive guns for planes | |
* gun1, gun2, gun3 | * gun1, gun2, gun3 | ||
Line 390: | Line 512: | ||
** name | ** name | ||
** RoF(rounds per minute per gun) | ** RoF(rounds per minute per gun) | ||
− | + | | needs 3 args | |
|- | |- | ||
| название || name || | | название || name || | ||
Line 403: | Line 525: | ||
** орудия | ** орудия | ||
** скорострельность | ** скорострельность | ||
− | + | | defensive guns | |
* turret1, turret2, turret3... | * turret1, turret2, turret3... | ||
Line 412: | Line 534: | ||
** # 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 || | ||
Line 435: | Line 557: | ||
*** макс | *** макс | ||
*** мин | *** мин | ||
− | + | | tank guns | |
* gun1, gun2, gun3 | * gun1, gun2, gun3 | ||
Line 460: | Line 582: | ||
* вперед | * вперед | ||
* назад | * назад | ||
− | + | | # of transmission gears | |
* forwards | * forwards | ||
* backwards | * backwards | ||
− | + | | needs 2 args | |
|- | |- | ||
| подвесное | | подвесное | ||
Line 472: | Line 594: | ||
*** количество | *** количество | ||
*** название | *** название | ||
− | + | | payloads | |
* payload1, payload2, payload3... | * payload1, payload2, payload3... | ||
Line 478: | 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 | ||
Line 486: | Line 608: | ||
* конструкции | * конструкции | ||
* шасси | * шасси | ||
− | + | | destruction of | |
* wings(and aircraft) | * wings(and aircraft) | ||
* gear | * gear | ||
− | + | | in km/h | |
|- | |- | ||
| ранг | | ранг | ||
* значение | * значение | ||
− | + | | rank | |
* rank in numbers | * rank in numbers | ||
− | + | | in roman numerals | |
|- | |- | ||
| ремонт | | ремонт | ||
Line 511: | Line 633: | ||
** макс | ** макс | ||
** мин | ** мин | ||
− | + | | repair cost | |
* AB | * AB | ||
Line 522: | Line 644: | ||
** max | ** max | ||
** min | ** min | ||
− | + | | defaults to RB and maximum if not specified | |
|- | |- | ||
| сваливание || stall speed || in km/h | | сваливание || stall speed || in km/h | ||
Line 544: | Line 666: | ||
** скорострельность | ** скорострельность | ||
** тип | ** тип | ||
− | + | | ship guns | |
* gun1, gun2, gun3... | * gun1, gun2, gun3... | ||
Line 554: | Line 676: | ||
** 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 || |
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 |