模板:Infobox firearm cartridge

维基百科,自由的百科全书
文档图示 模板文档[查看] [编辑] [历史] [清除缓存]

用法

Firearm cartridge infobox[编辑]

{{{name}}}
[[File:{{{image}}}|{{{image_size}}}|alt={{{alt}}}|{{{alt}}}]]
{{{caption}}}
类型{{{type}}}
原产地{{{origin}}}
服役记录
服役期间{{{service}}}
使用方{{{used_by}}}
参与战争{{{wars}}}
生产历史
研发者{{{designer}}}
研发日期{{{design_date}}}
生产商{{{manufacturer}}}
生产日期{{{production_date}}}
制造数量{{{number}}}
衍生型{{{variants}}}
基本规格
前代弹系{{{parent}}}
弹壳类型{{{case_type}}}
弹头直径{{{bullet}}}
弹颈直径{{{neck}}}
弹肩直径{{{shoulder}}}
壳底直径{{{base}}}
底缘直径{{{rim_dia}}}
底缘厚度{{{rim_thick}}}
弹壳长度{{{case_length}}}
全长{{{length}}}
弹壳容量{{{case_capacity}}}
膛线缠距{{{rifling}}}
底火种类{{{primer}}}
最大压力({{{pressure_method}}}){{{max_pressure}}}
最大压力({{{pressure_method2}}}){{{max_pressure2}}}
最大压力({{{pressure_method3}}}){{{max_pressure3}}}
最大单位铜压单位铜压{{{max_cup}}}{{{max_cup_ref}}}
装药种类{{{filling}}}
装药量{{{filling_weight}}}
引爆机制{{{detonation}}}
爆发当量{{{yield}}}
弹道表现
弹头重量/种类 枪口初速 能量
{{{bw1}}} {{{btype1}}} {{{vel1}}} {{{en1}}}
{{{bw2}}} {{{btype2}}} {{{vel2}}} {{{en2}}}
{{{bw3}}} {{{btype3}}} {{{vel3}}} {{{en3}}}
{{{bw4}}} {{{btype4}}} {{{vel4}}} {{{en4}}}
{{{bw5}}} {{{btype5}}} {{{vel5}}} {{{en5}}}
测试枪管长度:{{{test_barrel_length}}}
来源:{{{balsrc}}}
{{Infobox firearm cartridge
| name = 
| image = 
| alt = 
| caption = 
| type = 
| origin = 
<!-- 服役历史 -->
| service = 
| used_by = 
| wars = 
<!--生产历史 -->
| designer = 
| design_date = 
| manufacturer = 
| production_date = 
| number = 
| variants = 
<!-- 基本规格-->
| is_SI_specs = 
| parent = 
| case_type = 
| bullet = 
| bullet_ref = 
| neck = 
| neck_ref = 
| shoulder = 
| shoulder_ref = 
| base = 
| base_ref = 
| rim_dia = 
| rim_dia_ref = 
| rim_thick = 
| rim_thick_ref = 
| case_length = 
| case_length_ref = 
| length = 
| length_ref = 
| case_capacity = 
| case_capacity_ref = 
| rifling = 
| primer = 
| max_pressure = 
| max_pressure_ref = 
| pressure_method = 
| max_pressure2 = 
| max_pressure2_ref = 
| pressure_method2 = 
| max_pressure3 = 
| max_pressure3_ref = 
| pressure_method3 = 
| max_cup = 
| max_cup_ref = 
| filling = 
| filling_weight = 
| detonation = 
| yield = 
<!-- 弹道表现 -->
| is_SI_ballistics = 
| bwunit = 
| bw1 = 
| btype1 = 
| vel1 = 
| en1 = 
| bw2 = 
| btype2 = 
| vel2 = 
| en2 = 
| bw3 = 
| btype3 = 
| vel3 = 
| en3 = 
| bw4 = 
| btype4 = 
| vel4 = 
| en4 = 
| bw5 = 
| btype5 = 
| vel5 = 
| en5 = 
| test_barrel_length = 
| balsrc = 
}}

“firearm cartridge infobox” 模版是为“枪弹”与“炮弹”版面统一设计,使用时请复制下方灰色框内文字加入欲编辑的页面顶端,切勿调整变数顺序、更改变数名称或是消除无资料变数,“无资料变数”在显示时会自动隐藏。

参数[编辑]

名称图像变数说明:

  • name —(必须填入)弹药正式名称。
  • image — 弹药图像,必须依照下列模式 [[File:圖像名稱.jpg|300px]]; 切勿使用“thumb” 。
  • caption — 图像说明。
  • origin —(必须填入)原产地。
  • type —(必须填入)类型(例如“手枪”、“步枪”、“猎枪”……) 。

使用记录变数说明:

  • service — 使用期间 (年分)。
  • used_by — 使用国。
  • wars — 参与的战役。

