Open main menu

Template talk:Infobox firearm cartridge

WikiProject Military history (Rated Template-Class)
MILHIST This template is within the scope of the Military history WikiProject. If you would like to participate, please visit the project page, where you can join the project and see a list of open tasks. To use this banner, please see the full instructions.
Temp Templates and modules do not require a rating on the quality assessment scale.
WikiProject Firearms (Rated NA-class)
This template is within the scope of WikiProject Firearms, a collaborative effort to improve the coverage of firearms on Wikipedia. If you would like to participate, please visit the project page, where you can join the discussion and see a list of open tasks.
 NA  This template does not require a rating on the project's quality scale.

More workEdit

I'm going to do more work on this template here soon. Make more fields optional, and maybe move it to a better name (and fix the pages that use it of course). Even add an image field for displaying diagrams or photos of cartridges. Unless someone has an objection? Thernlund (Talk | Contribs) 12:10, 7 January 2007 (UTC)

Lots of workEdit

Just spent some time doing lots of work on this template. Unless someone has opinions, I'm going to keep going with stuff as I think of it. Anyone? Thernlund (Talk | Contribs) 22:29, 8 January 2007 (UTC)

Ballistic dataEdit

Added new fields for more detailed ballistic data. Going to add a field (or fields) so a source can be included.

<tap tap> Is this thing on? Anyone listening? ;-) Thernlund (Talk | Contribs) 00:26, 11 January 2007 (UTC)

And done. So there's that. Thernlund (Talk | Contribs) 01:04, 11 January 2007 (UTC)

Cool template. I just got Category:Ammunition stubs loaded up with a bunch of cartridges, so maybe you can infobox them. Night Gyr (talk/Oy) 16:02, 24 January 2007 (UTC)

Oooo... lots of activities to keep me busy. Neat! ;-) Thernlund (Talk | Contribs) 16:12, 24 January 2007 (UTC)

Too specific?Edit

Great work on the infobox, but I can't help but wonder if there's too much information in there... I mean, for example, is the rim thickness really that important? I'm rather fond of firearm techie specs (as we know), but my first reaction to this template is "Whoa! Far too much minutae!"--Commander Zulu 11:39, 3 February 2007 (UTC)

Eh. I suppose it can be argued either way; but, really, what's there to distinguish most cartridges other than dimensions? ;-)
(The infobox isn't that large, at the moment, so I don't think the fields are a practical space concern, for what it's worth.) Kirill Lokshin 18:26, 3 February 2007 (UTC)


This is a bit retarded. It assumes we're using inches, however some calibers aren't in inches at all. Tried to enter 6mm and I got an error message. It's nice that it'll calculate everything for you, but it won't calculate from mm to in and that's a big issue. My argument is that this isn't a reloading guide but merely a dictionary. I can also further argue that making it akin to a reloading guide might invite litigation if somebody is stupid enough to believe the precise dimensions presented herein. Besides, SAAMI and the manufacturers have tolerances and anything exact is misleading. All or nothing is not good either. Bullet diameter, base diameter, and cartridge length (SAAMI Max OAL) are more than enough. --Asams10 16:12, 26 February 2007 (UTC)

Err, the template is designed to take metric input and convert to Imperial; are you sure you're using it correctly? The needed syntax would be:
Kirill Lokshin 19:10, 26 February 2007 (UTC)
Kirill is correct. You may have just inadvertently missed the param that changes it to metric. The auto-conversion changes are relatively new so if you're familiar with the old "pre-autoconvert" template you might just have to breeze over the infobox instructions again. See 9 mm Luger Parabellum for an example or a "metric first" use. Thernlund (Talk | Contribs) 20:04, 26 February 2007 (UTC)

Case typeEdit

The sample for copy-pasting of this template displays "|case type=". For that field to display properly when Wiki users copy-paste it into an article, it needs to be "|case_type=" (underscore instead of space). In fact, I've noticed several articles where the case type doesn't display in the infobox because of this, and manually corrected them within the articles. — Red XIV (talk) 06:19, 7 August 2007 (UTC)

I've fixed that now; thanks for catching that! Kirill 13:26, 7 August 2007 (UTC)

One more field - Pressure?Edit

I know there are already a lot of fields, but aren't we really missing the pressure field, like max CUP or max PSI rating for the cartridge? Arthurrh 04:06, 15 August 2007 (UTC)

I'm working on adding such a field. As well, I'm working on adding a "case capacity" field. I'm sure I'll have concerns though so stay tuned. Thernlund (Talk | Contribs) 20:21, 4 September 2007 (UTC)
Those would be useful. :-) Kirill 00:39, 5 September 2007 (UTC)
Thanks for working on fields. Can you ensure that where non-metric units are provided (e.g. grains, lbf/in³), metric units are also provided (e.g. grams, pascals) please? Regards Lightmouse 11:22, 5 September 2007 (UTC)

Metric: grains and gramsEdit

How do we get the template to use grams? Lightmouse 19:19, 16 August 2007 (UTC)

Bullet diameter field isn't workingEdit

