Template:Infobox weapon

From WWII Archives

Revision as of 19:39, 19 March 2023 by Paul Sidle (talk | contribs) (1 revision imported)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
File:Test Template Info-Icon.svg Template documentationview · edit · history · purge ]
This documentation is transcluded from Template:Infobox weapon/doc.

Usage

Weapon infobox

Rifle, Caliber .30, M1
File:M1-Garand-Rifle.jpg
An M1 Garand with en bloc clips
TypeSemi-automatic rifle
Place of originUnited States
Service history
In service1936–present (U.S. military training and parades)
Used bySee § Users
Wars
Production history
DesignerJohn Garand
Designed1932
Manufacturer
Produced1936–1957
No. builtApprox. 6.0 million[2]
VariantsM1C, M1D
Specifications
Mass9.5 to 11.6 lb (4.3 to 5.3 kg)
Length43.5 in (1,100 mm)
Barrel length24 in (610 mm)

Cartridge
ActionGas-operated, rotating bolt
Muzzle velocity2,800 ft/s (850 m/s)
Effective firing range440 yd (400 m)[3]
Feed system8-round en bloc clip, internal magazine
SightsIron sights: Aperture rear, barleycorn-type front

A weapon infobox may be used to summarize information about a particular weapon or weapon system (such as a firearm, a sword, a grenade, an artillery piece, a torpedo, or a tank); cartridges and artillery shells should use {{Infobox firearm cartridge}} instead. The infobox should be added using the {{Infobox weapon}} template, as shown below:

{{Infobox weapon
| name               = 
| image              = 
| image_size         = 300
| alt                = 
| caption            = 
| type               = 
| origin             = [[Country name]]
<!-- Type selection -->
| is_ranged          = 
| is_bladed          = 
| is_explosive       = 
| is_artillery       = 
| is_vehicle         = 
| is_missile         = 
| is_UK              = 
<!-- Service history -->
| service            = 
| used_by            = 
| wars               = 
<!-- Production history -->
| designer           = 
| design_date        = 
| manufacturer       = 
| unit_cost          = 
| production_date    = 
| number             = 
| variants           = 
<!-- General specifications -->
| spec_label         = 
| mass               = {{cvt|123|kg|lb}}
| length             = {{cvt|123|mm|in}}
| part_length        = {{cvt|123|mm|in}}
| width              = 
| height             = 
| diameter           = 
| crew               = 
| passengers         = 
<!-- Ranged weapon specifications --> 
| cartridge          = 
| cartridge_weight   = 
| caliber            = 
| barrels            = 
| action             = 
| rate               = 123 rounds/min
| velocity           = {{cvt|123|m/s|ft/s}}
| range              = {{cvt|123|m|yd}}
| max_range          = 
| feed               = 
| sights             = 
<!-- Artillery specifications -->
| breech             = 
| recoil             = 
| carriage           = 
| elevation          = 
| traverse           = 
<!-- Bladed weapon specifications --> 
| blade_type         = 
| hilt_type          = 
| sheath_type        = 
| head_type          = 
| haft_type          = 
<!-- Explosive specifications --> 
| filling            = 
| filling_weight     = 
| detonation         = 
| yield              = 
<!-- Vehicle/missile specifications -->
| armour             = 
| primary_armament   = 
| secondary_armament = 
| engine             = 
| engine_power       = 
| pw_ratio           = 
| payload_capacity   = 
| drive              = 
| transmission       = 
| suspension         = 
| clearance          = 
| fuel_capacity      = 
| vehicle_range      = 
| speed              = 
| guidance           = 
| steering           = 
<!-- Missiles only -->
| wingspan           = 
| propellant         = 
| ceiling            = 
| altitude           = 
| boost              = 
| depth              = 
| accuracy           = 
| launch_platform    = 
| transport          = 
<!-- For all -->
| ref                = 
}}

Note: When using parameters, avoid the ambiguous abbreviation "N/A", and instead use "unknown" or "none". All subjective or qualitative judgements and numerical quantities or statistics must be cited to a reliable source (see WP:MILMOS#CITE).

The infobox is intended as a quick reference. Don't add non-data items, like question marks, “none”, “see text” or links to article sections (the article's table of contents already does this). Only add “unknown” to assert that an information point is unknowable, not as a placeholder to show that it is missing from the article. Choose a representative model and indicate what it is with the spec_label parameter, instead of listing multiple data items in one field.

