Difference between revisions of "Template:Infobox weapon"

From Self-sufficiency
Jump to: navigation, search
(Add new parameter for bladed weapons)
m (131 revisions from wikipedia:Template:Infobox weapon)
 
(97 intermediate revisions by 40 users not shown)
Line 1: Line 1:
{| class="infobox" style="width: 315px; border-spacing: 2px;"
+
<includeonly>{| {{WPMILHIST Infobox style|main_box}}
|-  
+
|- class="hproduct"
! colspan="2" style="background: lightsteelblue; text-align: center;" | {{{name|{{PAGENAME}}}}}
+
<!--------------------------Name, image, type, origin------------------------>
 +
! class="fn" colspan="2" {{WPMILHIST Infobox style|header_bar}} | {{{name|{{PAGENAME}}}}}
 
|-
 
|-
{{#if:{{{image|}}}|
+
{{#if:{{{image|}}} |
{{!}} colspan="2" style="text-align: center; font-size: 90%; border-bottom: 1px solid #aaa;" {{!}} {{{image|}}}<br/>{{{caption|}}}
+
{{!}} colspan="2" {{WPMILHIST Infobox style|image_box}} {{!}} {{{image|}}}<br/>{{{caption|}}}
 
}}
 
}}
 
|-
 
|-
! style="text-align: left;" | Type:
+
{{#if:{{{type|}}} |
| {{{type|}}}
+
! style="padding-right: 1em;" {{!}} Type
 +
{{!}} {{{type|}}}
 +
}}
 
|-
 
|-
! style="text-align: left;" | Place of origin:
+
{{#if:{{{origin|}}} |
| {{{origin|}}}
+
! style="padding-right: 1em;" {{!}} Place&nbsp;of&nbsp;origin
 +
{{!}} {{{origin|}}}
 +
}}
 
|-
 
|-
{{#if:{{{service|}}}{{{used_by|}}}{{{wars|}}}|
+
<!------------------------------Service history------------------------------>
! colspan="2" style="background: lightsteelblue;" {{!}} Service history
+
{{#if:{{{service|}}}{{{used_by|}}}{{{wars|}}} |
 +
! colspan="2" {{WPMILHIST Infobox style|header_bar}} {{!}} Service history
 
}}
 
}}
 
|-
 
|-
{{#if:{{{service|}}}|
+
{{#if:{{{service|}}} |
! style="text-align: left;" {{!}} In service:
+
! style="padding-right: 1em;" {{!}} In&nbsp;service
 
{{!}} {{{service|}}}
 
{{!}} {{{service|}}}
 
}}
 
}}
 
|-
 
|-
{{#if:{{{used_by|}}}|
+
{{#if:{{{used_by|}}} |
! style="text-align: left;" {{!}} Used by:
+
! style="padding-right: 1em;" {{!}} Used&nbsp;by
 
{{!}} {{{used_by|}}}
 
{{!}} {{{used_by|}}}
 
}}
 
}}
 
|-
 
|-
{{#if:{{{wars|}}}|
+
{{#if:{{{wars|}}} |
! style="text-align: left;" {{!}} Wars:
+
! style="padding-right: 1em;" {{!}} Wars
 
{{!}} {{{wars|}}}
 
{{!}} {{{wars|}}}
 
}}
 
}}
 
|-
 
|-
{{#if:{{{designer|}}}{{{design_date|}}}{{{manufacturer|}}}{{{production_date|}}}{{{number|}}}{{{variants|}}}|
+
<!----------------------------Production history----------------------------->
! colspan="2" style="background: lightsteelblue;" {{!}} Production history
+
{{#if:{{{designer|}}}{{{design_date|}}}{{{manufacturer|}}}{{{production_date|}}}{{{number|}}}{{{variants|}}} |
 +
! colspan="2" {{WPMILHIST Infobox style|header_bar}} {{!}} Production history
 
}}
 
}}
 
|-
 
|-
{{#if:{{{designer|}}}|
+
{{#if:{{{designer|}}} |
! style="text-align: left;" {{!}} Designer:
+
! style="padding-right: 1em;" {{!}} Designer
 
{{!}} {{{designer|}}}
 
{{!}} {{{designer|}}}
 
}}
 
}}
 
|-
 
|-
{{#if:{{{design_date|}}}|
+
{{#if:{{{design_date|}}} |
! style="text-align: left;" {{!}} Designed:
+
! style="padding-right: 1em;" {{!}} Designed
 
{{!}} {{{design_date|}}}
 
{{!}} {{{design_date|}}}
 
}}
 
}}
 
|-
 
|-
{{#if:{{{manufacturer|}}}|
+
{{#if:{{{manufacturer|}}} |
! style="text-align: left;" {{!}} Manufacturer:
+
! style="padding-right: 1em;" {{!}} Manufacturer
 
{{!}} {{{manufacturer|}}}
 
{{!}} {{{manufacturer|}}}
 
}}
 
}}
 
|-
 
|-
{{#if:{{{production_date|}}}|
+
{{#if:{{{unit_cost|}}} |
! style="text-align: left;" {{!}} Produced:
+
! style="padding-right: 1em;" {{!}} Unit&nbsp;cost
 +
{{!}} {{{unit_cost|}}}
 +
}}
 +
|-
 +
{{#if:{{{production_date|}}} |
 +
! style="padding-right: 1em;" {{!}} Produced
 
{{!}} {{{production_date|}}}
 
{{!}} {{{production_date|}}}
 
}}
 
}}
 
|-
 
|-
{{#if:{{{number|}}}|
+
{{#if:{{{number|}}} |
! style="text-align: left;" {{!}} Number built:
+
! style="padding-right: 1em;" {{!}} Number&nbsp;built
 
{{!}} {{{number|}}}
 
{{!}} {{{number|}}}
 
}}
 
}}
 
|-
 
|-
{{#if:{{{variants|}}}|
+
{{#if:{{{variants|}}} |
! style="text-align: left;" {{!}} Variants:
+
! style="padding-right: 1em;" {{!}} Variants
 
{{!}} {{{variants|}}}
 
{{!}} {{{variants|}}}
 
}}
 
}}
 
|-
 
|-
{{#if:{{{weight|}}}{{{length|}}}{{{part_length|}}}{{{width|}}}{{{height|}}}{{{crew|}}}{{{cartridge|}}}{{{caliber|}}}{{{action|}}}{{{rate|}}}{{{velocity|}}}{{{range|}}}{{{max_range|}}}{{{feed|}}}{{{sights|}}}{{{breech|}}}{{{recoil|}}}{{{carriage|}}}{{{elevation|}}}{{{traverse|}}}{{{blade_type|}}}{{{hilt_type|}}}{{{sheath_type|}}}{{{head_type|}}}{{{haft_type|}}}{{{diameter|}}}{{{filling|}}}{{{filling_weight|}}}{{{detonation|}}}{{{yield|}}}|
+
<!------------------------------Specifications------------------------------->
! colspan="2" style="background: lightsteelblue;" {{!}} Specifications
+
{{#if:{{{weight|}}}{{{length|}}}{{{part_length|}}}{{{width|}}}{{{height|}}}{{{diameter|}}}{{{boost|}}}{{{steering|}}}{{{transport|}}}{{{wingspan|}}}{{{crew|}}}{{{passengers|}}}{{{cartridge|}}}{{{cartridge_weight|}}}{{{caliber|}}}{{{action|}}}{{{rate|}}}{{{velocity|}}}{{{range|}}}{{{max_range|}}}{{{feed|}}}{{{sights|}}}{{{breech|}}}{{{recoil|}}}{{{carriage|}}}{{{elevation|}}}{{{traverse|}}}{{{blade_type|}}}{{{hilt_type|}}}{{{sheath_type|}}}{{{head_type|}}}{{{haft_type|}}}{{{armour|}}}{{{engine|}}}{{{engine_power|}}}{{{primary_armament|}}}{{{secondary_armament|}}}{{{suspension|}}}{{{pw_ratio|}}}{{{speed|}}}{{{vehicle_range|}}}{{{guidance|}}}{{{ceiling|}}}{{{altitude|}}}{{{depth|}}}{{{launch_platform|}}}{{{accuracy|}}}{{{propellant|}}}{{{filling|}}}{{{filling_weight|}}}{{{detonation|}}}{{{yield|}}}|
 +
! colspan="2" {{WPMILHIST Infobox style|header_bar}} {{!}} Specifications {{#if:{{{spec_label|}}}|({{{spec_label}}})}}
 
}}
 
}}
 
|-
 
|-
{{#if:{{{weight|}}}|
+
{{#if:{{{weight|}}} |
! style="text-align: left;" {{!}} Weight:
+
! style="padding-right: 1em;" {{!}} Weight
 
{{!}} {{{weight|}}}
 
{{!}} {{{weight|}}}
 
}}
 
}}
 
|-
 
|-
{{#if:{{{length|}}}|
+
{{#if:{{{length|}}} |
! style="text-align: left;" {{!}} Length:
+
! style="padding-right: 1em;" {{!}} Length
 
{{!}} {{{length|}}}
 
{{!}} {{{length|}}}
 
}}
 
}}
 
|-
 
|-
{{#if:{{{part_length|}}}|
+
{{#if:{{{part_length|}}} |
! style="text-align: left;" {{!}} {{#if:{{{is_ranged|}}}|[[Gun barrel|Barrel]]|{{#if:{{{is_bladed|}}}|Blade}}}} length:
+
! style="padding-right: 1em;" {{!}} {{#if:{{{is_ranged|}}}{{{is_artillery|}}}|[[Gun barrel|Barrel]]|{{#if:{{{is_bladed|}}}|Blade}}}}&nbsp;length
 
{{!}} {{{part_length|}}}
 
{{!}} {{{part_length|}}}
 
}}
 
}}
 
|-
 
|-
{{#if:{{{width|}}}|
+
{{#if:{{{width|}}} |
! style="text-align: left;" {{!}} Width:
+
! style="padding-right: 1em;" {{!}} Width
 
{{!}} {{{width|}}}
 
{{!}} {{{width|}}}
 
}}
 
}}
 
|-
 
|-
{{#if:{{{height|}}}|
+
{{#if:{{{height|}}} |
! style="text-align: left;" {{!}} Height:
+
! style="padding-right: 1em;" {{!}} Height
 
{{!}} {{{height|}}}
 
{{!}} {{{height|}}}
 
}}
 
}}
 
|-
 
|-
{{#if:{{{crew|}}}|
+
{{#if:{{{diameter|}}} |
! style="text-align: left;" {{!}} Crew:
+
! style="padding-right: 1em;" {{!}} Diameter
 +
{{!}} {{{diameter|}}}
 +
}}
 +
|-
 +
{{#if:{{{crew|}}} |
 +
! style="padding-right: 1em;" {{!}} Crew
 
{{!}} {{{crew|}}}
 
{{!}} {{{crew|}}}
 
}}
 
}}
 
|-
 
|-
{{#if:{{{is_ranged|}}}{{{is_artillery|}}}| {{#if:{{{cartridge|}}}|
+
{{#if:{{{passengers|}}} |
! style="text-align: left;" {{!}} {{#if:{{{is_artillery|}}}|[[Shell (projectile)|Shell]]|[[Cartridge (firearms)|Cartridge]]}}:
+
! style="padding-right: 1em;" {{!}} Passengers
 +
{{!}} {{{passengers|}}}
 +
}}
 +
|-
 +
{{#if:{{{weight|}}}{{{length|}}}{{{part_length|}}}{{{width|}}}{{{height|}}}{{{diameter|}}}{{{crew|}}}{{{passegers|}}}|
 +
{{#if:{{{cartridge|}}}{{{cartridge_weight|}}}{{{caliber|}}}{{{barrels|}}}{{{action|}}}{{{rate|}}}{{{velocity|}}}{{{range|}}}{{{max_range|}}}{{{feed|}}}{{{sights|}}}{{{breech|}}}{{{recoil|}}}{{{carriage|}}}{{{elevation|}}}{{{traverse|}}}{{{blade_type|}}}{{{hilt_type|}}}{{{sheath_type|}}}{{{head_type|}}}{{{haft_type|}}}{{{filling|}}}{{{filling_weight|}}}{{{detonation|}}}{{{yield|}}}|
 +
{{!}} colspan="2" {{!}} <hr/>
 +
}}}}
 +
|-
 +
{{#if:{{{is_ranged|}}}{{{is_artillery|}}} | {{#if:{{{cartridge|}}} |
 +
! style="padding-right: 1em;" {{!}} {{#if:{{{is_artillery|}}} | [[Shell (projectile)|Shell]]|[[Cartridge (firearms)|Cartridge]]}}
 
{{!}} {{{cartridge|}}}
 
{{!}} {{{cartridge|}}}
 
}}}}
 
}}}}
 
|-
 
|-
{{#if:{{{is_ranged|}}}{{{is_artillery|}}}| {{#if:{{{caliber|}}}|
+
{{#if:{{{is_ranged|}}}{{{is_artillery|}}} | {{#if:{{{cartridge_weight|}}} |
! style="text-align: left;" {{!}} {{#if:{{{is_UK|}}}|[[Caliber|Calibre]]:|[[Caliber]]:}}
+
! style="padding-right: 1em;" {{!}} {{#if:{{{is_artillery|}}} | [[Shell (projectile)|Shell]]|[[Cartridge (firearms)|Cartridge]]}} weight
 +
{{!}} {{{cartridge_weight|}}}
 +
}}}}
 +
|-
 +
{{#if:{{{is_ranged|}}}{{{is_artillery|}}} | {{#if:{{{caliber|}}} |
 +
! style="padding-right: 1em;" {{!}} {{#if:{{{is_UK|}}} | [[Caliber|Calibre]] | [[Caliber]]}}
 
{{!}} {{{caliber|}}}
 
{{!}} {{{caliber|}}}
 
}}}}
 
}}}}
 
|-
 
|-
{{#if:{{{is_ranged|}}}| {{#if:{{{action|}}}|
+
{{#if:{{{is_ranged|}}}{{{is_artillery|}}} | {{#if:{{{barrels|}}} |
! style="text-align: left;" {{!}} [[Firearm action|Action]]:
+
! style="padding-right: 1em;" {{!}} Barrels
 +
{{!}} {{{barrels|}}}
 +
}}}}
 +
|-
 +
{{#if:{{{is_ranged|}}} | {{#if:{{{action|}}} |
 +
! style="padding-right: 1em;" {{!}} [[Firearm action|Action]]
 
{{!}} {{{action|}}}
 
{{!}} {{{action|}}}
 
}}}}
 
}}}}
 
|-
 
|-
{{#if:{{{is_artillery|}}}| {{#if:{{{breech|}}}|
+
{{#if:{{{is_artillery|}}} | {{#if:{{{breech|}}} |
! style="text-align: left;" {{!}} [[Breech]]:
+
! style="padding-right: 1em;" {{!}} [[Breech-loading weapon|Breech]]
 
{{!}} {{{breech|}}}
 
{{!}} {{{breech|}}}
 
}}}}
 
}}}}
 
