Difference between revisions of "Template:Infobox weapon"
From Self-sufficiency
(Add parameter) |
(Update) |
||
Line 84: | Line 84: | ||
}} | }} | ||
|- | |- | ||
− | {{#if:{{{is_ranged|}}}| {{#if:{{{cartridge|}}}| | + | {{#if:{{{is_ranged|}}}{{{is_artillery|}}}| {{#if:{{{cartridge|}}}| |
− | ! style="text-align: left;" {{!}} [[Cartridge (firearms)|Cartridge]]: | + | ! style="text-align: left;" {{!}} {{#if:{{{is_artillery|}}}|[[Shell]]|[[Cartridge (firearms)|Cartridge]]}}: |
{{!}} {{{cartridge|}}} | {{!}} {{{cartridge|}}} | ||
}}}} | }}}} | ||
|- | |- | ||
− | {{#if:{{{is_ranged|}}}| {{#if:{{{caliber|}}}| | + | {{#if:{{{is_ranged|}}}{{{is_artillery|}}}| {{#if:{{{caliber|}}}| |
! style="text-align: left;" {{!}} [[Caliber]]: | ! style="text-align: left;" {{!}} [[Caliber]]: | ||
{{!}} {{{caliber|}}} | {{!}} {{{caliber|}}} | ||
Line 99: | Line 99: | ||
}}}} | }}}} | ||
|- | |- | ||
− | {{#if:{{{ | + | {{#if:{{{is_artillery|}}}| {{#if:{{{breech|}}}| |
! style="text-align: left;" {{!}} [[Breech]]: | ! style="text-align: left;" {{!}} [[Breech]]: | ||
{{!}} {{{breech|}}} | {{!}} {{{breech|}}} | ||
}}}} | }}}} | ||
|- | |- | ||
− | {{#if:{{{ | + | {{#if:{{{is_artillery|}}}| {{#if:{{{recoil|}}}| |
! style="text-align: left;" {{!}} [[Recoil]]: | ! style="text-align: left;" {{!}} [[Recoil]]: | ||
{{!}} {{{recoil|}}} | {{!}} {{{recoil|}}} | ||
}}}} | }}}} | ||
|- | |- | ||
− | {{#if:{{{ | + | {{#if:{{{is_artillery|}}}| {{#if:{{{carriage|}}}| |
! style="text-align: left;" {{!}} Carriage: | ! style="text-align: left;" {{!}} Carriage: | ||
{{!}} {{{carriage|}}} | {{!}} {{{carriage|}}} | ||
}}}} | }}}} | ||
|- | |- | ||
− | {{#if:{{{is_ranged|}}}| {{#if:{{{rate|}}}| | + | {{#if:{{{is_ranged|}}}{{{is_artillery|}}}| {{#if:{{{rate|}}}| |
! style="text-align: left;" {{!}} [[Rate of fire]]: | ! style="text-align: left;" {{!}} [[Rate of fire]]: | ||
{{!}} {{{rate|}}} | {{!}} {{{rate|}}} | ||
}}}} | }}}} | ||
|- | |- | ||
− | {{#if:{{{is_ranged|}}}| {{#if:{{{velocity|}}}| | + | {{#if:{{{is_ranged|}}}{{{is_artillery|}}}| {{#if:{{{velocity|}}}| |
! style="text-align: left;" {{!}} [[Muzzle velocity]]: | ! style="text-align: left;" {{!}} [[Muzzle velocity]]: | ||
{{!}} {{{velocity|}}} | {{!}} {{{velocity|}}} | ||
}}}} | }}}} | ||
|- | |- | ||
− | {{#if:{{{is_ranged|}}}{{{is_explosive|}}}| {{#if:{{{range|}}}| | + | {{#if:{{{is_ranged|}}}{{{is_explosive|}}}{{{is_artillery|}}}| {{#if:{{{range|}}}| |
! style="text-align: left;" {{!}} Effective range: | ! style="text-align: left;" {{!}} Effective range: | ||
{{!}} {{{range|}}} | {{!}} {{{range|}}} | ||
}}}} | }}}} | ||
|- | |- | ||
− | {{#if:{{{is_ranged|}}}{{{is_explosive|}}}| {{#if:{{{max_range|}}}| | + | {{#if:{{{is_ranged|}}}{{{is_explosive|}}}{{{is_artillery|}}}| {{#if:{{{max_range|}}}| |
! style="text-align: left;" {{!}} Maximum range: | ! style="text-align: left;" {{!}} Maximum range: | ||
{{!}} {{{max_range|}}} | {{!}} {{{max_range|}}} | ||
Line 139: | Line 139: | ||
}}}} | }}}} | ||
|- | |- | ||
− | {{#if:{{{is_ranged|}}}| {{#if:{{{sights|}}}| | + | {{#if:{{{is_ranged|}}}{{{is_artillery|}}}| {{#if:{{{sights|}}}| |
! style="text-align: left;" {{!}} Sights: | ! style="text-align: left;" {{!}} Sights: | ||
{{!}} {{{sights|}}} | {{!}} {{{sights|}}} |
Revision as of 13:14, 15 June 2006
Infobox weapon | |
---|---|
Type: | |
Place of origin: | |
Service history | |
Production history | |
Specifications |
Usage
{{Wikipedia:WikiProject Military history/Weapon infobox}}