The template can also be used for general categories of weapons, such as tank and Katyusha rocket launcher, by including only some general characteristics.

General parameters:

  • name – the formal name of the weapon.
  • imageoptional – an image of the weapon. The image must be given in the form File:Example.jpg in particular, the thumb attribute must not be selected.
  • image_size – the size (in pixels) the image should be. Only required if the image is not a sensible size without being changed, but normally set anyway. Typically set to 300.
  • altoptional – a description of the image that replaces the image if it fails to load.
  • captionoptional – the text to be placed below the image.
  • typeoptional – the type of weapon (e.g. "service rifle", "dress sword", and so forth).
  • originoptional – the country or place where the weapon originated or was first manufactured. Flag icons should not be used in this field, per MOS:INFOBOXFLAG and WP:MILMOS#FLAGS.

Type selection parameters (these parameters control whether—and how—particular specification fields will be displayed; multiple ones may be enabled where appropriate):

  • is_ranged – "yes" if the weapon is a ranged weapon, such as a firearm or bow; must be left blank otherwise.
  • is_bladed – "yes" if the weapon is a bladed, pointed, or blunt hand-held weapon, such as a sword, mace, or polearm; must be left blank otherwise.
  • is_explosive – "yes" if the weapon is an explosive device, such as a grenade or bomb; must be left blank otherwise.
  • is_artillery – "yes" if the weapon is a type of artillery, such as a cannon or mortar; must be left blank otherwise.
  • is_vehicle – "yes" if the weapon is a self-propelled vehicle, such as a tank; must be left blank otherwise.
  • is_missile – "yes" if the weapon is a self-propelled missile or torpedo; must be left blank otherwise.
  • is_UK – "yes" if the field labels should use British/Commonwealth English (calibre, armour); must be left blank otherwise.

Service history parameters:

  • serviceoptional – the period (usually given in years) when the weapon was in service.
  • used_byoptional – the countries, armed forces, or other groups using the weapon; this may be omitted for weapons employed only in their country of origin.
  • warsoptional – any wars during which the weapon saw service.

Production history parameters:

  • designeroptional – the person or group responsible for designing the weapon.
  • design_dateoptional – the date (usually given as a year) when the weapon was designed.
  • manufactureroptional – the manufacturer of the weapon.
  • unit_costoptional – the unit cost of the weapon; this should only be indicated for weapons currently being produced.
  • production_dateoptional – the period (usually given in years) when the weapon was produced.
  • numberoptional – the number of weapons of this type that were manufactured.
  • variantsoptional – any variant models of the weapon.

General specification parameters:

  • spec_labeloptional – a label for the specifications, to be used when data for a particular variant is indicated; should be left blank otherwise.
  • massoptional – the mass of the weapon. For firearms, separate loaded and unloaded masses may be indicated.
  • lengthoptional – the total length of the weapon.
  • part_lengthoptional – a secondary length measurement. For firearms, this should be the barrel length; for bladed weapons, the length of the blade or head.
  • widthoptional – the total width of the weapon, where applicable; this is intended for use with larger weapons, such as artillery or vehicles.
  • heightoptional – the total height of the weapon, where applicable; this is intended for use with larger weapons, such as artillery or vehicles.
  • diameteroptional – the diameter of the weapon, where applicable; this is intended for use with explosives and missiles.
  • crewoptional – for crewed weapons, the number of people required.
  • passengersoptional – for vehicles, the number of passengers carried.

Ranged weapon specification parameters (most only available if is_ranged is set to "yes"; some are also activated when is_explosive or is_artillery is set to "yes"):

  • cartridgeoptional – for firearms or artillery, the type(s) of cartridge or shell used.
  • cartridge_weightoptional – for firearms or artillery, the mass of the cartridge or shell used.
  • caliberoptional – for non-cartridge firearms or artillery, the caliber or interior diameter of the barrel; for cartridge-loaded firearms, caliber is indicated by the cartridge.
  • barrelsoptional – for firearms or artillery, the number of distinct barrels; this may be omitted if the weapon is single-barreled.
  • actionoptional – for firearms, the type of action (e.g. "flintlock").
  • rateoptional – the rate of fire. For automatic firearms and auto-loading artillery, this is usually the cyclic rate. For other ranged weapons, an effective rate can be indicated if reputable sources for one are available.
  • velocityoptional – for firearms or artillery, the muzzle velocity of the fired projectile.
  • rangeoptional – the effective range of the weapon.
  • max_rangeoptional – the maximum range of the weapon; for firearms this should be the maximum sight setting if used.
  • feedoptional – for firearms, the feed system or magazine used.
  • sightsoptional – for firearms or artillery, the type of sights used.