|-
 
|-
{{#if:{{{is_artillery|}}}| {{#if:{{{recoil|}}}|
+
{{#if:{{{is_artillery|}}} | {{#if:{{{recoil|}}} |
! style="text-align: left;" {{!}} [[Recoil]]:
+
! style="padding-right: 1em;" {{!}} [[Recoil]]
 
{{!}} {{{recoil|}}}
 
{{!}} {{{recoil|}}}
 
}}}}
 
}}}}
 
|-
 
|-
{{#if:{{{is_artillery|}}}| {{#if:{{{carriage|}}}|
+
{{#if:{{{is_artillery|}}} | {{#if:{{{carriage|}}} |
! style="text-align: left;" {{!}} Carriage:
+
! style="padding-right: 1em;" {{!}} Carriage
 
{{!}} {{{carriage|}}}
 
{{!}} {{{carriage|}}}
 
}}}}
 
}}}}
 
|-
 
|-
{{#if:{{{is_artillery|}}}| {{#if:{{{elevation|}}}|
+
{{#if:{{{is_artillery|}}} | {{#if:{{{elevation|}}} |
! style="text-align: left;" {{!}} [[Elevation (ballistics)|Elevation]]:
+
! style="padding-right: 1em;" {{!}} [[Elevation (ballistics)|Elevation]]
 
{{!}} {{{elevation|}}}
 
{{!}} {{{elevation|}}}
 
}}}}
 
}}}}
 
