Template:Infobox weapon: Difference between revisions

From WikiMD's Wellness Encyclopedia

en>Pppery
Copy from sandbox per request
No edit summary
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
{{#if:{{Has short description}} |<!--Do nothing--> |{{main other|{{Short description|2=noreplace|{{plain text|1={{ucfirst:{{delink|{{#invoke:String|match|s={{#if:{{{type|}}}|{{{type}}}|Weapon}}|pattern=([^<]*)|nomatch=Weapon}}}}}}}}}}}}}}<!-- end short description
{{Infobox
-->{{infobox
| title        = {{{name|{{PAGENAME}}}}}
| bodyclass = vcard
| image        = {{#if:{{{image|}}}|[[File:{{{image}}}|frameless|250px]]|}}
| bodystyle = {{WPMILHIST Infobox style|main_box_raw}}
| caption      = {{{caption|}}}


| aboveclass = hproduct
| label1        = Type
| abovestyle = {{WPMILHIST Infobox style|header_raw}}
| data1        = {{{type|}}}
| above = <includeonly> <span class="fn org"> {{{name|{{PAGENAMEBASE}}}}} </span> </includeonly>


| imagestyle = {{WPMILHIST Infobox style|image_box_raw}}
| label2        = Place of origin
| image = {{#invoke:InfoboxImage|InfoboxImage|image={{{image|}}}|size={{{image_size|}}}|sizedefault=frameless|alt={{{alt|}}}}}
| data2        = {{{origin|}}}
| caption = {{{caption|}}}


| labelstyle = padding-right:1em
| header3      = Service history
| headerstyle = {{WPMILHIST Infobox style|header_raw}}


| label1 = Type
| label4        = In service
| data1 = {{{type|}}}
| data4        = {{{service|}}}


| label2 = Place&nbsp;of&nbsp;origin
| label5        = Used by
| data2 = {{{origin|}}}
| data5        = {{{used_by|}}}


| header3 = {{#if:{{{service|}}}{{{used_by|}}}{{{wars|}}}| Service history}}
| label6        = Wars
| data6        = {{{wars|}}}


| label4 = In&nbsp;service
| header7      = Production history
| data4 = {{{service|}}}


| label5 = Used&nbsp;by
| label8        = Designer
| data5 = {{{used_by|}}}
| data8        = {{{designer|}}}


| label6 = Wars
| label9        = Designed
| data6 = {{{wars|}}}
| data9        = {{{design_date|}}}


| header7 = {{#if:{{{designer|}}}{{{design_date|}}}{{{manufacturer|}}}{{{developed_from|}}}{{{developed_into|}}}{{{unit_cost|}}}{{{production_date|}}}{{{number|}}}{{{variants|}}}| Production history }}
| label10      = Manufacturer
| data10        = {{{manufacturer|}}}


| label8 = Designer
| label11      = Developed from
| data8 = {{{designer|}}}
| data11        = {{{developed_from|}}}


| label9 = Designed
| label12      = Developed into
| data9 = {{{design_date|}}}
| data12        = {{{developed_into|}}}


| label10 = Manufacturer
| label13      = Unit cost
| data10 = {{{manufacturer|}}}
| data13        = {{{unit_cost|}}}


| label11    = Developed from
| label14      = Produced
| data11      = {{{developed_from|}}}
| data14        = {{{production_date|}}}


| label12    = Developed into
| label15      = Number built
| data12      = {{{developed_into|}}}
| data15        = {{{number|}}}


| label13 = Unit&nbsp;cost
| label16      = Variants
| data13 = {{{unit_cost|}}}
| data16        = {{{variants|}}}


| label14 = Produced
| header17      = Specifications
| data14 = {{{production_date|}}}


| label15 = {{abbr|No.|Number}}&nbsp;built
| label18      = Mass
| data15 = {{{number|}}}
| data18        = {{{mass|{{{weight|}}}}}}


| label16 = Variants
| label19      = Length
| data16 = {{{variants|}}}
| data19        = {{{length|}}}


| header17 = {{#if:{{{mass|}}}{{{weight|}}}{{{length|}}}{{{part_length|}}}{{{width|}}}{{{height|}}}{{{diameter|}}}{{{crew|}}}{{{passengers|}}}{{{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|}}}{{{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|}}}| Specifications {{#if:{{{spec_label|}}}| ({{{spec_label}}})}} }}
| label20      = Barrel length
| data20        = {{{part_length|}}}


| label18 = Mass
| label21      = Width
| data18 = {{{mass|{{{weight|}}}}}}
| data21        = {{{width|}}}


| label19 = Length
| label22      = Height
| data19 = {{{length|}}}
| data22        = {{{height|}}}


| label20 = {{#if:{{{is_ranged|}}}{{{is_artillery|}}}| [[Gun barrel|Barrel]]|{{#if:{{{is_bladed|}}}| Blade}}}}&nbsp;length
| label23      = Diameter
| data20 = {{{part_length|}}}
| data23        = {{{diameter|}}}


| label21 = Width
| label24      = Crew
| data21 = {{{width|}}}
| data24        = {{{crew|}}}


| label22 = Height
| label25      = Passengers
| data22 = {{{height|}}}
| data25        = {{{passengers|}}}


| label23 = Diameter
| label26      = Cartridge
| data23 = {{{diameter|}}}
| data26        = {{{cartridge|}}}


| label24 = Wingspan
| label27      = Cartridge weight
| data24 = {{#if:{{{is_missile|}}}| {{{wingspan|}}} }}
| data27        = {{{cartridge_weight|}}}


| label25 = Crew
| label28      = Caliber
| data25 = {{{crew|}}}
| data28        = {{{caliber|}}}


| label26 = Passengers
| label29      = Barrels
| data26 = {{{passengers|}}}
| data29        = {{{barrels|}}}


| data27 = {{#if:{{{weight|}}}{{{length|}}}{{{part_length|}}}{{{width|}}}{{{height|}}}{{{diameter|}}}{{{crew|}}}{{{passengers|}}}|
| label30      = Action
{{#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/> }}}}}}
| data30        = {{{action|}}}


| label28 = {{#if:{{{is_artillery|}}}| [[Shell (projectile)|Shell]]|[[Cartridge (firearms)|Cartridge]]}}
| label31      = Breech
| data28 = {{#if:{{{is_ranged|}}}{{{is_artillery|}}}| {{{cartridge|}}} }}
| data31        = {{{breech|}}}


| label29 = {{#if:{{{is_artillery|}}}| [[Shell (projectile)|Shell]]|[[Cartridge (firearms)|Cartridge]]}} weight
| label32      = Recoil
| data29 = {{#if:{{{is_ranged|}}}{{{is_artillery|}}}| {{{cartridge_weight|}}} }}
| data32        = {{{recoil|}}}


| label30 = {{#if:{{{is_UK|}}}| [[Caliber|Calibre]] | [[Caliber]]}}
| label33      = Carriage
| data30 = {{#if:{{{is_ranged|}}}{{{is_artillery|}}}| {{{caliber|}}} }}
| data33        = {{{carriage|}}}


| label31 = Barrels
| label34      = Elevation
| data31 = {{#if:{{{is_ranged|}}}{{{is_artillery|}}}| {{{barrels|}}} }}
| data34        = {{{elevation|}}}


| label32 = [[Action (firearms)|Action]]
| label35      = Traverse
| data32 = {{#if:{{{is_ranged|}}}| {{{action|}}} }}
| data35        = {{{traverse|}}}


| label33 = [[Breech-loading weapon|Breech]]
| label36      = Rate of fire
| data33 = {{#if:{{{is_artillery|}}}| {{{breech|}}} }}
| data36        = {{{rate|}}}


| label34 = [[Recoil]]
| label37      = Muzzle velocity
| data34 = {{#if:{{{is_artillery|}}}| {{{recoil|}}} }}
| data37        = {{{velocity|}}}


| label35 = Carriage
| label38      = Effective firing range
| data35 = {{#if:{{{is_artillery|}}}| {{{carriage|}}} }}
| data38        = {{{range|}}}


| label36 = [[Elevation (ballistics)|Elevation]]
| label39      = Maximum range
| data36 = {{#if:{{{is_artillery|}}}| {{{elevation|}}} }}
| data39        = {{{max_range|}}}


| label37 = [[Gun laying|Traverse]]
| label40      = Feed system
| data37 = {{#if:{{{is_artillery|}}}| {{{traverse|}}} }}
| data40        = {{{feed|}}}


| label38 = [[Rate of fire|Rate&nbsp;of&nbsp;fire]]
| label41      = Sights
| data38 = {{#if:{{{is_ranged|}}}{{{is_artillery|}}}| {{{rate|}}} }}
| data41        = {{{sights|}}}


| label39 = [[Muzzle velocity|Muzzle&nbsp;velocity]]
| label42      = Blade type
| data39 = {{#if:{{{is_ranged|}}}{{{is_artillery|}}}| {{{velocity|}}} }}
| data42        = {{{blade_type|}}}


| label40 = Effective&nbsp;firing&nbsp;range
| label43      = Hilt type
| data40 = {{#if:{{{is_ranged|}}} {{{is_explosive|}}}{{{is_artillery|}}}| {{{range|}}} }}
| data43        = {{{hilt_type|}}}


| label41 = Maximum&nbsp;firing&nbsp;range
| label44      = Sheath type
| data41 = {{#if:{{{is_ranged|}}}{{{is_explosive|}}}{{{is_artillery|}}}| {{{max_range|}}} }}
| data44        = {{{sheath_type|}}}


| label42 = Feed&nbsp;system
| label45      = Head type
| data42 = {{#if:{{{is_ranged|}}}| {{{feed|}}} }}
| data45        = {{{head_type|}}}


| label43 = Sights
| label46      = Haft type
| data43 = {{#if:{{{is_ranged|}}}{{{is_artillery|}}}| {{{sights|}}} }}
| data46        = {{{haft_type|}}}


| label44 = [[Blade]]&nbsp;type
| label47      = Filling
| data44 = {{#if:{{{is_bladed|}}}| {{{blade_type|}}} }}
| data47        = {{{filling|}}}


| label45 = [[Hilt]]&nbsp;type
| label48      = Filling weight
| data45 = {{#if:{{{is_bladed|}}}| {{{hilt_type|}}} }}
| data48        = {{{filling_weight|}}}


| label46 = [[Scabbard]]/[[Scabbard|sheath]]
| label49      = Detonation
| data46 = {{#if:{{{is_bladed|}}}| {{{sheath_type|}}} }}
| data49        = {{{detonation|}}}


| label47 = Head&nbsp;type
| label50      = Yield
| data47 = {{#if:{{{is_bladed|}}}| {{{head_type|}}} }}
| data50        = {{{yield|}}}


| label48 = [[wikt:haft|Haft]]&nbsp;type
| label51      = Armour
| data48 = {{#if:{{{is_bladed|}}}| {{{haft_type|}}} }}
| data51        = {{{armour|}}}


| label49 = {{#if:{{{is_missile|}}}| Warhead|Filling}}
| label52      = Primary armament
| data49 = {{#if:{{{is_explosive|}}}{{{is_missile|}}}| {{{filling|}}} }}
| data52        = {{{primary_armament|}}}


| label50 = {{#if:{{{is_missile|}}}| Warhead|Filling}}&nbsp;weight
| label53      = Secondary armament
| data50 = {{#if:{{{is_explosive|}}}{{{is_missile|}}}| {{{filling_weight|}}} }}
| data53        = {{{secondary_armament|}}}


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


| label52 = Blast&nbsp;yield
| label55      = Engine power
| data52 = {{#if:{{{is_explosive|}}}{{{is_missile|}}}| {{{yield|}}} }}
| data55        = {{{engine_power|}}}


| 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/> }}}}
| label56      = Power/weight ratio
| data56        = {{{pw_ratio|}}}


| label54 = [[Vehicle armour|{{#if:{{{is_UK|}}}| Armour|Armor}}]]
| label57      = Payload capacity
| data54 = {{#if:{{{is_vehicle|}}}| {{{armour|}}} }}
| data57        = {{{payload_capacity|}}}


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


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


| label57 = Engine
| label60      = Ground clearance
| data57 = {{#if:{{{is_vehicle|}}}{{{is_missile|}}}| {{br separated entries|1={{{engine|}}}| 2={{{engine_power|}}}}} }}
| data60        = {{{clearance|}}}


| label58 = Power/weight
| label61      = Wingspan
| data58 = {{#if:{{{is_vehicle|}}}| {{{pw_ratio|}}} }}
| data61        = {{{wingspan|}}}


| label59 = Payload&nbsp;capacity
| label62      = Propellant
| data59 = {{#if:{{{is_vehicle|}}}| {{{payload_capacity|}}} }}
| data62        = {{{propellant|}}}


| label60 = Drive
| label63      = Fuel capacity
| data60 = {{#if:{{{is_vehicle|}}}| {{{drive|}}} }}
| data63        = {{{fuel_capacity|}}}


| label61 = Transmission
| label64      = Vehicle range
| data61 = {{#if:{{{is_vehicle|}}}| {{{transmission|}}} }}
| data64        = {{{vehicle_range|}}}


| label62 = Suspension
| label65      = Ceiling
| data62 = {{#if:{{{is_vehicle|}}}| {{{suspension|}}} }}
| data65        = {{{ceiling|}}}


| label63 = Ground&nbsp;clearance
| label66      = Altitude
| data63 = {{#if:{{{is_vehicle|}}}| {{{clearance|}}} }}
| data66        = {{{altitude|}}}


| label64 = Propellant
| label67      = Boost
| data64 = {{#if:{{{is_missile|}}}| {{{propellant|}}} }}
| data67        = {{{boost|}}}


| label65 = Fuel&nbsp;capacity
| label68      = Depth
| data65 = {{#if:{{{is_vehicle|}}}| {{{fuel_capacity|}}} }}
| data68        = {{{depth|}}}


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


| label67 = Flight ceiling
| label70      = Guidance
| data67 = {{#if:{{{is_missile|}}}| {{{ceiling|}}} }}
| data70        = {{{guidance|}}}


| label68 = Flight altitude
| label71      = Steering
| data68 = {{#if:{{{is_missile|}}}| {{{altitude|}}} }}
| data71        = {{{steering|}}}


| label69 = Boost time
| label72      = Accuracy
| data69 = {{#if:{{{is_missile|}}}| {{{boost|}}} }}
| data72        = {{{accuracy|}}}


| label70 = Maximum depth
| label73      = Launch platform
| data70 = {{#if:{{{is_missile|}}}| {{{depth|}}} }}
| data73        = {{{launch_platform|}}}


| label71 = {{tooltip|2=Maximum speed of vehicle or missile |Maximum speed |dotted=no}}
| label74      = Transport
| data71 = {{#if:{{{is_vehicle|}}}{{{is_missile|}}}| {{{speed|}}} }}
| data74        = {{{transport|}}}


| label72 = <div style="line-height:1.25em">Guidance<br/>system</div>
| label75       = References
| data72 = {{#if:{{{is_vehicle|}}}{{{is_missile|}}}| {{{guidance|}}} }}
| data75       = {{{ref|}}}
 
}}
| label73 = <div style="line-height:1.25em">Steering<br/>system</div>
<noinclude>
| data73 = {{#if:{{{is_vehicle|}}}{{{is_missile|}}}| {{{steering|}}} }}
{{documentation}}
 
| label74 = Accuracy
| data74 = {{#if:{{{is_missile|}}}| {{{accuracy|}}} }}
 
| label75 = <div style="line-height:1.25em">Launch<br/>platform</div>
| data75 = {{#if:{{{is_missile|}}}| {{{launch_platform|}}} }}
 
| label76 = Transport
| data76 = {{#if:{{{is_missile|}}}| {{{transport|}}} }}
 
| label77 = References
| data77 = {{{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
"_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>
{{Documentation}}
</noinclude>
</noinclude>

Latest revision as of 03:14, 28 April 2025

Infobox weapon



Type
Place of origin
In service
Used by
Wars
Designer
Designed
Manufacturer