Template:Infobox weapon: Difference between revisions

From Wikipedia, the free encyclopedia
Jump to navigation Jump to search
imported>Pppery
Copy from sandbox per request
 
imported>Paine Ellsworth
per edit request on talk page - include tailspan parameter
 
Line 84: Line 84:
| data24 = {{#if:{{{is_missile|}}}| {{{wingspan|}}} }}
| data24 = {{#if:{{{is_missile|}}}| {{{wingspan|}}} }}


| label25 = Crew
| label25 = Tailspan
| data25 = {{{crew|}}}
| data25 = {{#if:{{{is_missile|}}}| {{{tailspan|}}} }}


| label26 =  Passengers
| label26 =  Crew
| data26 =  {{{passengers|}}}
| data26 =  {{{crew|}}}


| data27 = {{#if:{{{weight|}}}{{{length|}}}{{{part_length|}}}{{{width|}}}{{{height|}}}{{{diameter|}}}{{{crew|}}}{{{passengers|}}}|  
| label27 =  Passengers
| data27 =  {{{passengers|}}}
 
| data28 = {{#if:{{{weight|}}}{{{length|}}}{{{part_length|}}}{{{width|}}}{{{height|}}}{{{diameter|}}}{{{crew|}}}{{{passengers|}}}|  
{{#if:{{{is_ranged|}}}{{{is_artillery|}}}{{{is_bladed|}}}{{{is_explosive|}}}|{{#if:{{{cartridge|}}}{{{cartridge_weight|}}}{{{caliber|}}}{{{barrels|}}}{{{action|}}}{{{breech|}}}{{{recoil|}}}{{{carriage|}}}{{{elevation|}}}{{{traverse|}}}{{{rate|}}}{{{velocity|}}}{{{range|}}}{{{max_range|}}}{{{feed|}}}{{{sights|}}}{{{blade_type|}}}{{{hilt_type|}}}{{{sheath_type|}}}{{{head_type|}}}{{{haft_type|}}}{{{filling|}}}{{{filling_weight|}}}{{{detonation|}}}{{{yield|}}}| <hr/> }}}}}}
{{#if:{{{is_ranged|}}}{{{is_artillery|}}}{{{is_bladed|}}}{{{is_explosive|}}}|{{#if:{{{cartridge|}}}{{{cartridge_weight|}}}{{{caliber|}}}{{{barrels|}}}{{{action|}}}{{{breech|}}}{{{recoil|}}}{{{carriage|}}}{{{elevation|}}}{{{traverse|}}}{{{rate|}}}{{{velocity|}}}{{{range|}}}{{{max_range|}}}{{{feed|}}}{{{sights|}}}{{{blade_type|}}}{{{hilt_type|}}}{{{sheath_type|}}}{{{head_type|}}}{{{haft_type|}}}{{{filling|}}}{{{filling_weight|}}}{{{detonation|}}}{{{yield|}}}| <hr/> }}}}}}


| label28 = {{#if:{{{is_artillery|}}}| [[Shell (projectile)|Shell]]|[[Cartridge (firearms)|Cartridge]]}}
| label29 = {{#if:{{{is_artillery|}}}| [[Shell (projectile)|Shell]]|[[Cartridge (firearms)|Cartridge]]}}
| data28 = {{#if:{{{is_ranged|}}}{{{is_artillery|}}}| {{{cartridge|}}} }}
| data29 = {{#if:{{{is_ranged|}}}{{{is_artillery|}}}| {{{cartridge|}}} }}


| label29 = {{#if:{{{is_artillery|}}}| [[Shell (projectile)|Shell]]|[[Cartridge (firearms)|Cartridge]]}} weight
| label30 = {{#if:{{{is_artillery|}}}| [[Shell (projectile)|Shell]]|[[Cartridge (firearms)|Cartridge]]}} weight
| data29 = {{#if:{{{is_ranged|}}}{{{is_artillery|}}}| {{{cartridge_weight|}}} }}
| data30 = {{#if:{{{is_ranged|}}}{{{is_artillery|}}}| {{{cartridge_weight|}}} }}


| label30 = {{#if:{{{is_UK|}}}| [[Caliber|Calibre]] | [[Caliber]]}}
| label31 = {{#if:{{{is_UK|}}}| [[Caliber|Calibre]] | [[Caliber]]}}
| data30 = {{#if:{{{is_ranged|}}}{{{is_artillery|}}}| {{{caliber|}}} }}
| data31 = {{#if:{{{is_ranged|}}}{{{is_artillery|}}}| {{{caliber|}}} }}


| label31 = Barrels
| label32 = Barrels
| data31 = {{#if:{{{is_ranged|}}}{{{is_artillery|}}}| {{{barrels|}}} }}
| data32 = {{#if:{{{is_ranged|}}}{{{is_artillery|}}}| {{{barrels|}}} }}


| label32 = [[Action (firearms)|Action]]
| label33 = [[Action (firearms)|Action]]
| data32 = {{#if:{{{is_ranged|}}}| {{{action|}}} }}
| data33 = {{#if:{{{is_ranged|}}}| {{{action|}}} }}


| label33 = [[Breech-loading weapon|Breech]]
| label34 = [[Breech-loading weapon|Breech]]
| data33 = {{#if:{{{is_artillery|}}}| {{{breech|}}} }}
| data34 = {{#if:{{{is_artillery|}}}| {{{breech|}}} }}


| label34 = [[Recoil]]
| label35 = [[Recoil]]
| data34 = {{#if:{{{is_artillery|}}}| {{{recoil|}}} }}
| data35 = {{#if:{{{is_artillery|}}}| {{{recoil|}}} }}


| label35 = Carriage
| label36 = Carriage
| data35 = {{#if:{{{is_artillery|}}}| {{{carriage|}}} }}
| data36 = {{#if:{{{is_artillery|}}}| {{{carriage|}}} }}


| label36 = [[Elevation (ballistics)|Elevation]]
| label37 = [[Elevation (ballistics)|Elevation]]
| data36 = {{#if:{{{is_artillery|}}}| {{{elevation|}}} }}
| data37 = {{#if:{{{is_artillery|}}}| {{{elevation|}}} }}


| label37 = [[Gun laying|Traverse]]
| label38 = [[Gun laying|Traverse]]
| data37 = {{#if:{{{is_artillery|}}}| {{{traverse|}}} }}
| data38 = {{#if:{{{is_artillery|}}}| {{{traverse|}}} }}


| label38 = [[Rate of fire|Rate&nbsp;of&nbsp;fire]]
| label39 = [[Rate of fire|Rate&nbsp;of&nbsp;fire]]
| data38 = {{#if:{{{is_ranged|}}}{{{is_artillery|}}}| {{{rate|}}} }}
| data39 = {{#if:{{{is_ranged|}}}{{{is_artillery|}}}| {{{rate|}}} }}


| label39 = [[Muzzle velocity|Muzzle&nbsp;velocity]]
| label40 = [[Muzzle velocity|Muzzle&nbsp;velocity]]
| data39 = {{#if:{{{is_ranged|}}}{{{is_artillery|}}}| {{{velocity|}}} }}
| data40 = {{#if:{{{is_ranged|}}}{{{is_artillery|}}}| {{{velocity|}}} }}


| label40 = Effective&nbsp;firing&nbsp;range
| label41 = Effective&nbsp;firing&nbsp;range
| data40 = {{#if:{{{is_ranged|}}} {{{is_explosive|}}}{{{is_artillery|}}}| {{{range|}}} }}
| data41 = {{#if:{{{is_ranged|}}} {{{is_explosive|}}}{{{is_artillery|}}}| {{{range|}}} }}


| label41 = Maximum&nbsp;firing&nbsp;range
| label42 = Maximum&nbsp;firing&nbsp;range
| data41 = {{#if:{{{is_ranged|}}}{{{is_explosive|}}}{{{is_artillery|}}}| {{{max_range|}}} }}
| data42 = {{#if:{{{is_ranged|}}}{{{is_explosive|}}}{{{is_artillery|}}}| {{{max_range|}}} }}


| label42 = Feed&nbsp;system
| label43 = Feed&nbsp;system
| data42 = {{#if:{{{is_ranged|}}}| {{{feed|}}} }}
| data43 = {{#if:{{{is_ranged|}}}| {{{feed|}}} }}


| label43 = Sights
| label44 = Sights
| data43 = {{#if:{{{is_ranged|}}}{{{is_artillery|}}}| {{{sights|}}} }}
| data44 = {{#if:{{{is_ranged|}}}{{{is_artillery|}}}| {{{sights|}}} }}


| label44 = [[Blade]]&nbsp;type
| label45 = [[Blade]]&nbsp;type
| data44 = {{#if:{{{is_bladed|}}}| {{{blade_type|}}} }}
| data45 = {{#if:{{{is_bladed|}}}| {{{blade_type|}}} }}


| label45 = [[Hilt]]&nbsp;type
| label46 = [[Hilt]]&nbsp;type
| data45 = {{#if:{{{is_bladed|}}}| {{{hilt_type|}}} }}
| data46 = {{#if:{{{is_bladed|}}}| {{{hilt_type|}}} }}


| label46 = [[Scabbard]]/[[Scabbard|sheath]]
| label47 = [[Scabbard]]/[[Scabbard|sheath]]
| data46 = {{#if:{{{is_bladed|}}}| {{{sheath_type|}}} }}
| data47 = {{#if:{{{is_bladed|}}}| {{{sheath_type|}}} }}


| label47 = Head&nbsp;type
| label48 = Head&nbsp;type
| data47 = {{#if:{{{is_bladed|}}}| {{{head_type|}}} }}
| data48 = {{#if:{{{is_bladed|}}}| {{{head_type|}}} }}


| label48 = [[wikt:haft|Haft]]&nbsp;type
| label49 = [[wikt:haft|Haft]]&nbsp;type
| data48 = {{#if:{{{is_bladed|}}}| {{{haft_type|}}} }}
| data49 = {{#if:{{{is_bladed|}}}| {{{haft_type|}}} }}


| label49 = {{#if:{{{is_missile|}}}| Warhead|Filling}}
| label50 = {{#if:{{{is_missile|}}}| Warhead|Filling}}
| data49 = {{#if:{{{is_explosive|}}}{{{is_missile|}}}| {{{filling|}}} }}
| data50 = {{#if:{{{is_explosive|}}}{{{is_missile|}}}| {{{filling|}}} }}


| label50 = {{#if:{{{is_missile|}}}| Warhead|Filling}}&nbsp;weight
| label51 = {{#if:{{{is_missile|}}}| Warhead|Filling}}&nbsp;weight
| data50 = {{#if:{{{is_explosive|}}}{{{is_missile|}}}| {{{filling_weight|}}} }}
| data51 = {{#if:{{{is_explosive|}}}{{{is_missile|}}}| {{{filling_weight|}}} }}


| label51 = <div style="line-height:1.25em">Detonation<br/>mechanism</div>
| label52 = <div style="line-height:1.25em">Detonation<br/>mechanism</div>
| data51 = {{#if:{{{is_explosive|}}}{{{is_missile|}}}| {{{detonation|}}} }}
| data52 = {{#if:{{{is_explosive|}}}{{{is_missile|}}}| {{{detonation|}}} }}


| label52 = Blast&nbsp;yield
| label53 = Blast&nbsp;yield
| data52 = {{#if:{{{is_explosive|}}}{{{is_missile|}}}| {{{yield|}}} }}
| data53 = {{#if:{{{is_explosive|}}}{{{is_missile|}}}| {{{yield|}}} }}


| data53 = {{#if:{{{is_vehicle|}}}{{{is_missile|}}}| {{#if:{{{armour|}}}{{{primary_armament|}}}{{{secondary_armament|}}}{{{engine|}}}{{{engine_power|}}}{{{pw_ratio|}}}{{{payload_capacity|}}}{{{transmission|}}}{{{suspension|}}}{{{clearance|}}}{{{wingspan|}}}{{{propellant|}}}{{{fuel_capacity|}}}{{{vehicle_range|}}}{{{ceiling|}}}{{{altitude|}}}{{{boost|}}}{{{depth|}}}{{{speed|}}}{{{guidance|}}}{{{steering|}}}{{{accuracy|}}}{{{launch_platform|}}}{{{transport|}}}| <hr/> }}}}
| data54 = {{#if:{{{is_vehicle|}}}{{{is_missile|}}}| {{#if:{{{armour|}}}{{{primary_armament|}}}{{{secondary_armament|}}}{{{engine|}}}{{{engine_power|}}}{{{pw_ratio|}}}{{{payload_capacity|}}}{{{transmission|}}}{{{suspension|}}}{{{clearance|}}}{{{wingspan|}}}{{{propellant|}}}{{{fuel_capacity|}}}{{{vehicle_range|}}}{{{ceiling|}}}{{{altitude|}}}{{{boost|}}}{{{depth|}}}{{{speed|}}}{{{guidance|}}}{{{steering|}}}{{{accuracy|}}}{{{launch_platform|}}}{{{transport|}}}| <hr/> }}}}


| label54 = [[Vehicle armour|{{#if:{{{is_UK|}}}| Armour|Armor}}]]
| label55 = [[Vehicle armour|{{#if:{{{is_UK|}}}| Armour|Armor}}]]
| data54 = {{#if:{{{is_vehicle|}}}| {{{armour|}}} }}
| data55 = {{#if:{{{is_vehicle|}}}| {{{armour|}}} }}


| label55 = <div style="line-height:1.25em">Main<br/>armament</div>
| label56 = <div style="line-height:1.25em">Main<br/>armament</div>
| data55 = {{#if:{{{is_vehicle|}}}| {{{primary_armament|}}} }}
| data56 = {{#if:{{{is_vehicle|}}}| {{{primary_armament|}}} }}


| label56 = <div style="line-height:1.25em">Secondary<br/>armament</div>
| label57 = <div style="line-height:1.25em">Secondary<br/>armament</div>
| data56 = {{#if:{{{is_vehicle|}}}| {{{secondary_armament|}}} }}
| data57 = {{#if:{{{is_vehicle|}}}| {{{secondary_armament|}}} }}


| label57 = Engine
| label58 = Engine
| data57 = {{#if:{{{is_vehicle|}}}{{{is_missile|}}}| {{br separated entries|1={{{engine|}}}| 2={{{engine_power|}}}}} }}
| data58 = {{#if:{{{is_vehicle|}}}{{{is_missile|}}}| {{br separated entries|1={{{engine|}}}| 2={{{engine_power|}}}}} }}


| label58 = Power/weight
| label59 = Power/weight
| data58 = {{#if:{{{is_vehicle|}}}| {{{pw_ratio|}}} }}
| data59 = {{#if:{{{is_vehicle|}}}| {{{pw_ratio|}}} }}


| label59 = Payload&nbsp;capacity
| label60 = Payload&nbsp;capacity
| data59 = {{#if:{{{is_vehicle|}}}| {{{payload_capacity|}}} }}
| data60 = {{#if:{{{is_vehicle|}}}| {{{payload_capacity|}}} }}


| label60 = Drive
| label61 = Drive
| data60 = {{#if:{{{is_vehicle|}}}| {{{drive|}}} }}
| data61 = {{#if:{{{is_vehicle|}}}| {{{drive|}}} }}


| label61 = Transmission
| label62 = Transmission
| data61 = {{#if:{{{is_vehicle|}}}| {{{transmission|}}} }}
| data62 = {{#if:{{{is_vehicle|}}}| {{{transmission|}}} }}


| label62 = Suspension
| label63 = Suspension
| data62 = {{#if:{{{is_vehicle|}}}| {{{suspension|}}} }}
| data63 = {{#if:{{{is_vehicle|}}}| {{{suspension|}}} }}


| label63 = Ground&nbsp;clearance
| label64 = Ground&nbsp;clearance
| data63 = {{#if:{{{is_vehicle|}}}| {{{clearance|}}} }}
| data64 = {{#if:{{{is_vehicle|}}}| {{{clearance|}}} }}


| label64 = Propellant
| label65 = Propellant
| data64 = {{#if:{{{is_missile|}}}| {{{propellant|}}} }}
| data65 = {{#if:{{{is_missile|}}}| {{{propellant|}}} }}


| label65 = Fuel&nbsp;capacity
| label66 = Fuel&nbsp;capacity
| data65 = {{#if:{{{is_vehicle|}}}| {{{fuel_capacity|}}} }}
| data66 = {{#if:{{{is_vehicle|}}}| {{{fuel_capacity|}}} }}


| label66 = <div style="line-height:1.25em">Operational<br/>range</div>
| label67 = <div style="line-height:1.25em">Operational<br/>range</div>
| data66 = {{#if:{{{is_vehicle|}}}{{{is_missile|}}}| {{{vehicle_range|}}} }}
| data67 = {{#if:{{{is_vehicle|}}}{{{is_missile|}}}| {{{vehicle_range|}}} }}


| label67 = Flight ceiling
| label68 = Flight ceiling
| data67 = {{#if:{{{is_missile|}}}| {{{ceiling|}}} }}
| data68 = {{#if:{{{is_missile|}}}| {{{ceiling|}}} }}


| label68 = Flight altitude
| label69 = Flight altitude
| data68 = {{#if:{{{is_missile|}}}| {{{altitude|}}} }}
| data69 = {{#if:{{{is_missile|}}}| {{{altitude|}}} }}


| label69 = Boost time
| label70 = Boost time
| data69 = {{#if:{{{is_missile|}}}| {{{boost|}}} }}
| data70 = {{#if:{{{is_missile|}}}| {{{boost|}}} }}


| label70 = Maximum depth
| label71 = Maximum depth
| data70 = {{#if:{{{is_missile|}}}| {{{depth|}}} }}
| data71 = {{#if:{{{is_missile|}}}| {{{depth|}}} }}


| label71 = {{tooltip|2=Maximum speed of vehicle or missile |Maximum speed |dotted=no}}
| label72 = {{tooltip|2=Maximum speed of vehicle or missile |Maximum speed |dotted=no}}
| data71 = {{#if:{{{is_vehicle|}}}{{{is_missile|}}}| {{{speed|}}} }}
| data72 = {{#if:{{{is_vehicle|}}}{{{is_missile|}}}| {{{speed|}}} }}


| label72 = <div style="line-height:1.25em">Guidance<br/>system</div>
| label73 = <div style="line-height:1.25em">Guidance<br/>system</div>
| data72 = {{#if:{{{is_vehicle|}}}{{{is_missile|}}}| {{{guidance|}}} }}
| data73 = {{#if:{{{is_vehicle|}}}{{{is_missile|}}}| {{{guidance|}}} }}


| label73 = <div style="line-height:1.25em">Steering<br/>system</div>
| label74 = <div style="line-height:1.25em">Steering<br/>system</div>
| data73 = {{#if:{{{is_vehicle|}}}{{{is_missile|}}}| {{{steering|}}} }}
| data74 = {{#if:{{{is_vehicle|}}}{{{is_missile|}}}| {{{steering|}}} }}


| label74 = Accuracy
| label75 = Accuracy
| data74 = {{#if:{{{is_missile|}}}| {{{accuracy|}}} }}
| data75 = {{#if:{{{is_missile|}}}| {{{accuracy|}}} }}


| label75 = <div style="line-height:1.25em">Launch<br/>platform</div>
| label76 = <div style="line-height:1.25em">Launch<br/>platform</div>
| data75 = {{#if:{{{is_missile|}}}| {{{launch_platform|}}} }}
| data76 = {{#if:{{{is_missile|}}}| {{{launch_platform|}}} }}


| label76 = Transport
| label77 = Transport
| data76 = {{#if:{{{is_missile|}}}| {{{transport|}}} }}  
| data77 = {{#if:{{{is_missile|}}}| {{{transport|}}} }}  


| label77 = References
| label78 = References
| data77 = {{{ref|}}}
| data78 = {{{ref|}}}


}}{{#invoke:Check for unknown parameters|check|unknown={{main other|[[Category:Pages using infobox weapon with unknown parameters|_VALUE_{{PAGENAME}}]]}}|preview=Page using [[Template:Infobox weapon]] with unknown parameter
}}{{#invoke:Check for unknown parameters|check|unknown={{main other|[[Category:Pages using infobox weapon with unknown parameters|_VALUE_{{PAGENAME}}]]}}|preview=Page using [[Template:Infobox weapon]] with unknown parameter
"_VALUE_"|ignoreblank=y| accuracy | action | alt | altitude | armour | barrels | blade_type | boost | breech | caliber | caption | carriage | cartridge | cartridge_weight | ceiling | clearance | crew | depth | design_date | designer | detonation | developed_from | developed_into | diameter | drive | elevation | engine | engine_power | feed | filling | filling_weight | fuel_capacity | guidance | haft_type | head_type | height | hilt_type | image | image_size | is_artillery | is_bladed | is_explosive | is_missile | is_ranged | is_UK | is_vehicle | launch_platform | length | manufacturer | mass | max_range | name | number | origin | part_length | passengers | payload_capacity | primary_armament | production_date | propellant | pw_ratio | range | rate | recoil | ref | secondary_armament | service | sheath_type | sights | spec_label | speed | steering | suspension | transmission | transport | traverse | type | unit_cost | used_by | variants | vehicle_range | velocity | wars | weight | width | wingspan | yield }}<noinclude>
"_VALUE_"|ignoreblank=y| accuracy | action | alt | altitude | armour | barrels | blade_type | boost | breech | caliber | caption | carriage | cartridge | cartridge_weight | ceiling | clearance | crew | depth | design_date | designer | detonation | developed_from | developed_into | diameter | drive | elevation | engine | engine_power | feed | filling | filling_weight | fuel_capacity | guidance | haft_type | head_type | height | hilt_type | image | image_size | is_artillery | is_bladed | is_explosive | is_missile | is_ranged | is_UK | is_vehicle | launch_platform | length | manufacturer | mass | max_range | name | number | origin | part_length | passengers | payload_capacity | primary_armament | production_date | propellant | pw_ratio | range | rate | recoil | ref | secondary_armament | service | sheath_type | sights | spec_label | speed | steering | suspension | tailspan | transmission | transport | traverse | type | unit_cost | used_by | variants | vehicle_range | velocity | wars | weight | width | wingspan | yield }}<noinclude>
{{Documentation}}
{{Documentation}}
</noinclude>
</noinclude>

Latest revision as of 08:59, 1 July 2025

Script error: No such module "Infobox".Template:Template otherScript error: No such module "Check for unknown parameters". Template:Documentation