Artillery specification parameters (only available if is_artillery is set to "yes"):

  • breechoptional – for artillery, the type of breech mechanism.
  • recoiloptional – for artillery, the recoil system used.
  • carriageoptional – for artillery, the type of carriage used.
  • elevationoptional – for artillery, the vertical range of possible firing angles.
  • traverseoptional – for artillery, the horizontal range of possible firing angles.

Bladed weapon specification parameters (only available if is_bladed is set to "yes"):

  • blade_typeoptional – for bladed weapons (e.g. swords), a description of the blade.
  • hilt_typeoptional – for bladed weapons (e.g. swords), a description of the hilt.
  • sheath_typeoptional – for bladed weapons (e.g. swords), a description of the scabbard or sheath, if any.
  • head_typeoptional – for blunt or striking weapons (e.g. axes, polearms, or maces), a description of the head.
  • haft_typeoptional – for blunt or striking weapons (e.g. axes, polearms, or maces), a description of the haft.

Explosive weapon specification parameters (only available if is_explosive or is_missile is set to "yes"):

  • fillingoptional – the explosive filling material or warhead.
  • filling_weightoptional – the mass of the explosive material or warhead.
  • detonationoptional – the detonation trigger type (e.g. "timer", "pressure", "motion sensor").
  • yieldoptional – for larger explosives, the yield (in tons of TNT) of the device.

Vehicle/missile specification parameters (most only available if is_vehicle is set to "yes"; some are also activated if is_missile is set to "yes"):

  • armouroptional – the armour plating of the vehicle; different armour thickness at different points may be indicated if needed.
  • primary_weaponoptional – the primary armament mounted on the vehicle, if any.
  • secondary_weaponoptional – the secondary armament mounted on the vehicle, if any.
  • engineoptional – the type of engine used by the vehicle or missile.
  • engine_poweroptional – the power output of the engine, usually in hp or kW.
  • pw_ratiooptional – the power-to-weight ratio, usually in hp/tonne.
  • transmissionoptional – the type of transmission used by the vehicle.
  • payload_capacityoptional – the overall payload capacity weight of the vehicle.
  • propellantoptional – for missiles, the propellant used.
  • fuel_capacityoptional – the fuel capacity of the vehicle.
  • driveoptional – the drivetrain wheel or track configuration (e.g. 4×4, 6×4, tracked)
  • transmissionoptional – the transmission of the vehicle.
  • suspensionoptional – the suspension of the vehicle.
  • clearanceoptional – the ground clearance of the vehicle.
  • wingspanoptional – for missiles, the wingspan.
  • vehicle_rangeoptional – the operational range of the vehicle or missile.
  • ceilingoptional – for missiles, the flight ceiling.
  • altitudeoptional – for missiles, the normal flight altitude.
  • depthoptional – for underwater weapons such as torpedoes, the maximum operating depth.
  • boostoptional – for missiles, the maximum boost time.
  • speedoptional – the maximum speed of the vehicle or missile; this is usually the road speed, but other values may be indicated if appropriate.
  • guidanceoptional – the guidance system used by the missile (or the vehicle, if uncrewed).
  • steeringoptional – the steering system used by the missile or vehicle.
  • accuracyoptional – for missiles, the guidance accuracy.
  • launch_platformoptional – for missiles, the launch platform.
  • transportoptional – for missiles, the transportation vehicle or method, if different from the launch platform.

Maintenance categories

Microformat

The HTML mark-up produced by this template includes an hProduct microformat that makes a product's details readily parsable by computer programs. This aids tasks such as the cataloguing of articles and maintenance of databases. For more information about the use of microformats on Wikipedia, please visit the Microformat WikiProject.

If the product has a URL, use {{URL}} to include it.

Classes used

The HTML classes of this microformat include:

  • brand
  • category
  • description
  • fn
  • hproduct
  • identifier
  • listing
  • photo
  • price
  • review
  • type
  • url
  • value
Please do not rename or remove these classes
nor collapse nested elements which use them.

Template Data

This is the TemplateData for this template used by TemplateWizard, VisualEditor and other tools. See a monthly parameter usage report for Template:Infobox weapon in articles based on its TemplateData.