|-
 
|-
{{#if:{{{is_artillery|}}}| {{#if:{{{traverse|}}}|
+
{{#if:{{{is_artillery|}}} | {{#if:{{{traverse|}}} |
! style="text-align: left;" {{!}} Traverse:
+
! style="padding-right: 1em;" {{!}} Traverse
 
{{!}} {{{traverse|}}}
 
{{!}} {{{traverse|}}}
 
}}}}
 
}}}}
 
|-
 
|-
{{#if:{{{is_ranged|}}}{{{is_artillery|}}}| {{#if:{{{rate|}}}|
+
{{#if:{{{is_ranged|}}}{{{is_artillery|}}} | {{#if:{{{rate|}}} |
! style="text-align: left;" {{!}} [[Rate of fire]]:
+
! style="padding-right: 1em;" {{!}} [[Rate of fire|Rate&nbsp;of&nbsp;fire]]
 
{{!}} {{{rate|}}}
 
{{!}} {{{rate|}}}
 
}}}}
 
}}}}
 
|-
 
|-
{{#if:{{{is_ranged|}}}{{{is_artillery|}}}| {{#if:{{{velocity|}}}|
+
{{#if:{{{is_ranged|}}}{{{is_artillery|}}} | {{#if:{{{velocity|}}} |
! style="text-align: left;" {{!}} [[Muzzle velocity]]:
+
! style="padding-right: 1em;" {{!}} [[Muzzle velocity|Muzzle&nbsp;velocity]]
 
{{!}} {{{velocity|}}}
 
{{!}} {{{velocity|}}}
 
}}}}
 
}}}}
 
