Jump to content

Template:Infobox firearm cartridge: Difference between revisions

From Wikipedia, the free encyclopedia
Content deleted Content added
Obersachsebot (talk | contribs)
 
(42 intermediate revisions by 18 users not shown)
Line 1: Line 1:
{{infobox
<includeonly>
{| {{WPMILHIST Infobox style|main_box}}
| bodystyle = {{WPMILHIST Infobox style|main_box_raw}}
|- class="hproduct"
| aboveclass = hproduct
! colspan="3" {{WPMILHIST Infobox style|header_bar}} | <span class="fn">{{{name|{{PAGENAME}}}}}</span>
| abovestyle = font-size: 110%; {{WPMILHIST Infobox style|header_color}}
| headerstyle = {{WPMILHIST Infobox style|header_color}}
|-
| imagestyle = border-bottom: 1px solid #aaa
{{#if:{{{image|}}} |
| labelstyle = padding-right: 1em
{{!}} colspan="3" {{WPMILHIST Infobox style|image_box}} {{!}} {{{image|}}}<br/>{{{caption|}}}

}}
| above = <includeonly><span class="fn">{{{name|{{PAGENAMEBASE}}}}}</span></includeonly>
|-

! style="padding-right: 1em;" | Type
| image = {{#invoke:InfoboxImage|InfoboxImage|image={{{image|}}}|size={{{image size|{{{image_size|{{{imagesize|}}}}}}}}}|alt={{{alt|}}}}}
| colspan="2" | {{{type|}}}
| caption = {{{caption|}}}
|-
| decat = {{#if: {{{image|}}}{{{bw1|}}}{{{bw2|}}}{{{bw3|}}}{{{bw4|}}}{{{bw5|}}} | yes | no }} <!-- suppress "no data rows" if image or ballistics table is used -->
! style="padding-right: 1em;" | Place&nbsp;of&nbsp;origin

| colspan="2" | {{{origin|}}}
| label1 = Type
|-
| data1 = {{{type|}}}
{{#if:{{{service|}}}{{{used_by|}}}{{{wars|}}} |

! colspan="3" {{WPMILHIST Infobox style|header_bar}} {{!}} Service history
| label2 = Place&nbsp;of&nbsp;origin
}}
| data2 = {{{origin|}}}
|-

{{#if:{{{service|}}} |
| header3 = {{#if:{{{service|}}}{{{used_by|}}}{{{wars|}}} | Service history }}
! style="padding-right: 1em;" {{!}} In service

{{!}} colspan="2" {{!}} {{{service|}}}
| label4 = In service
}}
| data4 = {{{service|}}}
|-

{{#if:{{{used_by|}}} |
| label5 = Used by
! style="padding-right: 1em;" {{!}} Used by
{{!}} colspan="2" {{!}} {{{used_by|}}}
| data5 = {{{used_by|}}}

}}
| label6 = Wars
|-
{{#if:{{{wars|}}} |
| data6 = {{{wars|}}}

! style="padding-right: 1em;" {{!}} Wars
| header7 = {{#if:{{{designer|}}}{{{design_date|}}}{{{manufacturer|}}}{{{production_date|}}}{{{number|}}}{{{variants|}}} | Production history}}
{{!}} colspan="2" {{!}} {{{wars|}}}

}}
| label8 = Designer
|-
| data8 = {{{designer|}}}
{{#if:{{{designer|}}}{{{design_date|}}}{{{manufacturer|}}}{{{production_date|}}}{{{number|}}}{{{variants|}}} |

! colspan="3" {{WPMILHIST Infobox style|header_bar}} {{!}} Production history
| label9 = Designed
}}
| data9 = {{{design_date|}}}
|-

{{#if:{{{designer|}}} |
| label10 = Manufacturer
! style="padding-right: 1em;" {{!}} Designer
{{!}} colspan="2" {{!}} {{{designer|}}}
| data10 = {{{manufacturer|}}}

}}
| label11 = Produced
|-
| data11 = {{{production_date|}}}
{{#if:{{{design_date|}}} |

! style="padding-right: 1em;" {{!}} Designed
| label12 = {{abbr|No.|Number}}&nbsp;built
{{!}} colspan="2" {{!}} {{{design_date|}}}
| data12 = {{{number|}}}
}}

|-
| label13 = Variants
{{#if:{{{manufacturer|}}} |
| data13 = {{{variants|}}}
! style="padding-right: 1em;" {{!}} Manufacturer

{{!}} colspan="2" {{!}} {{{manufacturer|}}}
| 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&nbsp;case
{{#if:{{{production_date|}}} |
| data15 = {{{parent|}}}
! style="padding-right: 1em;" {{!}} Produced

{{!}} colspan="2" {{!}} {{{production_date|}}}
| label16 = Case&nbsp;type
}}
| data16 = {{{case_type|}}}
|-

{{#if:{{{number|}}} |
| label17 = Bullet&nbsp;diameter
! style="padding-right: 1em;" {{!}} Number&nbsp;built
| data17 = {{infobox firearm cartridge/convert|{{{bullet|}}}|in|mm|flip={{{is_SI_specs|}}}|ref={{{bullet_ref|}}}}}
{{!}} colspan="2" {{!}} {{{number|}}}

}}
| label18 = Land&nbsp;diameter
|-
| data18 = {{infobox firearm cartridge/convert|{{{land|}}}|in|mm|flip={{{is_SI_specs|}}}|ref={{{land_ref|}}}}}
{{#if:{{{variants|}}} |

! style="padding-right: 1em;" {{!}} Variants
| label19 = Neck&nbsp;diameter
{{!}} colspan="2" {{!}} {{{variants|}}}
| data19 = {{infobox firearm cartridge/convert|{{{neck|}}}|in|mm|flip={{{is_SI_specs|}}}|ref={{{neck_ref|}}}}}
}}

|-
| label20 = Shoulder&nbsp;diameter
{{#if:|{{{parent|}}}{{{case_type|}}}{{{bullet|}}}{{{neck|}}}{{{shoulder|}}}{{{base|}}}{{{rim_dia|}}}{{{rim_thick|}}}{{{case_length|}}}{{{length|}}}{{{rifling|}}}{{{primer|}}}{{{filling|}}}{{{filling_weight|}}}{{{detonation|}}}}{{{yield|}}}|
| data20 = {{infobox firearm cartridge/convert|{{{shoulder|}}}|in|mm|flip={{{is_SI_specs|}}}|ref={{{shoulder_ref|}}}}}
! colspan="3" {{WPMILHIST Infobox style|header_bar}} {{!}} Specifications

}}
| label21 = Base&nbsp;diameter
|-
| data21 = {{infobox firearm cartridge/convert|{{{base|}}}|in|mm|flip={{{is_SI_specs|}}}|ref={{{base_ref|}}}}}
{{#if:{{{parent|}}}|

! style="padding-right: 1em;" {{!}} Parent&nbsp;[[Casing (ammunition)|case]]
| label22 = Rim&nbsp;diameter
{{!}} colspan="2" {{!}} {{{parent}}}
| data22 = {{infobox firearm cartridge/convert|{{{rim_dia|}}}|in|mm|flip={{{is_SI_specs|}}}|ref={{{rim_dia_ref|}}}}}
}}

|-
| label23 = Rim&nbsp;thickness
{{#if:{{{case_type|}}}|
| data23 = {{infobox firearm cartridge/convert|{{{rim_thick|}}}|in|mm|flip={{{is_SI_specs|}}}|ref={{{rim_thick_ref|}}}}}
! style="padding-right: 1em;" {{!}} Case&nbsp;type

{{!}} colspan="2" {{!}} {{{case_type}}}
| label24 = Case&nbsp;length
}}
| data24 = {{infobox firearm cartridge/convert|{{{case_length|}}}|in|mm|flip={{{is_SI_specs|}}}|ref={{{case_length_ref|}}}}}
|-

{{#if:{{{bullet|}}}|
| label25 = Overall&nbsp;length
! style="padding-right: 1em;" {{!}} [[Bullet]]&nbsp;diameter
| data25 = {{infobox firearm cartridge/convert|{{{length|}}}|in|mm|flip={{{is_SI_specs|}}}|ref={{{length_ref|}}}}}
{{!}} colspan="2" {{!}} {{#ifeq:{{{is_SI_specs|}}}|yes|{{Infobox Firearm Cartridge/Convert|{{{bullet}}}|mm|in}}|{{Infobox Firearm Cartridge/Convert|{{{bullet}}}|in|mm}}}}

}}
| label26 = Case capacity
|-
| data26 = {{infobox firearm cartridge/convert|{{{case_capacity|}}}|gr water|cm3|flip={{{is_SI_specs|}}}|ref={{{case_capacity_ref|}}}|lk=in}}
{{#if:{{{neck|}}}|

! style="padding-right: 1em;" {{!}} Neck&nbsp;diameter
| label27 = Rifling&nbsp;twist
{{!}} colspan="2" {{!}} {{#ifeq:{{{is_SI_specs|}}}|yes|{{Infobox Firearm Cartridge/Convert|{{{neck}}}|mm|in}}|{{Infobox Firearm Cartridge/Convert|{{{neck}}}|in|mm}}}}
| data27 = {{{rifling|}}}
}}

|-
| label28 = Primer&nbsp;type
{{#if:{{{shoulder|}}}|
| data28 = {{{primer|}}}
! style="padding-right: 1em;" {{!}} Shoulder&nbsp;diameter

{{!}} colspan="2" {{!}} {{#ifeq:{{{is_SI_specs|}}}|yes|{{Infobox Firearm Cartridge/Convert|{{{shoulder}}}|mm|in}}|{{Infobox Firearm Cartridge/Convert|{{{shoulder}}}|in|mm}}}}
| label29 = Maximum pressure {{#if:{{{pressure_method|}}}|([[small arms ammunition pressure testing|{{{pressure_method|}}}]])}}
}}
| data29 = {{infobox firearm cartridge/convert|{{{max_pressure|}}}|psi|MPa|flip={{{is_SI_specs|}}}|ref={{{max_pressure_ref|}}}}}
|-

{{#if:{{{base|}}}|
| label30 = Maximum pressure ([[small arms ammunition pressure testing|{{{pressure_method2|}}}]])
! style="padding-right: 1em;" {{!}} Base&nbsp;diameter
{{!}} colspan="2" {{!}} {{#ifeq:{{{is_SI_specs|}}}|yes|{{Infobox Firearm Cartridge/Convert|{{{base}}}|mm|in}}|{{Infobox Firearm Cartridge/Convert|{{{base}}}|in|mm}}}}
| data30 = {{#if:{{{max_pressure2|}}}|{{infobox firearm cartridge/convert|{{{max_pressure2|}}}|psi|MPa|flip={{{is_SI_specs|}}}|ref={{{max_pressure2_ref|}}}}}}}

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

! style="padding-right: 1em;" {{!}} Rim&nbsp;diameter
| label32 = Maximum CUP
{{!}} colspan="2" {{!}} {{#ifeq:{{{is_SI_specs|}}}|yes|{{Infobox Firearm Cartridge/Convert|{{{rim_dia}}}|mm|in}}|{{Infobox Firearm Cartridge/Convert|{{{rim_dia}}}|in|mm}}}}
| data32 = {{#if:{{{max_cup|}}}|{{{max_cup}}} CUP{{{max_cup_ref|}}}}}
}}

|-
| label33 = Filling
{{#if:{{{rim_thick|}}}|
| data33 = {{{filling|}}}
! style="padding-right: 1em;" {{!}} Rim&nbsp;thickness

{{!}} colspan="2" {{!}} {{#ifeq:{{{is_SI_specs|}}}|yes|{{Infobox Firearm Cartridge/Convert|{{{rim_thick}}}|mm|in}}|{{Infobox Firearm Cartridge/Convert|{{{rim_thick}}}|in|mm}}}}
| label34 = Filling weight
}}
| data34 = {{{filling_weight|}}}
|-

{{#if:{{{case_length|}}}|
| label35 = Detonation<br />mechanism
! style="padding-right: 1em;" {{!}} Case&nbsp;length
| data35 = {{{detonation|}}}
{{!}} colspan="2" {{!}} {{#ifeq:{{{is_SI_specs|}}}|yes|{{Infobox Firearm Cartridge/Convert|{{{case_length}}}|mm|in}}|{{Infobox Firearm Cartridge/Convert|{{{case_length}}}|in|mm}}}}

}}
| label36 = Blast&nbsp;yield
|-
{{#if:{{{length|}}}|
| data36 = {{{yield|}}}

! style="padding-right: 1em;" {{!}} Overall&nbsp;length
| header37 = {{#if:{{{bw1|}}}{{{bw2|}}}{{{bw3|}}}{{{bw4|}}}{{{bw5|}}}|Ballistic performance}}
{{!}} colspan="2" {{!}} {{#ifeq:{{{is_SI_specs|}}}|yes|{{Infobox Firearm Cartridge/Convert|{{{length}}}|mm|in}}|{{Infobox Firearm Cartridge/Convert|{{{length}}}|in|mm}}}}
|
}}
|data38={{#if:{{{bw1|}}}{{{bw2|}}}{{{bw3|}}}{{{bw4|}}}{{{bw5|}}}|
|-
{{Infobox firearm cartridge/ballistics header}}
{{#if:{{{case_capacity|}}} |
{{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|}}}
! style="padding-right: 1em;" {{!}} Case capacity
}}{{Infobox firearm cartridge/ballistics|is_SI_ballistics={{{is_SI_ballistics|}}}|bwx={{{bw2|}}}|bwunit={{{bwunit|}}}|bwround={{{bwround|0}}}|btypex={{{btype2|}}}|velx={{{vel2|}}}|enx={{{en2|}}}|isnotlast={{{bw3|}}}{{{bw4|}}}{{{bw5|}}}{{{test_barrel_length|}}}{{{balsrc|}}}
{{!}} colspan="2" {{!}} {{#ifeq:{{{is_SI_specs|}}}|yes|{{{case_capacity}}} cm³ ({{#expr:{{{case_capacity}}}*15.432 round 0}} [[Grain (measure)|gr]] H2O)|{{{case_capacity}}} [[Grain (measure)|gr]] H2O ({{#expr:{{{case_capacity}}}*.065 round 3}} cm³)}}
}}{{Infobox firearm cartridge/ballistics|is_SI_ballistics={{{is_SI_ballistics|}}}|bwx={{{bw3|}}}|bwunit={{{bwunit|}}}|bwround={{{bwround|0}}}|btypex={{{btype3|}}}|velx={{{vel3|}}}|enx={{{en3|}}}|isnotlast={{{bw4|}}}{{{bw5|}}}{{{test_barrel_length|}}}{{{balsrc|}}}
}}
}}{{Infobox firearm cartridge/ballistics|is_SI_ballistics={{{is_SI_ballistics|}}}|bwx={{{bw4|}}}|bwunit={{{bwunit|}}}|bwround={{{bwround|0}}}|btypex={{{btype4|}}}|velx={{{vel4|}}}|enx={{{en4|}}}|isnotlast={{{bw5|}}}{{{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|}}}
{{#if:{{{rifling|}}}|
}}{{Infobox firearm cartridge/ballistics footer}}}}
! style="padding-right: 1em;" {{!}} [[Rifling]]&nbsp;twist
| belowstyle = text-align: center; padding-top: 5px; font-size: 90%; font-style:italic;
{{!}} colspan="2" {{!}} {{{rifling}}}
| below = {{#if:{{{bw1|}}}{{{bw2|}}}{{{bw3|}}}{{{bw4|}}}{{{bw5|}}}|{{#if:{{{test_barrel_length|}}}{{{balsrc|}}}
}}
|{{br separated entries
|-
| 1 = {{#if:{{{test_barrel_length|}}}|Test barrel length: {{{test_barrel_length|}}}}}
{{#if:{{{primer|}}}|
| 2 = {{#if:{{{balsrc|}}}|Source(s): {{{balsrc|}}}}}
! style="padding-right: 1em;" {{!}} [[Percussion cap|Primer]]&nbsp;type
}}
{{!}} colspan="2" {{!}} {{{primer}}}
}}
}}}}
}}{{#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>
|-
{{#if:{{{max_pressure|}}}|
! style="padding-right: 1em;" {{!}} Maximum pressure
{{!}} colspan="2" {{!}} {{#ifeq:{{{is_SI_specs|}}}|yes|{{Infobox Firearm Cartridge/Convert|{{{max_pressure}}}|MPa|psi}}|{{Infobox Firearm Cartridge/Convert|{{{max_pressure}}}|psi|MPa}}}}
}}
|-
{{#if:{{{max_cup|}}}|
! style="padding-right: 1em;" {{!}} Maximum [[Copper units of pressure|CUP]]
{{!}} colspan="2" {{!}} {{{max_cup}}} CUP
}}
|-
{{#if:{{{filling|}}} |
! style="padding-right: 1em;" {{!}} Filling
{{!}} colspan="2" {{!}} {{{filling|}}}
}}
|-
{{#if:{{{filling_weight|}}} |
! style="padding-right: 1em;" {{!}} Filling weight
{{!}} colspan="2" {{!}} {{{filling_weight|}}}
}}
|-
{{#if:{{{detonation|}}} |
! style="padding-right: 1em;" {{!}} Detonation<br>mechanism
{{!}} colspan="2" {{!}} {{{detonation|}}}
}}
|-
{{#if:{{{yield|}}} |
! style="padding-right: 1em;" {{!}} Blast&nbsp;yield
{{!}} colspan="2" {{!}} {{{yield|}}}
}}
|-
{{#if:{{{bw1|}}}{{{bw2|}}}{{{bw3|}}}{{{bw4|}}}{{{bw5|}}}|
! colspan="3" {{WPMILHIST Infobox style|header_bar}} {{!}} Ballistic performance
{{!}}- style="text-align: center; font-size: 90%; background: #DEDEDE;" cellspacing="0" cellpadding="0"
! Bullet weight/type
! Velocity
! Energy
{{!}}- style="text-align: center; font-size: 90%;"
{{#if:{{{bw1|}}}|
{{!}} {{Infobox Firearm Cartridge/Ballistics|is_SI_ballistics={{{is_SI_ballistics|}}}|bwx={{{bw1|}}}|bwunit={{{bwunit|}}}|btypex={{{btype1|}}}|velx={{{vel1|}}}|enx={{{en1|}}}|isnotlast={{{bw2}}}{{{bw3}}}{{{bw4}}}{{{bw5}}}{{{test_barrel_length}}}{{{balsrc}}}}}
}}
{{!}}- style="text-align: center; font-size: 90%;"
{{#if:{{{bw2|}}}|
{{!}} {{Infobox Firearm Cartridge/Ballistics|is_SI_ballistics={{{is_SI_ballistics|}}}|bwx={{{bw2|}}}|bwunit={{{bwunit|}}}|btypex={{{btype2|}}}|velx={{{vel2|}}}|enx={{{en2|}}}|isnotlast={{{bw3}}}{{{bw4}}}{{{bw5}}}{{{test_barrel_length}}}{{{balsrc}}}}}
}}
{{!}}- style="text-align: center; font-size: 90%;"
{{#if:{{{bw3|}}}|
{{!}} {{Infobox Firearm Cartridge/Ballistics|is_SI_ballistics={{{is_SI_ballistics|}}}|bwx={{{bw3|}}}|bwunit={{{bwunit|}}}|btypex={{{btype3|}}}|velx={{{vel3|}}}|enx={{{en3|}}}|isnotlast={{{bw4}}}{{{bw5}}}{{{test_barrel_length}}}{{{balsrc}}}}}
}}
{{!}}- style="text-align: center; font-size: 90%;"
{{#if:{{{bw4|}}}|
{{!}} {{Infobox Firearm Cartridge/Ballistics|is_SI_ballistics={{{is_SI_ballistics|}}}|bwx={{{bw4|}}}|bwunit={{{bwunit|}}}|btypex={{{btype4|}}}|velx={{{vel4|}}}|enx={{{en4|}}}|isnotlast={{{bw5}}}{{{test_barrel_length}}}{{{balsrc}}}}}
}}
{{!}}- style="text-align: center; font-size: 90%;"
{{#if:{{{bw5|}}}|
{{!}} {{Infobox Firearm Cartridge/Ballistics|is_SI_ballistics={{{is_SI_ballistics|}}}|bwx={{{bw5|}}}|bwunit={{{bwunit|}}}|btypex={{{btype5|}}}|velx={{{vel5|}}}|enx={{{en5|}}}|isnotlast={{{test_barrel_length|}}}{{{balsrc|}}}}}
}}
{{!}}-
{{#if:{{{test_barrel_length|}}}{{{balsrc|}}}|
{{!}} colspan="3" style="text-align: center; padding-top: 5px; font-size: 90%;" {{!}} {{#if:{{{test_barrel_length|}}}|''Test barrel length: {{{test_barrel_length|}}}''<br>}}{{#if:{{{balsrc|}}}|''Source: {{{balsrc|}}}''}}
}}
}}
|}</includeonly><noinclude>{{template doc}}[[ru:Шаблон:Infobox Firearm Cartridge]]
</noinclude>

Latest revision as of 22:31, 22 January 2023