TemplateData for Infobox weapon

An infobox for weapon.

Template parameters

This template has custom formatting.

ParameterDescriptionTypeStatus
Namename

The formal name of the weapon.

Stringrequired
Imageimage

An image of the weapon. The image must be given in the form Example.jpg; in particular, the thumb attribute must not be selected.

Fileoptional
Captioncaption

The text to be placed below the image.

Stringoptional
Originorigin

The country or place where the weapon originated or was first manufactured. Flag icons should be avoided in this field, per WP:MOSFLAG and WP:MILMOS#FLAGS.

Stringoptional
Typetype

The type of weapon.

Stringoptional
Is rangedis_ranged

Yes if the weapon is a ranged weapon, such as a firearm or bow; must be left blank otherwise.

Stringoptional
Is bladedis_bladed

Yes if the weapon is a bladed, pointed, or blunt hand-held weapon, such as a sword, mace, or polearm; must be left blank otherwise.

Stringoptional
Is explosiveis_explosive

Yes if the weapon is an explosive device, such as a grenade or bomb; must be left blank otherwise.

Stringoptional
Is artilleryis_artillery

Yes if the weapon is a type of artillery, such as a cannon or mortar; must be left blank otherwise.

Stringoptional
Is vehicleis_vehicle

Yes if the weapon is a self-propelled vehicle, such as a tank; must be left blank otherwise.

Stringoptional
Is missileis_missile

Yes if the weapon is a self-propelled missile or torpedo; must be left blank otherwise.

Stringoptional
Is UKis_UK

Yes if the field labels should use British/Commonwealth English (calibre, armour); must be left blank otherwise.

Stringoptional
Serviceservice

The period (usually given in years) when the weapon was in service.

Lineoptional
Used byused_by

The countries, armed forces, or other groups using the weapon; this may be omitted for weapons employed only in their country of origin.

Lineoptional
Warswars

Any wars during which the weapon saw service.

Lineoptional
Designerdesigner

The person or group responsible for designing the weapon.

Stringoptional
Design datedesign_date

The date (usually given as a year) when the weapon was designed.

Stringoptional
Manufacturermanufacturer

The manufacturer of the weapon.

Stringoptional
Unit costunit_cost

The unit cost of the weapon; this should only be indicated for weapons currently being produced.

Stringoptional
Production dateproduction_date

The period (usually given in years) when the weapon was produced.

Stringoptional
Numbernumber

The number of weapons of this type that were manufactured.

Numberoptional
Variantsvariants

Any variant models of the weapon.

Lineoptional
Special labelspec_label

A label for the specifications, to be used when data for a particular variant is indicated; should be left blank otherwise.

Stringoptional
Weightweight

The weight of the weapon. For firearms, separate loaded and unloaded weights may be indicated.

Numberoptional
Lengthlength

The total length of the weapon.

Numberoptional
Part lengthpart_length

A secondary length measurement. For firearms, this should be the barrel length; for bladed weapons, the length of the blade or head.

Numberoptional
Widthwidth

The total width of the weapon, where applicable; this is intended for use with larger weapons, such as artillery or vehicles.

Numberoptional
Heightheight

The total height of the weapon, where applicable; this is intended for use with larger weapons, such as artillery or vehicles.

Numberoptional
Diameterdiameter

The diameter of the weapon, where applicable; this is intended for use with explosives and missiles.

Numberoptional
Crewcrew

For crewed weapons, the number of people required.

Numberoptional
Passengerspassengers

For vehicles, the number of passengers carried.

Numberoptional
Cartridgecartridge

For firearms or artillery, the type(s) of cartridge or shell used.

Stringoptional
Cartridge weightcartridge_weight

For firearms or artillery, the weight of the cartridge or shell used.

Numberoptional
Calibercaliber

For non-cartridge firearms or artillery, the caliber or interior diameter of the barrel; for cartridge-loaded firearms, caliber is indicated by the cartridge.

Numberoptional
Barrelsbarrels

For firearms or artillery, the number of distinct barrels; this may be omitted if the weapon is single-barreled.

Numberoptional
Actionaction

For firearms, the type of action (e.g. flintlock).

Stringoptional
Raterate

The rate of fire. For automatic firearms and auto-loading artillery, this is usually the cyclic rate. For other ranged weapons, an effective rate can be indicated if reputable sources for one are available.

Stringoptional
Velocityvelocity