|-
 
|-
{{#if:{{{is_ranged|}}}{{{is_explosive|}}}{{{is_artillery|}}}| {{#if:{{{range|}}}|
+
{{#if:{{{is_ranged|}}} {{{is_explosive|}}}{{{is_artillery|}}} | {{#if:{{{range|}}} |
! style="text-align: left;" {{!}} Effective range:
+
! style="padding-right: 1em;" {{!}} Effective&nbsp;range
 
{{!}} {{{range|}}}
 
{{!}} {{{range|}}}
 
}}}}
 
}}}}
 
|-
 
|-
{{#if:{{{is_ranged|}}}{{{is_explosive|}}}{{{is_artillery|}}}| {{#if:{{{max_range|}}}|
+
{{#if:{{{is_ranged|}}}{{{is_explosive|}}}{{{is_artillery|}}} | {{#if:{{{max_range|}}}|
! style="text-align: left;" {{!}} Maximum range:
+
! style="padding-right: 1em;" {{!}} Maximum&nbsp;range
 
{{!}} {{{max_range|}}}
 
{{!}} {{{max_range|}}}
 
}}}}
 
}}}}
 
|-
 
|-
{{#if:{{{is_ranged|}}}| {{#if:{{{feed|}}}|
+
{{#if:{{{is_ranged|}}} | {{#if:{{{feed|}}} |
! style="text-align: left;" {{!}} Feed system:
+
! style="padding-right: 1em;" {{!}} Feed&nbsp;system
 
{{!}} {{{feed|}}}
 
{{!}} {{{feed|}}}
 
}}}}
 
}}}}
 
