Difference between revisions of "Template:Infobox weapon"
From Self-sufficiency
m (Added explanation) |
(Rework into new template) |
||
Line 1: | Line 1: | ||
− | {| class="infobox" style="width: | + | {| class="infobox" style="width: 315px; border-spacing: 2px; " |
− | |- style=" | + | |- |
− | ! style="text-align: left;" | | + | ! colspan="2" style="background: lightsteelblue; text-align: center;" | {{{name|{{PAGENAME}}}}} |
− | | {{{ | + | |- |
− | |- style=" | + | {{#if:{{{image|}}}| |
− | ! style="text-align: left;" | | + | {{!}} colspan="2" style="text-align: center; font-size: 90%;" {{!}} {{{image|}}}<br/>{{{caption|}}} |
− | | {{{ | + | }} |
− | |- style=" | + | |- |
− | ! style="text-align: left;" | + | ! style="text-align: left;" | Type: |
− | + | | {{{type|}}} | |
− | |- style=" | + | |- |
− | ! style="text-align: left;" | + | ! style="text-align: left;" | Country of origin: |
− | + | | {{{country|}}} | |
− | |- style=" | + | |- |
− | ! style="text-align: left;" | | + | ! style="text-align: left;" | Designer: |
− | | {{{ | + | | {{{designer|}}} |
− | |- style=" | + | |- |
− | ! style="text-align: left;" | | + | ! colspan="2" style="background: lightsteelblue;" | Service history |
− | | {{{ | + | |- |
− | |} | + | {{#if:{{{service_date|}}}| |
− | + | ! style="text-align: left;" {{!}} Dates of service: | |
− | + | {{!}} {{{service_date|}}} | |
− | {| | + | }} |
− | |- style=" | + | |- |
− | ! style="text-align: left;" | + | {{#if:{{{service_force|}}}| |
− | + | ! style="text-align: left;" {{!}} Forces of service: | |
− | |- style=" | + | {{!}} {{{service_force|}}} |
− | ! style="text-align: left;" | + | }} |
− | + | |- | |
− | |- style=" | + | {{#if:{{{wars|}}}| |
− | ! style="text-align: left;" | + | ! style="text-align: left;" {{!}} Wars: |
− | + | {{!}} {{{wars|}}} | |
− | |- style=" | + | }} |
− | ! style="text-align: left;" | + | |- |
− | + | ! colspan="2" style="background: lightsteelblue;" | Production history | |
− | |- style=" | + | |- |
− | ! style="text-align: left;" | + | ! style="text-align: left;" | Manufacturer: |
− | + | | {{{manufacturer|}}} | |
− | |- style=" | + | |- |
− | ! style="text-align: left;" | + | {{#if:{{{design_date|}}}| |
− | + | ! style="text-align: left;" {{!}} Date of design: | |
− | |} | + | {{!}} {{{design_date|}}} |
− | + | }} | |
− | + | |- | |
+ | {{#if:{{{production_date|}}}| | ||
+ | ! style="text-align: left;" {{!}} Dates of production: | ||
+ | {{!}} {{{production_date|}}} | ||
+ | }} | ||
+ | |- | ||
+ | {{#if:{{{variants|}}}| | ||
+ | ! style="text-align: left;" {{!}} Variants: | ||
+ | {{!}} {{{variants|}}} | ||
+ | }} | ||
+ | |- | ||
+ | {{#if:{{{number|}}}| | ||
+ | ! style="text-align: left;" {{!}} Number built: | ||
+ | {{!}} {{{number|}}} | ||
+ | }} | ||
+ | |- | ||
+ | ! colspan="2" style="background: lightsteelblue;" | Specifications | ||
+ | |- | ||
+ | {{#if:{{{cartridge|}}}| | ||
+ | ! style="text-align: left;" {{!}} Cartridge: | ||
+ | {{!}} {{{cartridge|}}} | ||
+ | }} | ||
+ | |- | ||
+ | {{#if:{{{action|}}}| | ||
+ | ! style="text-align: left;" {{!}} Action: | ||
+ | {{!}} {{{action|}}} | ||
+ | }} | ||
+ | |- | ||
+ | {{#if:{{{rate|}}}| | ||
+ | ! style="text-align: left;" {{!}} Rate of fire: | ||
+ | {{!}} {{{rate|}}} | ||
+ | }} | ||
+ | |- | ||
+ | {{#if:{{{velocity|}}}| | ||
+ | ! style="text-align: left;" {{!}} Muzzle velocity: | ||
+ | {{!}} {{{velocity|}}} | ||
+ | }} | ||
+ | |- | ||
+ | {{#if:{{{range|}}}| | ||
+ | ! style="text-align: left;" {{!}} Effective range: | ||
+ | {{!}} {{{range|}}} | ||
+ | }} | ||
+ | |- | ||
+ | {{#if:{{{max_range|}}}| | ||
+ | ! style="text-align: left;" {{!}} Maximum range: | ||
+ | {{!}} {{{max_range|}}} | ||
+ | }} | ||
+ | |- | ||
+ | {{#if:{{{weight|}}}| | ||
+ | ! style="text-align: left;" {{!}} Weight: | ||
+ | {{!}} {{{weight|}}} | ||
+ | }} | ||
+ | |- | ||
+ | {{#if:{{{length|}}}| | ||
+ | ! style="text-align: left;" {{!}} Length: | ||
+ | {{!}} {{{length|}}} | ||
+ | }} | ||
+ | |- | ||
+ | {{#if:{{{barrel_length|}}}| | ||
+ | ! style="text-align: left;" {{!}} Barrel length: | ||
+ | {{!}} {{{barrel_length|}}} | ||
+ | }} | ||
+ | |- | ||
+ | {{#if:{{{feed|}}}| | ||
+ | ! style="text-align: left;" {{!}} Feed system: | ||
+ | {{!}} {{{feed|}}} | ||
+ | }} | ||
+ | |- | ||
+ | {{#if:{{{sights|}}}| | ||
+ | ! style="text-align: left;" {{!}} Sights: | ||
+ | {{!}} {{{sights|}}} | ||
+ | }} | ||
+ | |- | ||
+ | |}<noinclude> {{clear}} | ||
+ | [[Category:Infobox templates|Weapon]] | ||
+ | [[Category:Templates using ParserFunctions|{{PAGENAME}}]] | ||
+ | </noinclude> |
Revision as of 04:55, 12 June 2006
Infobox weapon | |
---|---|
Type: | |
Country of origin: | |
Designer: | |
Service history | |
Production history | |
Manufacturer: | |
Specifications |