生产历史变数说明:

  • designer — 研发者。
  • design_date — 研发日期 (年分)。
  • manufacturer — 生产商。
  • production_date — 生产日期 (年分)。
  • variants — 衍生型。

规格变数说明:
规格变数以“毫米”或“英吋”为单位;输入数字即可(勿用千分号),模版会自动判断填入单位。

  • is_SI_specs — 度量单位为“公制”时填入“yes”;空白则为英制单位。
  • parent — 前代弹系。
  • case type弹壳类型(例如“有缘”、“无缘”、“直筒”、“缩口瓶型”……)。
  • bullet弹头直径,以“毫米”或“英吋”为单位;输入数字即可(勿用千分号),模版会自动判断填入单位。
  • neck — 弹颈直径。
  • shoulder — 弹肩直径。
  • base — 壳底直径。
  • rim_dia — 底缘直径。
  • rim_thick — 底缘厚度。
  • case_length — 弹壳长度。
  • length — 全长。
  • rifling膛线缠距。
  • primer — 底火种类(例如“大型手枪”、“小型步枪”、“底缘底火”……)。
  • filling — 装药种类,弹头内填炸药种类。
  • filling_weight — 装药量,弹头内填炸药重量。
  • detonation — 引爆方式,内填炸药之弹头引爆方式(例如“延时”、“压发”……)。
  • yield — 爆发当量,弹头内填炸药之爆发当量以“吨/TNT”为单位。

弹道表现变数说明:
输入数字即可(勿用千分号),模版会自动判断填入单位。
最多可输入五种不同弹头重量,单位可用“毫米”或“英吋”,但须统一。

  • is_SI_ballistics — 度量单位为“公制”时填入“yes”;空白则为英制单位。
  • bwx — 弹头重量, 度量单位为 Grain
    • btypex — 弹头类型(例如JHP、FMJ、BHP……)。
    • velx — 枪口初速,度量单位为m/s 或是 ft/s
    • enx — 枪口动能,度量单位为J或是ft·lbf
  • test_barrel_length — 测试枪枪管长度。
  • balsrc — 测试资讯来源。

示例[编辑]

.357 SIG
Comparison to other cartridges. .357 SIG third from left.
类型Pistol
原产地United States
生产历史
研发者SIGARMS/Federal Cartridge Co.
研发日期1994
基本规格
弹壳类型Rimless, bottleneck
弹头直径.355英寸(9.0 mm)
弹颈直径.381英寸(9.7 mm)
弹肩直径.424英寸(10.8 mm)
壳底直径.424英寸(10.8 mm)
底缘直径.424英寸(10.8 mm)
底缘厚度.055英寸(1.4 mm)
弹壳长度.865英寸(22.0 mm)
全长1.14英寸(29 mm)
底火种类Small pistol
弹道表现
弹头重量/种类 枪口初速 能量
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)
测试枪管长度:4 in
来源:Steve's 357 SIG Ballistic Page
{{Infobox firearm cartridge
| name = .357 SIG
| image = 9mm 7,62mm 357sig 10mm 45SW 45GAP 50AE 002.jpg
| image_size = 300px
| caption = Comparison to other cartridges.  .357 SIG third from left.
| type = Pistol
| origin = [[United States]]
| designer = [[SIGARMS]]/[[Federal Cartridge Company|Federal Cartridge Co.]]
| design_date = 1994
| parent = 
| case_type = Rimless, bottleneck
| bullet = .355
| neck = .381
| shoulder = .424
| base = .424
| rim_dia = .424
| rim_thick = .055
| case_length = .865
| length = 1.14
| rifling = 
| primer = Small pistol
| bw1 = 115
| btype1 = [[Hollow point bullet|BHP]]
| vel1 = 1564
| en1 = 624
| bw2 = 124
| btype2 = [[Hollow point bullet|JHP]]
| vel2 = 1329
| en2 = 486
| bw3 = 125
| btype3 = JHP
| vel3 = 1299
| en3 = 468
| bw4 = 147
| btype4 = JHP
| vel4 = 1186
| en4 = 459
| bw5 = 150
| btype5 = JHP
| vel5 = 1130
| en5 = 425
| test_barrel_length = 4 in
| balsrc = [http://stevespages.com/page8f357sig.html Steve's 357 SIG Ballistic Page]
}}

Microformat[编辑]

此模板生成的HTML标记包含了hProduct微格式,能够让电脑解析产品的详情,便于维基百科自动地,或经由浏览器工具人工地将该条目编入搜索引擎所需的索引。关于维基百科中微格式的更多使用资讯,请参阅维基百科的微格式专题

如果产品有URL,请使用 {{Url}}。

hProduct使用的HTML class包括:

  • brand
  • category
  • description
  • fn
  • hproduct
  • identifier
  • listing
  • photo
  • price
  • review
  • type
  • url
  • url
  • value

请勿重新命名或移除这些class和使用这些参数的collapse nested elements。