|-
 
|-
{{#if:{{{is_ranged|}}}{{{is_artillery|}}}| {{#if:{{{sights|}}}|
+
{{#if:{{{is_ranged|}}}{{{is_artillery|}}} | {{#if:{{{sights|}}} |
! style="text-align: left;" {{!}} Sights:
+
! style="padding-right: 1em;" {{!}} Sights
 
{{!}} {{{sights|}}}
 
{{!}} {{{sights|}}}
 
}}}}
 
}}}}
 
|-
 
|-
{{#if:{{{is_bladed|}}}| {{#if:{{{blade_type|}}}|
+
{{#if:{{{is_bladed|}}} | {{#if:{{{blade_type|}}} |
! style="text-align: left;" {{!}} [[Blade]] type:
+
! style="padding-right: 1em;" {{!}} [[Blade]]&nbsp;type
 
{{!}} {{{blade_type|}}}
 
{{!}} {{{blade_type|}}}
 
}}}}
 
}}}}
 
|-
 
|-
{{#if:{{{is_bladed|}}}| {{#if:{{{hilt_type|}}}|
+
{{#if:{{{is_bladed|}}} | {{#if:{{{hilt_type|}}} |
! style="text-align: left;" {{!}} [[Hilt]] type:
+
! style="padding-right: 1em;" {{!}} [[Hilt]]&nbsp;type
 
{{!}} {{{hilt_type|}}}
 
{{!}} {{{hilt_type|}}}
 
}}}}
 
}}}}
 