For some reason the template is ignoring the number entered in that field, and instead displaying the overall length number as the bullet diameter. (talk) 00:42, 26 November 2007 (UTC)

Fixed. Tra (Talk) 00:46, 26 November 2007 (UTC)

Metric ballistic data?Edit

There's no way to define the ballistic data to be metric. What about making support for it? SkyBonTalk/Contributions 17:47, 27 December 2009 (UTC)

Does setting "is_SI_ballistics" to "yes" not work correctly? Kirill [talk] [prof] 23:57, 27 December 2009 (UTC)

Link to bullet abbreviationsEdit

The ballistics data tables are difficult to process partly because there are so many abbreviations (e.g. FMJ, LFN P+, WFNGC, XPB, and the list goes on). I would like to request that a link to Bullet#Bullet_abbreviations be placed below this table in the template. This would make the information somewhat more accessible.

Ideally, the abbreviations used would be linked (with a named anchor) to a glossary entry so that clicking on XPB would take the reader directly to the expansion of that acronym, much like Glossary of nautical terms. This would probably be harder to implement and require a new page to be created, but would be much more useful. Attys (talk) 02:41, 3 September 2012 (UTC)

.300 Winchester Magnum ballistics is not displaying correctly.Edit

The .300 Winchester Magnum[1] is showing 180grains = 12 g AND 190 grains also equal to 12 g when it should be 12.3 g. Anyone know how to fix this template to NOT use an integer function on gram numbers larger than 10? (talk) 03:16, 27 November 2012 (UTC)

I will see if I can fix it. Frietjes (talk) 23:05, 27 November 2012 (UTC)
I have added an optional bwround parameter, which can be used to specify the number of digits after the decimal place in the rounded result (e.g., like this). Frietjes (talk) 23:37, 27 November 2012 (UTC)

volumetric grainEdit

I created a convert subtemplate for gr H2O, using a density of water of 1 g per cm3, so basically to converting from cm3 to gr H2O is the same as converting from g to gr. let me know if you see any problem with the conversions.

  • 1.00 grains water (0.065 cm3)
  • 1.00 cubic centimetre (15.4 gr H2O)
  • 1.00 grain (0.065 g)
  • 1.00 gram (15.4 gr)

I am also working on a simplified version of this template in the sandbox (using infobox), but it's not quite ready to deploy at the moment. Frietjes (talk) 00:30, 28 November 2012 (UTC)

"Primer" Parameter Link ErrorEdit

How do i go about getting the link used in the "Primer" parameter corrected? It currenly points to Percussion cap, which is a kind of a priming system, but not a primer in relation to modern firearm cartridges as used by this infobox. The parameter should point to either Primer (firearm), or more specifically to primer. I am Infobox-illiterate, so i'm not sure how one goes about fixing them. BeadleB (talk) 06:24, 22 December 2012 (UTC)

I changed it to "Primer (firearm)". Frietjes (talk) 16:32, 22 December 2012 (UTC)

Infobox guidelines and referencing dataEdit

Wikipedia:Manual_of_Style/Infoboxes states: the purpose of an infobox: to summarize key facts in the article in which it appears. These firearm cartridge infoboxes usually contain information which does not appear in the article. I feel therefore that there should be a way to reference the information in the infobox, particularly the cartridge dimensions and specifications.

I have tried adding references to Pressure data (to either SAAMI or CIP publications), and I cannot get it to work; If I add the reference to the max_pressure field it breaks unit conversion function, if I add it to the pressure_method field the reference shows up as gobbledygook. Perhaps we need another field to contain the reference for pressure data? Or perhaps I should insert a paragraph into every article containing the pressure and reference.

Similarly, there is no way to add a reference to the cartridge dimensions without breaking the unit conversion. I considered adding the reference to the text field case_type, but then it appears that the reference only applies to that field. Again, perhaps an additional field could be added into which the dimension references could be entered. But then it wouldn't be clear which dimensions come from which reference. I'm particularly concerned about the "case capacity" field. Most of the dimensions for standard cartridges would come from SAAMI or CIP, but they don't publish case capacities. Where they don't appear in the text of the article, these case capacity data really need a reference.

This infobox is a great resource, but still has some room for improvement, I think. I will probably continue to crystallize my ideas for enhancing this box as I enter more data into it for various cartridges.

StraightAsADie (talk) 04:20, 4 July 2013 (UTC)

I added |max_pressure_ref= and similar parameters for all the parameters passed through unit conversion. let me know if I missed one. Frietjes (talk) 15:36, 4 July 2013 (UTC)

Wow, fast work. Thanks for doing that. StraightAsADie (talk) 23:14, 4 July 2013 (UTC)

a cartridge does not have a twist rateEdit

I am fighting this fallacy all the time. please help. CorvetteZ51 (talk) 09:21, 15 June 2015 (UTC)

I think I agree with you. Please state clearly your assertion. Thanks! Steve SteveOak (talk) 21:53, 2 November 2015 (UTC)

Return to "Infobox firearm cartridge" page.