模板: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。