|-
 
|-
{{#if:{{{is_bladed|}}}| {{#if:{{{sheath_type|}}}|
+
{{#if:{{{is_bladed|}}} | {{#if:{{{sheath_type|}}} |
! style="text-align: left;" {{!}} [[Sheath]] type:
+
! style="padding-right: 1em;" {{!}} [[Scabbard]]/[[Scabbard|sheath]]
 
{{!}} {{{sheath_type|}}}
 
{{!}} {{{sheath_type|}}}
 
}}}}
 
}}}}
 
|-
 
|-
{{#if:{{{is_bladed|}}}| {{#if:{{{head_type|}}}|
+
{{#if:{{{is_bladed|}}} | {{#if:{{{head_type|}}} |
! style="text-align: left;" {{!}} Head type:
+
! style="padding-right: 1em;" {{!}} Head&nbsp;type
 
{{!}} {{{head_type|}}}
 
{{!}} {{{head_type|}}}
 
}}}}
 
}}}}
 
|-
 
|-
{{#if:{{{is_bladed|}}}| {{#if:{{{haft_type|}}}|
+
{{#if:{{{is_bladed|}}} | {{#if:{{{haft_type|}}} |
! style="text-align: left;" {{!}} [[Haft]] type:
+
! style="padding-right: 1em;" {{!}} [[wikt:haft|Haft]]&nbsp;type
 
{{!}} {{{haft_type|}}}
 
{{!}} {{{haft_type|}}}
 
}}}}
 
}}}}
 
|-
 
|-
{{#if:{{{is_explosive|}}}| {{#if:{{{diameter|}}}|
+
{{#if:{{{is_explosive|}}}{{{is_missile|}}} | {{#if:{{{filling|}}} |
! style="text-align: left;" {{!}} Diameter:
+
! style="padding-right: 1em;" {{!}} {{#if:{{{is_missile|}}}|Warhead|Filling}}
{{!}} {{{diameter|}}}
+
}}}}
+
|-
+
{{#if:{{{is_explosive|}}}| {{#if:{{{filling|}}}|
+
! style="text-align: left;" {{!}} Filling:
+
 
{{!}} {{{filling|}}}
 
{{!}} {{{filling|}}}
 
}}}}
 
}}}}
 
|-
 
|-
{{#if:{{{is_explosive|}}}| {{#if:{{{filling_weight|}}}|
+
{{#if:{{{is_explosive|}}}{{{is_missile|}}} | {{#if:{{{filling_weight|}}} |
! style="text-align: left;" {{!}} Filling weight:
+
! style="padding-right: 1em;" {{!}} {{#if:{{{is_missile|}}}|Warhead|Filling}}&nbsp;weight
 
{{!}} {{{filling_weight|}}}
 
{{!}} {{{filling_weight|}}}
 
}}}}
 
}}}}
 
|-
 
|-
{{#if:{{{is_explosive|}}}| {{#if:{{{detonation|}}}|
+
{{#if:{{{is_explosive|}}}{{{is_missile|}}} | {{#if:{{{detonation|}}} |
! style="text-align: left;" {{!}} Detonation mechanism:
+
! style="padding-right: 1em; line-height: 11pt;" {{!}} Detonation<br/>mechanism
 
{{!}} {{{detonation|}}}
 
{{!}} {{{detonation|}}}
 
}}}}
 
}}}}
 
