Difference between revisions of "Template:Infobox weapon"
From Self-sufficiency
(Update) |
(More fields) |
||
Line 15: | Line 15: | ||
! colspan="2" style="background: lightsteelblue;" | Service history | ! colspan="2" style="background: lightsteelblue;" | Service history | ||
|- | |- | ||
− | {{#if:{{{ | + | {{#if:{{{service|}}}| |
− | ! style="text-align: left;" {{!}} | + | ! style="text-align: left;" {{!}} Service duration: |
− | {{!}} {{{ | + | {{!}} {{{service|}}} |
}} | }} | ||
|- | |- | ||
− | {{#if:{{{ | + | {{#if:{{{used_by|}}}| |
− | ! style="text-align: left;" {{!}} | + | ! style="text-align: left;" {{!}} Used by: |
− | {{!}} {{{ | + | {{!}} {{{used_by|}}} |
}} | }} | ||
|- | |- | ||
Line 63: | Line 63: | ||
|- | |- | ||
! colspan="2" style="background: lightsteelblue;" | Specifications | ! colspan="2" style="background: lightsteelblue;" | Specifications | ||
+ | |- | ||
+ | {{#if:{{{weight|}}}| | ||
+ | ! style="text-align: left;" {{!}} Weight: | ||
+ | {{!}} {{{weight|}}} | ||
+ | }} | ||
+ | |- | ||
+ | {{#if:{{{length|}}}| | ||
+ | ! style="text-align: left;" {{!}} Length: | ||
+ | {{!}} {{{length|}}} | ||
+ | }} | ||
+ | |- | ||
+ | {{#if:{{{part_length|}}}| | ||
+ | ! style="text-align: left;" {{!}} {{#if:{{{is_ranged|}}}|Barrel|{{#if:{{{is_bladed|}}}|Blade}}}} length: | ||
+ | {{!}} {{{part_length|}}} | ||
+ | }} | ||
+ | |- | ||
+ | {{#if:{{{crew|}}}| | ||
+ | ! style="text-align: left;" {{!}} Crew: | ||
+ | {{!}} {{{crew|}}} | ||
+ | }} | ||
|- | |- | ||
{{#if:{{{is_ranged|}}}| {{#if:{{{cartridge|}}}| | {{#if:{{{is_ranged|}}}| {{#if:{{{cartridge|}}}| | ||
! style="text-align: left;" {{!}} Cartridge: | ! style="text-align: left;" {{!}} Cartridge: | ||
{{!}} {{{cartridge|}}} | {{!}} {{{cartridge|}}} | ||
+ | }}}} | ||
+ | |- | ||
+ | {{#if:{{{is_ranged|}}}| {{#if:{{{caliber|}}}| | ||
+ | ! style="text-align: left;" {{!}} Caliber: | ||
+ | {{!}} {{{caliber|}}} | ||
}}}} | }}}} | ||
|- | |- | ||
Line 72: | Line 97: | ||
! style="text-align: left;" {{!}} Action: | ! style="text-align: left;" {{!}} Action: | ||
{{!}} {{{action|}}} | {{!}} {{{action|}}} | ||
+ | }}}} | ||
+ | |- | ||
+ | {{#if:{{{is_ranged|}}}| {{#if:{{{recoil|}}}| | ||
+ | ! style="text-align: left;" {{!}} Recoil: | ||
+ | {{!}} {{{recoil|}}} | ||
}}}} | }}}} | ||
|- | |- | ||
Line 84: | Line 114: | ||
}}}} | }}}} | ||
|- | |- | ||
− | {{#if:{{{is_ranged|}}}| {{#if:{{{range|}}}| | + | {{#if:{{{is_ranged|}}}{{{is_explosive|}}}| {{#if:{{{range|}}}| |
! style="text-align: left;" {{!}} Effective range: | ! style="text-align: left;" {{!}} Effective range: | ||
{{!}} {{{range|}}} | {{!}} {{{range|}}} | ||
}}}} | }}}} | ||
|- | |- | ||
− | {{#if:{{{is_ranged|}}}| {{#if:{{{max_range|}}}| | + | {{#if:{{{is_ranged|}}}{{{is_explosive|}}}| {{#if:{{{max_range|}}}| |
! style="text-align: left;" {{!}} Maximum range: | ! style="text-align: left;" {{!}} Maximum range: | ||
{{!}} {{{max_range|}}} | {{!}} {{{max_range|}}} | ||
}}}} | }}}} | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
|- | |- | ||
{{#if:{{{is_ranged|}}}| {{#if:{{{feed|}}}| | {{#if:{{{is_ranged|}}}| {{#if:{{{feed|}}}| | ||
Line 119: | Line 134: | ||
}}}} | }}}} | ||
|- | |- | ||
+ | {{#if:{{{is_bladed|}}}| {{#if:{{{blade_type|}}}| | ||
+ | ! style="text-align: left;" {{!}} [[Blade]] type: | ||
+ | {{!}} {{{blade_type|}}} | ||
+ | }}}} | ||
+ | |- | ||
+ | {{#if:{{{is_bladed|}}}| {{#if:{{{hilt_type|}}}| | ||
+ | ! style="text-align: left;" {{!}} [[Hilt]] type: | ||
+ | {{!}} {{{hilt_type|}}} | ||
+ | }}}} | ||
+ | |- | ||
+ | {{#if:{{{is_bladed|}}}| {{#if:{{{head_type|}}}| | ||
+ | ! style="text-align: left;" {{!}} Head type: | ||
+ | {{!}} {{{head_type|}}} | ||
+ | }}}} | ||
+ | |- | ||
+ | {{#if:{{{is_bladed|}}}| {{#if:{{{haft_type|}}}| | ||
+ | ! style="text-align: left;" {{!}} [[Haft]] type: | ||
+ | {{!}} {{{haft_type|}}} | ||
+ | }}}} | ||
+ | |- | ||
+ | {{#if:{{{is_explosive|}}}| {{#if:{{{filling|}}}| | ||
+ | ! style="text-align: left;" {{!}} Filling: | ||
+ | {{!}} {{{filling|}}} | ||
+ | }}}} | ||
+ | |- | ||
+ | {{#if:{{{is_explosive|}}}| {{#if:{{{filling_weight|}}}| | ||
+ | ! style="text-align: left;" {{!}} Filling weight: | ||
+ | {{!}} {{{filling_weight|}}} | ||
+ | }}}} | ||
+ | |- | ||
+ | {{#if:{{{is_explosive|}}}| {{#if:{{{detonation|}}}| | ||
+ | ! style="text-align: left;" {{!}} Detonation mechanism: | ||
+ | {{!}} {{{detonation|}}} | ||
+ | }}}} | ||
+ | |- | ||
+ | {{#if:{{{is_explosive|}}}| {{#if:{{{yield|}}}| | ||
+ | ! style="text-align: left;" {{!}} Blast yield: | ||
+ | {{!}} {{{yield|}}} | ||
+ | }}}} | ||
|}<noinclude> <div style="clear: both"></div> | |}<noinclude> <div style="clear: both"></div> | ||
== Usage == | == Usage == |
Revision as of 00:54, 15 June 2006
Infobox weapon | |
---|---|
Type: | |
Place of origin: | |
Service history | |
Production history | |
Specifications |
Usage
{{Wikipedia:WikiProject Military history/Weapon infobox}}