Jump to content

Template:Infobox firearm cartridge and Template:Infobox firearm cartridge/sandbox: Difference between pages

(Difference between pages)
Page 1
Page 2
Content deleted Content added
 
Fix Linter errors (stripped TH tag)
 
Line 52: Line 52:
| header14 = {{#if:{{{parent|}}}{{{case_type|}}}{{{bullet|}}}{{{neck|}}}{{{shoulder|}}}{{{base|}}}{{{rim_dia|}}}{{{rim_thick|}}}{{{case_length|}}}{{{length|}}}{{{rifling|}}}{{{primer|}}}{{{filling|}}}{{{filling_weight|}}}{{{detonation|}}}{{{yield|}}}|Specifications}}
| header14 = {{#if:{{{parent|}}}{{{case_type|}}}{{{bullet|}}}{{{neck|}}}{{{shoulder|}}}{{{base|}}}{{{rim_dia|}}}{{{rim_thick|}}}{{{case_length|}}}{{{length|}}}{{{rifling|}}}{{{primer|}}}{{{filling|}}}{{{filling_weight|}}}{{{detonation|}}}{{{yield|}}}|Specifications}}


| label15 = Parent case
| label15 = Parent [[Cartridge (firearms)|case]]
| data15 = {{{parent|}}}
| data15 = {{{parent|}}}


Line 58: Line 58:
| data16 = {{{case_type|}}}
| data16 = {{{case_type|}}}


| label17 = Bullet diameter
| label17 = [[Bullet]] diameter
| data17 = {{infobox firearm cartridge/convert|{{{bullet|}}}|in|mm|flip={{{is_SI_specs|}}}|ref={{{bullet_ref|}}}}}
| data17 = {{infobox firearm cartridge/convert|{{{bullet|}}}|in|mm|flip={{{is_SI_specs|}}}|ref={{{bullet_ref|}}}}}


| label18 = Land diameter
| label18 = Neck diameter
| data18 = {{infobox firearm cartridge/convert|{{{land|}}}|in|mm|flip={{{is_SI_specs|}}}|ref={{{land_ref|}}}}}
| data18 = {{infobox firearm cartridge/convert|{{{neck|}}}|in|mm|flip={{{is_SI_specs|}}}|ref={{{neck_ref|}}}}}


| label19 = Neck diameter
| label19 = Shoulder diameter
| data19 = {{infobox firearm cartridge/convert|{{{neck|}}}|in|mm|flip={{{is_SI_specs|}}}|ref={{{neck_ref|}}}}}
| data19 = {{infobox firearm cartridge/convert|{{{shoulder|}}}|in|mm|flip={{{is_SI_specs|}}}|ref={{{shoulder_ref|}}}}}


| label20 = Shoulder diameter
| label20 = Base diameter
| data20 = {{infobox firearm cartridge/convert|{{{shoulder|}}}|in|mm|flip={{{is_SI_specs|}}}|ref={{{shoulder_ref|}}}}}
| data20 = {{infobox firearm cartridge/convert|{{{base|}}}|in|mm|flip={{{is_SI_specs|}}}|ref={{{base_ref|}}}}}


| label21 = Base diameter
| label21 = Rim diameter
| data21 = {{infobox firearm cartridge/convert|{{{base|}}}|in|mm|flip={{{is_SI_specs|}}}|ref={{{base_ref|}}}}}
| data21 = {{infobox firearm cartridge/convert|{{{rim_dia|}}}|in|mm|flip={{{is_SI_specs|}}}|ref={{{rim_dia_ref|}}}}}


| label22 = Rim diameter
| label22 = Rim thickness
| data22 = {{infobox firearm cartridge/convert|{{{rim_dia|}}}|in|mm|flip={{{is_SI_specs|}}}|ref={{{rim_dia_ref|}}}}}
| data22 = {{infobox firearm cartridge/convert|{{{rim_thick|}}}|in|mm|flip={{{is_SI_specs|}}}|ref={{{rim_thick_ref|}}}}}


| label23 = Rim thickness
| label23 = Case length
| data23 = {{infobox firearm cartridge/convert|{{{rim_thick|}}}|in|mm|flip={{{is_SI_specs|}}}|ref={{{rim_thick_ref|}}}}}
| data23 = {{infobox firearm cartridge/convert|{{{case_length|}}}|in|mm|flip={{{is_SI_specs|}}}|ref={{{case_length_ref|}}}}}


| label24 = Case length
| label24 = Overall length
| data24 = {{infobox firearm cartridge/convert|{{{case_length|}}}|in|mm|flip={{{is_SI_specs|}}}|ref={{{case_length_ref|}}}}}
| data24 = {{infobox firearm cartridge/convert|{{{length|}}}|in|mm|flip={{{is_SI_specs|}}}|ref={{{length_ref|}}}}}


| label25 = Overall length
| label25 = Case capacity
| data25 = {{infobox firearm cartridge/convert|{{{length|}}}|in|mm|flip={{{is_SI_specs|}}}|ref={{{length_ref|}}}}}
| data25 = {{infobox firearm cartridge/convert|{{{case_capacity|}}}|gr water|cm3|flip={{{is_SI_specs|}}}|ref={{{case_capacity_ref|}}}|lk=in}}


| label26 = Case capacity
| label26 = [[Rifling]] twist
| data26 = {{{rifling|}}}
| data26 = {{infobox firearm cartridge/convert|{{{case_capacity|}}}|gr water|cm3|flip={{{is_SI_specs|}}}|ref={{{case_capacity_ref|}}}|lk=in}}


| label27 = Rifling twist
| label27 = [[Primer (firearm)|Primer]] type
| data27 = {{{rifling|}}}
| data27 = {{{primer|}}}


| label28 = Maximum pressure {{#if:{{{pressure_method|}}}|([[small arms ammunition pressure testing|{{{pressure_method|}}}]])}}
| label28 = Primer type
| data28 = {{infobox firearm cartridge/convert|{{{max_pressure|}}}|psi|MPa|flip={{{is_SI_specs|}}}|ref={{{max_pressure_ref|}}}}}
| data28 = {{{primer|}}}


| label29 = Maximum pressure {{#if:{{{pressure_method|}}}|([[small arms ammunition pressure testing|{{{pressure_method|}}}]])}}
| label29 = Maximum pressure ([[small arms ammunition pressure testing|{{{pressure_method2|}}}]])
| data29 = {{infobox firearm cartridge/convert|{{{max_pressure|}}}|psi|MPa|flip={{{is_SI_specs|}}}|ref={{{max_pressure_ref|}}}}}
| data29 = {{#if:{{{max_pressure2|}}}|{{infobox firearm cartridge/convert|{{{max_pressure2|}}}|psi|MPa|flip={{{is_SI_specs|}}}|ref={{{max_pressure2_ref|}}}}}}}


| label30 = Maximum pressure ([[small arms ammunition pressure testing|{{{pressure_method2|}}}]])
| label30 = Maximum pressure ([[small arms ammunition pressure testing|{{{pressure_method3|}}}]])
| data30 = {{#if:{{{max_pressure2|}}}|{{infobox firearm cartridge/convert|{{{max_pressure2|}}}|psi|MPa|flip={{{is_SI_specs|}}}|ref={{{max_pressure2_ref|}}}}}}}
| data30 = {{#if:{{{max_pressure3|}}}|{{infobox firearm cartridge/convert|{{{max_pressure3|}}}|psi|MPa|flip={{{is_SI_specs|}}}|ref={{{max_pressure3_ref|}}}}}}}


| label31 = Maximum pressure ([[small arms ammunition pressure testing|{{{pressure_method3|}}}]])
| label31 = Maximum [[Copper units of pressure|CUP]]
| data31 = {{#if:{{{max_pressure3|}}}|{{infobox firearm cartridge/convert|{{{max_pressure3|}}}|psi|MPa|flip={{{is_SI_specs|}}}|ref={{{max_pressure3_ref|}}}}}}}
| data31 = {{#if:{{{max_cup|}}}|{{{max_cup}}} CUP{{{max_cup_ref|}}}}}


| label32 = Maximum CUP
| label32 = Filling
| data32 = {{#if:{{{max_cup|}}}|{{{max_cup}}} CUP{{{max_cup_ref|}}}}}
| data32 = {{{filling|}}}


| label33 = Filling
| label33 = Filling weight
| data33 = {{{filling|}}}
| data33 = {{{filling_weight|}}}


| label34 = Filling weight
| label34 = Detonation<br />mechanism
| data34 = {{{filling_weight|}}}
| data34 = {{{detonation|}}}


| label35 = Detonation<br />mechanism
| label35 = Blast&nbsp;yield
| data35 = {{{detonation|}}}
| data35 = {{{yield|}}}


| header36 = {{#if:{{{bw1|}}}{{{bw2|}}}{{{bw3|}}}{{{bw4|}}}{{{bw5|}}}|Ballistic performance}}
| label36 = Blast&nbsp;yield
| data36 = {{{yield|}}}

| header37 = {{#if:{{{bw1|}}}{{{bw2|}}}{{{bw3|}}}{{{bw4|}}}{{{bw5|}}}|Ballistic performance}}
|
|
|data38={{#if:{{{bw1|}}}{{{bw2|}}}{{{bw3|}}}{{{bw4|}}}{{{bw5|}}}|
|data37={{#if:{{{bw1|}}}{{{bw2|}}}{{{bw3|}}}{{{bw4|}}}{{{bw5|}}}|
{{Infobox firearm cartridge/ballistics header}}
{{Infobox firearm cartridge/ballistics header}}
{{Infobox firearm cartridge/ballistics|is_SI_ballistics={{{is_SI_ballistics|}}}|bwx={{{bw1|}}}|bwunit={{{bwunit|}}}|bwround={{{bwround|0}}}|btypex={{{btype1|}}}|velx={{{vel1|}}}|enx={{{en1|}}}|isnotlast={{{bw2|}}}{{{bw3|}}}{{{bw4|}}}{{{bw5|}}}{{{test_barrel_length|}}}{{{balsrc|}}}
{{Infobox firearm cartridge/ballistics|is_SI_ballistics={{{is_SI_ballistics|}}}|bwx={{{bw1|}}}|bwunit={{{bwunit|}}}|bwround={{{bwround|0}}}|btypex={{{btype1|}}}|velx={{{vel1|}}}|enx={{{en1|}}}|isnotlast={{{bw2|}}}{{{bw3|}}}{{{bw4|}}}{{{bw5|}}}{{{test_barrel_length|}}}{{{balsrc|}}}
Line 128: Line 125:
}}{{Infobox firearm cartridge/ballistics|is_SI_ballistics={{{is_SI_ballistics|}}}|bwx={{{bw5|}}}|bwunit={{{bwunit|}}}|bwround={{{bwround|0}}}|btypex={{{btype5|}}}|velx={{{vel5|}}}|enx={{{en5|}}}|isnotlast={{{test_barrel_length|}}}{{{balsrc|}}}
}}{{Infobox firearm cartridge/ballistics|is_SI_ballistics={{{is_SI_ballistics|}}}|bwx={{{bw5|}}}|bwunit={{{bwunit|}}}|bwround={{{bwround|0}}}|btypex={{{btype5|}}}|velx={{{vel5|}}}|enx={{{en5|}}}|isnotlast={{{test_barrel_length|}}}{{{balsrc|}}}
}}{{Infobox firearm cartridge/ballistics footer}}}}
}}{{Infobox firearm cartridge/ballistics footer}}}}
| belowstyle = text-align: center; padding-top: 5px; font-size: 90%; font-style:italic;
| belowstyle = text-align: center; padding-top: 5px; font-size: 90%;
| below = {{#if:{{{bw1|}}}{{{bw2|}}}{{{bw3|}}}{{{bw4|}}}{{{bw5|}}}|{{#if:{{{test_barrel_length|}}}{{{balsrc|}}}
| below = {{#if:{{{bw1|}}}{{{bw2|}}}{{{bw3|}}}{{{bw4|}}}{{{bw5|}}}|{{#if:{{{test_barrel_length|}}}{{{balsrc|}}}
|{{br separated entries
|{{br separated entries
| 1 = {{#if:{{{test_barrel_length|}}}|Test barrel length: {{{test_barrel_length|}}}}}
| 1 = {{#if:{{{test_barrel_length|}}}|''Test barrel length: {{{test_barrel_length|}}}''}}
| 2 = {{#if:{{{balsrc|}}}|Source(s): {{{balsrc|}}}}}
| 2 = {{#if:{{{balsrc|}}}|''Source(s): {{{balsrc|}}}''}}
}}
}}
}}}}
}}}}
}}<noinclude>{{documentation}}</noinclude>
}}{{#invoke:Check for unknown parameters|check|unknown={{main other|[[Category:Pages using infobox firearm cartridge with unknown parameters|_VALUE_{{PAGENAME}}]]}}|preview=Page using [[Template:Infobox firearm cartridge]] with unknown parameter "_VALUE_"|ignoreblank=y| alt | balsrc | base | base_ref | btype1 | btype2 | btype3 | btype4 | btype5 | bullet | bullet_ref | bw1 | bw2 | bw3 | bw4 | bw5 | bwround | bwunit | caption | case_capacity | case_capacity_ref | case_length | case_length_ref | case_type | design_date | designer | detonation | en1 | en2 | en3 | en4 | en5 | filling | filling_weight | image | image size | image_size | imagesize | is_SI_ballistics | is_SI_specs | land | land_ref | length | length_ref | manufacturer | max_cup | max_cup_ref | max_pressure | max_pressure_ref | max_pressure2 | max_pressure2_ref | max_pressure3 | max_pressure3_ref | name | neck | neck_ref | number | origin | parent | pressure_method | pressure_method2 | pressure_method3 | primer | production_date | rifling | rim_dia | rim_dia_ref | rim_thick | rim_thick_ref | service | shoulder | shoulder_ref | test_barrel_length | type | used_by | variants | vel1 | vel2 | vel3 | vel4 | vel5 | wars | yield }}<noinclude>{{documentation}}</noinclude>