Template:Infobox firearm cartridge/doc

From The Democratikan Wiki

Usage

Firearm cartridge infobox

A firearm cartridge infobox may be used to summarize information about a particular cartridge or artillery shell. The infobox should be added using the {{Infobox firearm cartridge}} template, as shown below:

{{{name}}}
[[File:{{{image}}}|{{{image_size}}}|alt={{{alt}}}]]
{{{caption}}}
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}}}
Produced{{{production_date}}}
No. built{{{number}}}
Variants{{{variants}}}
Specifications
Parent case{{{parent}}}
Case type{{{case_type}}}
Bullet diameter{{{bullet}}}
Land diameter{{{land}}}
Neck diameter{{{neck}}}
Shoulder diameter{{{shoulder}}}
Base diameter{{{base}}}
Rim diameter{{{rim_dia}}}
Rim thickness{{{rim_thick}}}
Case length{{{case_length}}}
Overall length{{{length}}}
Case capacity{{{case_capacity}}}
Rifling twist{{{rifling}}}
Primer type{{{primer}}}
Maximum pressure ({{{pressure_method}}}){{{max_pressure}}}
Maximum pressure ({{{pressure_method2}}}){{{max_pressure2}}}
Maximum pressure ({{{pressure_method3}}}){{{max_pressure3}}}
Maximum CUP{{{max_cup}}} CUP{{{max_cup_ref}}}
Filling{{{filling}}}
Filling weight{{{filling_weight}}}
Detonation
mechanism
{{{detonation}}}
Blast yield{{{yield}}}
Ballistic performance
Bullet mass/type Velocity Energy
{{{bw1}}} {{{btype1}}} {{{vel1}}} {{{en1}}}
{{{bw2}}} {{{btype2}}} {{{vel2}}} {{{en2}}}
{{{bw3}}} {{{btype3}}} {{{vel3}}} {{{en3}}}
{{{bw4}}} {{{btype4}}} {{{vel4}}} {{{en4}}}
{{{bw5}}} {{{btype5}}} {{{vel5}}} {{{en5}}}
Test barrel length: {{{test_barrel_length}}}
Source(s): {{{balsrc}}}

<syntaxhighlight lang="wikitext" style="overflow:auto; white-space:pre;">

</syntaxhighlight>

Parameters

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). References for numerically converted parameters (e.g., |bullet=) can be appended using the corresponding ref parameter (e.g., |bullet_ref=). Sources for the ballistic performance table, and more general sources, can be included using the |balsrc= parameter.

General parameters:

  • name – the formal name of the cartridge.
  • imageoptional – an image of the cartridge, should be given in the form Example.jpg.
  • image_sizeoptional – width of image, should be given in the form 300px.
  • altoptional – alternative text describing the image for visually impaired users, see WP:ALT.
  • captionoptional – the text to be placed below the image.
  • type – the type of cartridge or its designed use (e.g. "Pistol", "Rifle", "Hunting", etc.).
  • origin – the country or place where the cartridgeoriginated or was first manufactured.

Service history parameters:

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

Production history parameters:

  • designeroptional – the person or group responsible for designing the cartridge.
  • design_dateoptional – the date (usually given as a year) when the cartridge was designed.
  • manufactureroptional – the manufacturer of the cartridge.
  • production_dateoptional – the period (usually given in years) when the cartridge was produced.
  • numberoptional – the number of cartridge of this type that were manufactured.
  • variantsoptional – any variant models of the cartridge.

Specification parameters:

  • is_SI_specsoptional – "yes" if the specifications are entered in SI units; any other value causes it to be interpreted as English units.
  • parentoptional – the cartridge that the cartridge was based on, if any.
  • case_typeoptional – the type of case used for the cartridge (e.g. rimmed, rimless, straight, bottlenecked, etc.).
  • bulletoptional – the diameter of the bullet used in the cartridge, expressed in mm or in; only include the number, and not the units of measurement, and omit any commas.
  • landoptional – the land diameter of the rifling in the barrel, expressed in mm or in; only include the number, and not the units of measurement, and omit any commas.
  • neckoptional – the neck diameter of the cartridge, expressed in mm or in; only include the number, and not the units of measurement, and omit any commas.
  • shoulderoptional – the shoulder diameter of the cartridge, if any, expressed in mm or in; only include the number, and not the units of measurement, and omit any commas.
  • baseoptional – the base diameter of the cartridge, expressed in mm or in; only include the number, and not the units of measurement, and omit any commas.
  • rim_diaoptional – the rim diamter of the cartridge, expressed in mm or in; only include the number, and not the units of measurement, and omit any commas.
  • rim_thickoptional – the rim thickness of the cartridge, expressed in mm or in; only include the number, and not the units of measurement, and omit any commas.
  • case_lengthoptional – the case length of the cartridge, expressed in mm or in; only include the number, and not the units of measurement, and omit any commas.
  • lengthoptional – the overall length of the cartridge, expressed in mm or in; only include the number, and not the units of measurement, and omit any commas.
  • case_capacityoptional – the volume of the casing, expressed in cm3 or grains of water; only include the number, and not the units of measurement, and omit any commas.
  • riflingoptional – typical rifling to stabilize the bullet fired from the cartridge.
  • primeroptional – the type of primer used in the cartridge (e.g. large pistol, small rifle, rimfire, etc.).
  • max_pressureoptional – the maximum chamber pressure of the round, expressed in MPa or psi; only include the number, and not the units of measurement, and omit any commas.
  • pressure_methodoptional – the methodology used to measure pressure, such as SAAMI, CIP, EPVAT, SCATP.
  • max_pressure2optional as above, second pressure with method
  • pressure_method2optional as above, second pressure's method
  • max_pressure3optional as above, third pressure with method
  • pressure_method2optional as above, third pressure's method
  • max_cupoptional – the maximum chamber pressure of the round, expressed in CUP; only include the number, and not the units of measurement, and omit any commas. Note that this parameter is not affected by the is_SI_specs parameter.
  • fillingoptional – the explosive filling material of the shell, if any.
  • filling_weightoptional – the weight of the explosive material of the shell, if any.
  • detonationoptional – for explosive shells, the detonation trigger type (e.g. "timer", "pressure", "motion sensor").
  • yieldoptional – for explosive shells, the yield (in tons of TNT) of the device.