|-
 
|-
{{#if:{{{is_explosive|}}}| {{#if:{{{yield|}}}|
+
{{#if:{{{is_explosive|}}}{{{is_missile|}}} | {{#if:{{{yield|}}} |
! style="text-align: left;" {{!}} Blast yield:
+
! style="padding-right: 1em;" {{!}} Blast&nbsp;yield
 
{{!}} {{{yield|}}}
 
{{!}} {{{yield|}}}
 
}}}}
 
}}}}
|}<noinclude> <div style="clear: both"></div>
+
|-
== Usage ==
+
{{#if:{{{is_vehicle|}}}{{{is_missile|}}} | {{#if:{{{armour|}}}{{{wingspan|}}}{{{boost|}}}{{{steering|}}}{{{transport|}}}{{{engine|}}}{{{engine_power|}}}{{{transmission|}}}{{{payload_capacity|}}}{{{fuel_capacity|}}}{{{clearance|}}}{{{primary_armament|}}}{{{secondary_armament|}}}{{{suspension|}}}{{{pw_ratio|}}}{{{speed|}}}{{{vehicle_range|}}}{{{guidance|}}}{{{ceiling|}}}{{{altitude|}}}{{{launch_platform|}}}{{{accuracy|}}}{{{propellant|}}}|
{{Wikipedia:WikiProject Military history/Weapon infobox}}
+
{{!}} colspan="2" {{!}} <hr/>
[[Category:Military infobox templates|Weapon]]
+
}}}}
[[Category:Technology infobox templates|Weapon]]
+
|-
[[Category:Templates using ParserFunctions|Infobox Weapon]]
+
{{#if:{{{is_vehicle|}}} | {{#if:{{{armour|}}} |
 +
! style="padding-right: 1em;" {{!}} [[Vehicle armour|{{#if:{{{is_UK|}}}|Armour|Armor}}]]
 +
{{!}} {{{armour|}}}
 +
}}}}
 +
|-
 +
{{#if:{{{is_vehicle|}}} | {{#if:{{{primary_armament|}}} |
 +
! style="padding-right: 1em; line-height: 11pt;" {{!}} Main<br/>armament
 +
{{!}} {{{primary_armament|}}}
 +
}}}}
 +
|-
 +
{{#if:{{{is_vehicle|}}} | {{#if:{{{secondary_armament|}}} |
 +
! style="padding-right: 1em; line-height: 11pt;" {{!}} Secondary<br/>armament
 +
{{!}} {{{secondary_armament|}}}
 +
}}}}
 +
|-
 +
{{#if:{{{is_vehicle|}}}{{{is_missile|}}} | {{#if:{{{engine|}}}{{{engine_power|}}} |
 +
! style="padding-right: 1em;" {{!}} Engine
 +
{{!}} {{{engine|}}}<br/>{{{engine_power|}}}
 +
}}}}
 +
|-
 +
{{#if:{{{is_vehicle|}}} | {{#if:{{{pw_ratio|}}} |
 +
! style="padding-right: 1em;" {{!}} Power/weight
 +
{{!}} {{{pw_ratio|}}}
 +
}}}}
 +
|-
 +
{{#if:{{{is_vehicle|}}} | {{#if:{{{payload_capacity|}}} |
 +
! style="padding-right: 1em;" {{!}} Payload&nbsp;capacity
 +
{{!}} {{{payload_capacity|}}}
 +
}}}}
 +
|-
 +
{{#if:{{{is_vehicle|}}} | {{#if:{{{transmission|}}} |
 +
! style="padding-right: 1em;" {{!}} Transmission
 +
{{!}} {{{transmission|}}}
 +
}}}}
 +
|-
 +
{{#if:{{{is_vehicle|}}} | {{#if:{{{suspension|}}} |
 +
! style="padding-right: 1em;" {{!}} Suspension
 +
{{!}} {{{suspension|}}}
 +
}}}}
 +