For firearms or artillery, the muzzle velocity of the fired projectile.

Numberoptional
Rangerange

The effective range of the weapon.

Numberoptional
Max rangemax_range

The maximum range of the weapon; for firearms this should be the maximum sight setting if used.

Numberoptional
Feedfeed

For firearms, the feed system or magazine used.

Stringoptional
Sightssights

For firearms or artillery, the type of sights used.

Stringoptional
Breechbreech

For artillery, the type of breech mechanism.

Stringoptional
Recoilrecoil

For artillery, the recoil system used.

Stringoptional
Carriagecarriage

For artillery, the type of carriage used.

Stringoptional
Elevationelevation

For artillery, the vertical range of possible firing angles.

Stringoptional
Traversetraverse

For artillery, the horizontal range of possible firing angles.

Stringoptional
Blade typeblade_type

For bladed weapons (e.g. swords), a description of the blade.

Stringoptional
Hilt typehilt_type

For bladed weapons (e.g. swords), a description of the hilt.

Stringoptional
Sheath typesheath_type

For bladed weapons (e.g. swords), a description of the scabbard or sheath, if any.

Stringoptional
Head typehead_type

For blunt or striking weapons (e.g. axes, polearms, or maces), a description of the head.

Stringoptional
Haft typehaft_type

For blunt or striking weapons (e.g. axes, polearms, or maces), a description of the haft.

Stringoptional
Fillingfilling

The explosive filling material or warhead.

Stringoptional
filling_weightfilling_weight

The weight of the explosive material or warhead.

Numberoptional
Detonationdetonation

the detonation trigger type (e.g. timer, pressure, motion sensor).

Stringoptional
Yieldyield

For larger explosives, the yield (in tons of TNT) of the device.

Stringoptional
Armourarmour

The armour plating of the vehicle; different armour thickness at different points may be indicated if needed.

Stringoptional
Primary weaponprimary_weapon

The primary armament mounted on the vehicle, if any.

Stringoptional
Secondary weaponsecondary_weapon

The secondary armament mounted on the vehicle, if any.

Stringoptional
Engineengine

The type of engine used by the vehicle or missile.

Stringoptional
Engine powerengine_power

The power output of the engine, usually in hp or kW.

Numberoptional
Pw ratiopw_ratio

The power-to-weight ratio, usually in hp/tonne.

Numberoptional
Transmissiontransmission

The type of transmission used by the vehicle.

Stringoptional
Payload capacitypayload_capacity

The overall payload capacity weight of the vehicle.

Stringoptional
Propellantpropellant

For missiles, the propellant used.

Stringoptional
Fuel capacityfuel_capacity

The fuel capacity of the vehicle.

Numberoptional
Suspensionsuspension

The suspension of the vehicle.

Stringoptional
Clearanceclearance

The ground clearance of the vehicle.

Stringoptional
Wingspanwingspan

For missiles, the wingspan.

Stringoptional
Vehicle rangevehicle_range

The operational range of the vehicle or missile.

Stringoptional
Ceilingceiling

For missiles, the flight ceiling.

Stringoptional
Altitudealtitude

For missiles, the normal flight altitude.

Stringoptional
Depthdepth

For underwater weapons such as torpedoes, the maximum operating depth.

Stringoptional
Boostboost

For missiles, the maximum boost time.

Stringoptional
Maximum speedspeed

The maximum speed of the vehicle or missile; this is usually the road speed, but other values may be indicated if appropriate.

Numberoptional
Guidanceguidance

The guidance system used by the missile (or the vehicle, if uncrewed).

Stringoptional
Steeringsteering

The steering system used by the missile or vehicle.

Stringoptional
Accuracyaccuracy

For missiles, the guidance accuracy.

Stringoptional
Launch platformlaunch_platform

For missiles, the launch platform.

Stringoptional
Transporttransport

For missiles, the transportation vehicle or method, if different from the launch platform.

Stringoptional

References

  1. Small Arms Review article on Italian-made Garands
  2. Scott Duff. "Who Made M1 Garands? How Many Were Made? When Were They Made?". Retrieved 2007-05-18. Excerpted from The M1 Garand: Owner's Guide copyright 1994 by Scott A. Duff.
  3. "U.S. Department of the Army Technical Manual No. 9-1005-222-12" (pdf). Re-published by www.biggerhammer.net. 17 March 1969. Retrieved 2007-05-18.

See also