Template:Infobox weapon/sandbox
This is the template sandbox page for Template:Infobox weapon (diff). See also the companion subpage for test cases. |
This template is used on approximately 7,600 pages and changes may be widely noticed. Test changes in the template's /sandbox or /testcases subpages, or in your own user subpage. Consider discussing changes on the talk page before implementing them. |
This template adds an automatically generated short description. If the automatic short description is not optimal, replace it by adding {{Short description}} at the top of the article. |
Usage
[edit]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.
{{{name}}} | |
---|---|
[[File:{{{image}}}|{{{image_size}}}|alt={{{alt}}}]] | |
Type | {{{type}}} |
Place of origin | {{{origin}}} |
Service history | |
In service | {{{service}}} |
Used by | {{{used_by}}} |
Wars | {{{wars}}} |
Production history | |
Designer | {{{designer}}} |
Designed | {{{design_date}}} |
Manufacturer | {{{manufacturer}}} |
Developed from | {{{developed_from}}} |
Developed into | {{{developed_into}}} |
Unit cost | {{{unit_cost}}} |
Produced | {{{production_date}}} |
No. built | {{{number}}} |
Variants | {{{variants}}} |
Specifications ({{{spec_label}}}) | |
Mass | {{{mass}}} |
Length | {{{length}}} |
Barrel length | {{{part_length}}} |
Width | {{{width}}} |
Height | {{{height}}} |
Diameter | {{{diameter}}} |
Wingspan | {{{wingspan}}} |
Crew | {{{crew}}} |
Passengers | {{{passengers}}} |
Shell | {{{cartridge}}} |
Shell weight | {{{cartridge_weight}}} |
Calibre | {{{caliber}}} |
Barrels | {{{barrels}}} |
Action | {{{action}}} |
Breech | {{{breech}}} |
Recoil | {{{recoil}}} |
Carriage | {{{carriage}}} |
Elevation | {{{elevation}}} |
Traverse | {{{traverse}}} |
Rate of fire | {{{rate}}} |
Muzzle velocity | {{{velocity}}} |
Effective firing range | {{{range}}} |
Maximum firing range | {{{max_range}}} |
Feed system | {{{feed}}} |
Sights | {{{sights}}} |
Blade type | {{{blade_type}}} |
Hilt type | {{{hilt_type}}} |
Scabbard/sheath | {{{sheath_type}}} |
Head type | {{{head_type}}} |
Haft type | {{{haft_type}}} |
Warhead | {{{filling}}} |
Warhead weight | {{{filling_weight}}} |
Detonation mechanism | {{{detonation}}} |
Blast yield | {{{yield}}} |
Armour | {{{armour}}} |
Main armament | {{{primary_armament}}} |
Secondary armament | {{{secondary_armament}}} |
Engine | {{{engine}}} {{{engine_power}}} |
Power/weight | {{{pw_ratio}}} |
Payload capacity | {{{payload_capacity}}} |
Drive | {{{drive}}} |
Transmission | {{{transmission}}} |
Suspension | {{{suspension}}} |
Ground clearance | {{{clearance}}} |
Propellant | {{{propellant}}} |
Fuel capacity | {{{fuel_capacity}}} |
Operational range | {{{vehicle_range}}} |
Flight ceiling | {{{ceiling}}} |
Flight altitude | {{{altitude}}} |
Boost time | {{{boost}}} |
Maximum depth | {{{depth}}} |
Maximum speed | {{{speed}}} |
Guidance system | {{{guidance}}} |
Steering system | {{{steering}}} |
Accuracy | {{{accuracy}}} |
Launch platform | {{{launch_platform}}} |
Transport | {{{transport}}} |
References | {{{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.
Example
[edit]Rifle, Caliber .30, M1 | |
---|---|
Type | Semi-automatic rifle |
Place of origin | United States |
Service history | |
In service | 1936–present (U.S. military training and parades) |
Used by | See § Users |
Wars | |
Production history | |
Designer | John Garand |
Designed | 1932 |
Manufacturer | |
Produced | 1936–1957 |
No. built | Approx. 6.0 million[2] |
Variants | M1C, M1D |
Specifications | |
Mass | 9.5 to 11.6 lb (4.3 to 5.3 kg) |
Length | 43.5 in (1,100 mm) |
Barrel length | 24 in (610 mm) |
Cartridge |
|
Action | Gas-operated, rotating bolt |
Muzzle velocity | 2,800 ft/s (850 m/s) |
Effective firing range | 440 yd (400 m)[3] |
Feed system | 8-round en bloc clip, internal magazine |
Sights | Iron sights: Aperture rear, barleycorn-type front |
<!-- NOTE: This may differ from the actual Rifle, Caliber .30, M1 infobox in order to provide an example. -->
{{Infobox weapon
| name = Rifle, Caliber .30, M1
| image = File:M1-Garand-Rifle.jpg
| image_size = 300
| alt =
| caption = An M1 Garand with [[Clip (firearms)#En bloc|en bloc clips]]
| type = [[Semi-automatic rifle]]
| origin = [[United States]]
<!-- Type selection -->
| is_ranged = yes
| is_bladed =
| is_explosive =
| is_artillery =
| is_vehicle =
| is_missile =
| is_UK =
<!-- Service history -->
| service = 1936–present (U.S. military training and parades)
| used_by = ''See ''{{section link|M1 Garand rifle|Users|nopage=yes}}
| wars = {{plainlist|
*[[World War II]]
*[[Korean War]]
*[[Arab–Israeli conflict]]
*[[First Indochina War]]
*[[Suez Crisis]]
*[[Vietnam War]]
*[[Cambodian Civil War]]
*[[The Troubles]]
*Other conflicts}}
<!-- Production history -->
| designer = [[John Garand]]
| design_date = 1932
| manufacturer = {{plainlist|
*[[Springfield Armory]]
*[[Winchester Repeating Arms Company|Winchester]]
*[[H&R Firearms|Harrington & Richardson]]
*[[International Harvester]]
*[[Beretta]]
*[[Breda Meccanica Bresciana|Breda]]<ref>[http://www.smallarmsreview.com/pdf/Berettatypee.pdf Small Arms Review article on Italian-made Garands]</ref>
*[[Springfield Armory, Inc.]] (civilian)}}
| developed_from =
| developed_into =
| unit_cost =
| production_date = 1936–1957
| number = Approx. 6.0 million<ref>{{cite web|url=http://www.scott-duff.com/WhoHowManyWhen.htm|title=Who Made M1 Garands? How Many Were Made? When Were They Made?|author=Scott Duff|publisher=|access-date=2007-05-18}} Excerpted from ''The M1 Garand: Owner's Guide'' copyright 1994 by Scott A. Duff.</ref>
| variants = M1C, M1D
<!-- General specifications -->
| spec_label =
| mass = {{cvt|9.5|to|11.6|lb|kg}}
| length = {{cvt|43.5|in|mm}}
| part_length = {{cvt|24|in|mm}}
| width =
| height =
| diameter =
| crew =
| passengers =
<!-- Ranged weapon specifications -->
| cartridge = {{plainlist|
*[[.30-06 Springfield]]
*[[7.62×51mm NATO]] (U.S. Navy and some commercial versions)}}
| cartridge_weight =
| caliber =
| barrels =
| action = [[Gas-operated reloading|Gas-operated]], [[rotating bolt]]
| rate =
| velocity = {{cvt|2800|ft/s|m/s}}
| range = {{cvt|440|yd|m}}<ref>{{cite web|url=http://www.biggerhammer.net/manuals/tm9100522212/M1GARA.PDF|format=pdf|title=U.S. Department of the Army Technical Manual No. 9-1005-222-12|publisher=Re-published by www.biggerhammer.net|date=17 March 1969|access-date=2007-05-18}}</ref>
| max_range =
| feed = 8-round [[Clip (firearms)#En bloc|en bloc clip]], internal [[Magazine (firearms)|magazine]]
| sights = [[Iron sights]]: Aperture rear, barleycorn-type front
<!-- For all -->
| ref =
}}
Parameter names and description
[edit]General parameters:
- name – the formal name of the weapon.
- image – optional – 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.
- alt – optional – a description of the image that replaces the image if it fails to load.
- caption – optional – the text to be placed below the image.
- type – optional – the type of weapon (e.g. "service rifle", "dress sword", and so forth).
- origin – optional – 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:
- service – optional – the period (usually given in years) when the weapon was in service.
- used_by – optional – the countries, armed forces, or other groups using the weapon; this may be omitted for weapons employed only in their country of origin.
- wars – optional – any wars during which the weapon saw service.
Production history parameters:
- designer – optional – the person or group responsible for designing the weapon.
- design_date – optional – the date (usually given as a year) when the weapon was designed.
- manufacturer – optional – the manufacturer of the weapon.
- developed_from – optional – if a produced weapon formed the basis for this weapon.
- developed_into – optional – for derivative weapons based on this weapon, that are not variants.
- unit_cost – optional – the unit cost of the weapon; this should only be indicated for weapons currently being produced.
- production_date – optional – the period (usually given in years) when the weapon was produced.
- number – optional – the number of weapons of this type that were manufactured.
- variants – optional – any variant models of the weapon.
General specification parameters:
- spec_label – optional – a label for the specifications, to be used when data for a particular variant is indicated; should be left blank otherwise.
- mass – optional – the mass of the weapon. For firearms, separate loaded and unloaded masses may be indicated.
- length – optional – the total length of the weapon.
- part_length – optional – a secondary length measurement. For firearms, this should be the barrel length; for bladed weapons, the length of the blade or head.
- width – optional – the total width of the weapon, where applicable; this is intended for use with larger weapons, such as artillery or vehicles.
- height – optional – the total height of the weapon, where applicable; this is intended for use with larger weapons, such as artillery or vehicles.
- diameter – optional – the diameter of the weapon, where applicable; this is intended for use with explosives and missiles.
- crew – optional – for crewed weapons, the number of people required.
- passengers – optional – 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"):
- cartridge – optional – for firearms or artillery, the type(s) of cartridge or shell used.
- cartridge_weight – optional – for firearms or artillery, the mass of the cartridge or shell used.
- caliber – optional – for non-cartridge firearms or artillery, the caliber or interior diameter of the barrel; for cartridge-loaded firearms, caliber is indicated by the cartridge.
- barrels – optional – for firearms or artillery, the number of distinct barrels; this may be omitted if the weapon is single-barreled.
- action – optional – for firearms, the type of action (e.g. "flintlock").
- rate – optional – 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.
- velocity – optional – for firearms or artillery, the muzzle velocity of the fired projectile.
- range – optional – the effective range of the weapon.
- max_range – optional – the maximum range of the weapon; for firearms this should be the maximum sight setting if used.
- feed – optional – for firearms, the feed system or magazine used.
- sights – optional – for firearms or artillery, the type of sights used.
Artillery specification parameters (only available if is_artillery is set to "yes"):
- breech – optional – for artillery, the type of breech mechanism.
- recoil – optional – for artillery, the recoil system used.
- carriage – optional – for artillery, the type of carriage used.
- elevation – optional – for artillery, the vertical range of possible firing angles.
- traverse – optional – for artillery, the horizontal range of possible firing angles.
Bladed weapon specification parameters (only available if is_bladed is set to "yes"):
- blade_type – optional – for bladed weapons (e.g. swords), a description of the blade.
- hilt_type – optional – for bladed weapons (e.g. swords), a description of the hilt.
- sheath_type – optional – for bladed weapons (e.g. swords), a description of the scabbard or sheath, if any.
- head_type – optional – for blunt or striking weapons (e.g. axes, polearms, or maces), a description of the head.
- haft_type – optional – 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"):
- filling – optional – the explosive filling material or warhead.
- filling_weight – optional – the mass of the explosive material or warhead.
- detonation – optional – the detonation trigger type (e.g. "timer", "pressure", "motion sensor").
- yield – optional – 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"):
- armour – optional – the armour plating of the vehicle; different armour thickness at different points may be indicated if needed.
- primary_armament – optional – the primary weapon mounted on the vehicle, if any.
- secondary_armament – optional – the secondary weapon mounted on the vehicle, if any.
- engine – optional – the type of engine used by the vehicle or missile.
- engine_power – optional – the power output of the engine, usually in hp or kW.
- pw_ratio – optional – the power-to-weight ratio, usually in hp/tonne.
- transmission – optional – the type of transmission used by the vehicle.
- payload_capacity – optional – the overall payload capacity weight of the vehicle.
- propellant – optional – for missiles, the propellant used.
- fuel_capacity – optional – the fuel capacity of the vehicle.
- drive – optional – the drivetrain wheel or track configuration (e.g. 4×4, 6×4, tracked)
- transmission – optional – the transmission of the vehicle.
- suspension – optional – the suspension of the vehicle.
- clearance – optional – the ground clearance of the vehicle.
- wingspan – optional – for missiles, the wingspan.
- vehicle_range – optional – the operational range of the vehicle or missile.
- ceiling – optional – for missiles, the flight ceiling.
- altitude – optional – for missiles, the normal flight altitude.
- depth – optional – for underwater weapons such as torpedoes, the maximum operating depth.
- boost – optional – for missiles, the maximum boost time.
- speed – optional – the maximum speed of the vehicle or missile; this is usually the road speed, but other values may be indicated if appropriate.
- guidance – optional – the guidance system used by the missile (or the vehicle, if uncrewed).
- steering – optional – the steering system used by the missile or vehicle.
- accuracy – optional – for missiles, the guidance accuracy.
- launch_platform – optional – for missiles, the launch platform.
- transport – optional – for missiles, the transportation vehicle or method, if different from the launch platform.
Maintenance categories
Microformat
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
nor collapse nested elements which use them.
Template Data
[edit]TemplateData documentation used by 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.
|
References
[edit]- ^ Small Arms Review article on Italian-made Garands
- ^ 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.
- ^ "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.