|-
 +
{{#if:{{{is_vehicle|}}} | {{#if:{{{clearance|}}} |
 +
! style="padding-right: 1em;" {{!}} Ground&nbsp;clearance
 +
{{!}} {{{clearance|}}}
 +
}}}}
 +
|-
 +
{{#if:{{{is_missile|}}} | {{#if:{{{wingspan|}}} |
 +
! style="padding-right: 1em;" {{!}} Wingspan
 +
{{!}} {{{wingspan|}}}
 +
}}}}
 +
|-
 +
{{#if:{{{is_missile|}}} | {{#if:{{{propellant|}}} |
 +
! style="padding-right: 1em;" {{!}} Propellant
 +
{{!}} {{{propellant|}}}
 +
}}}}
 +
|-
 +
{{#if:{{{is_vehicle|}}} | {{#if:{{{fuel_capacity|}}} |
 +
! style="padding-right: 1em;" {{!}} Fuel&nbsp;capacity
 +
{{!}} {{{fuel_capacity|}}}
 +
}}}}
 +
|-
 +
{{#if:{{{is_vehicle|}}}{{{is_missile|}}} | {{#if:{{{vehicle_range|}}} |
 +
! style="padding-right: 1em; line-height: 11pt;" {{!}} Operational<br/>range
 +
{{!}} {{{vehicle_range|}}}
 +
}}}}
 +
|-
 +
{{#if:{{{is_missile|}}} | {{#if:{{{ceiling|}}} |
 +
! style="padding-right: 1em;" {{!}} Flight ceiling
 +
{{!}} {{{ceiling|}}}
 +
}}}}
 +
|-
 +
{{#if:{{{is_missile|}}} | {{#if:{{{altitude|}}} |
 +
! style="padding-right: 1em;" {{!}} Flight altitude
 +
{{!}} {{{altitude|}}}
 +
}}}}
 +
|-
 +
{{#if:{{{is_missile|}}} | {{#if:{{{boost|}}} |
 +
! style="padding-right: 1em;" {{!}} Boost time
 +
{{!}} {{{boost|}}}
 +
}}}}
 +
|-
 +
{{#if:{{{is_missile|}}} | {{#if:{{{depth|}}} |
 +
! style="padding-right: 1em;" {{!}} Maximum depth
 +
{{!}} {{{depth|}}}
 +
}}}}
 +
|-
 +
{{#if:{{{is_vehicle|}}}{{{is_missile|}}} | {{#if:{{{speed|}}} |
 +
! style="padding-right: 1em;" {{!}} Speed
 +
{{!}} {{{speed|}}}
 +
}}}}
 +
|-
 +
{{#if:{{{is_vehicle|}}}{{{is_missile|}}} | {{#if:{{{guidance|}}} |
 +
! style="padding-right: 1em; line-height: 11pt;" {{!}} Guidance<br/>system
 +
{{!}} {{{guidance|}}}
 +
}}}}
 +
|-
 +
{{#if:{{{is_vehicle|}}}{{{is_missile|}}} | {{#if:{{{steering|}}} |
 +
! style="padding-right: 1em; line-height: 11pt;" {{!}} Steering<br/>system
 +
{{!}} {{{steering|}}}
 +
}}}}
 +
|-
 +
{{#if:{{{is_missile|}}} | {{#if:{{{accuracy|}}} |
 +
! style="padding-right: 1em;" {{!}} Accuracy
 +
{{!}} {{{accuracy|}}}
 +
}}}}
 +
|-
 +
{{#if:{{{is_missile|}}} | {{#if:{{{launch_platform|}}} |
 +
! style="padding-right: 1em;" {{!}} Launch<br/>platform
 +
{{!}} {{{launch_platform|}}}
 +
}}}}
 +
|-
 +
{{#if:{{{is_missile|}}} | {{#if:{{{transport|}}} |
 +
! style="padding-right: 1em;" {{!}} Transport
 +
{{!}} {{{transport|}}}
 +
}}}}
 +
|}</includeonly><noinclude>
 +
{{Pp-template|small=yes}}
 +
{{Documentation}}
 
</noinclude>
 
</noinclude>

Latest revision as of 11:08, 21 December 2011