Ballistic performance parameters:

Ballistic data for up to five different weight bullets can be specified; it may be provided in either SI or English units, but this choice must be consistent for all five sets. The x in the field name should be replaced with 1–5 as displayed in the template format shown above (e.g. bw1, bw2, btype1, btype2, vel1, vel2, en1, en2, etc.):

  • is_SI_ballisticsoptional – "yes" if the energy and velocity ballistics data is entered in SI units; any other value causes it to be interpreted as English units.
  • bwunitoptional – "gram" if the weights are given in grams; any other value causes them to be interpreted as grains.
  • bwroundoptional – specify the number of digits after the decimal point in the converted weight (the default is 0 if not specified; if specified but empty, defaults to the same default as convert).
  • bwxoptional – the weight of the bullet for given data, expressed in grams or grains; only include the number, and not the units of measurement.
    • btypexoptional – the type of bullet (e.g. JHP, FMJ, BHP, etc.).
    • velxrequired if bw field is specified – velocity of the bullet at the muzzle, expressed in m/s or ft/s; only include the number, and not the units of measurement, and omit any commas.
    • enxrequired if bw field is specified – energy of the bullet at the muzzle, expressed in J or ft·lbf; only include the number, and not the units of measurement, and omit any commas.
  • test_barrel_lengthoptional – the length of the barrel used when generating the ballistics data.
  • balsrcoptional – the source from which the ballistics data was obtained.

Example

.357 SIG
File:9mm 7,62mm 357sig 10mm 45SW 45GAP 50AE 002.jpg
Comparison to other cartridges. .357 SIG third from left.
TypePistol
Place of originUnited States
Production history
DesignerSIGARMS/Federal Cartridge Co.
Designed1994
Specifications
Case typeRimless, bottleneck
Bullet diameter.355 in (9.0 mm)
Land diameter.343 in (8.7 mm)
Neck diameter.381 in (9.7 mm)
Shoulder diameter.424 in (10.8 mm)
Base diameter.424 in (10.8 mm)
Rim diameter.424 in (10.8 mm)
Rim thickness.055 in (1.4 mm)
Case length.865 in (22.0 mm)
Overall length1.14 in (29 mm)
Primer typeSmall pistol
Ballistic performance
Bullet mass/type Velocity Energy
115 gr (7 g) BHP 1,564 ft/s (477 m/s) 624 ft⋅lbf (846 J)
124 gr (8 g) JHP 1,329 ft/s (405 m/s) 486 ft⋅lbf (659 J)
125 gr (8 g) JHP 1,299 ft/s (396 m/s) 468 ft⋅lbf (635 J)
147 gr (10 g) JHP 1,186 ft/s (361 m/s) 459 ft⋅lbf (622 J)
150 gr (10 g) JHP 1,130 ft/s (340 m/s) 425 ft⋅lbf (576 J)
Test barrel length: 4 in
Source(s): Steve's 357 SIG Ballistic Page

<syntaxhighlight lang="wikitext" style="overflow:auto; white-space:pre;">

.357 SIG
File:9mm 7,62mm 357sig 10mm 45SW 45GAP 50AE 002.jpg
Comparison to other cartridges. .357 SIG third from left.
TypePistol
Place of originUnited States
Production history
DesignerSIGARMS/Federal Cartridge Co.
Designed1994
Specifications
Case typeRimless, bottleneck
Bullet diameter.355 in (9.0 mm)
Land diameter.343 in (8.7 mm)
Neck diameter.381 in (9.7 mm)
Shoulder diameter.424 in (10.8 mm)
Base diameter.424 in (10.8 mm)
Rim diameter.424 in (10.8 mm)
Rim thickness.055 in (1.4 mm)
Case length.865 in (22.0 mm)
Overall length1.14 in (29 mm)
Primer typeSmall pistol
Ballistic performance
Bullet mass/type Velocity Energy
115 gr (7 g) BHP 1,564 ft/s (477 m/s) 624 ft⋅lbf (846 J)
124 gr (8 g) JHP 1,329 ft/s (405 m/s) 486 ft⋅lbf (659 J)
125 gr (8 g) JHP 1,299 ft/s (396 m/s) 468 ft⋅lbf (635 J)
147 gr (10 g) JHP 1,186 ft/s (361 m/s) 459 ft⋅lbf (622 J)
150 gr (10 g) JHP 1,130 ft/s (340 m/s) 425 ft⋅lbf (576 J)
Test barrel length: 4 in
Source(s): Steve's 357 SIG Ballistic Page

</syntaxhighlight>

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.