Difference between revisions of "Template:Infobox weapon"
From Self-sufficiency
(Add fields) |
(+navigation comment aids in code, line-heights for wrapped subheadings, s for other subheadings) |
||
Line 1: | Line 1: | ||
<includeonly> | <includeonly> | ||
{| {{WPMILHIST Infobox style|main_box}} | {| {{WPMILHIST Infobox style|main_box}} | ||
− | |- | + | |- |
+ | <!--------------------------Name, image, type, origin------------------------> | ||
! colspan="2" {{WPMILHIST Infobox style|header_bar}} | {{{name|{{PAGENAME}}}}} | ! colspan="2" {{WPMILHIST Infobox style|header_bar}} | {{{name|{{PAGENAME}}}}} | ||
|- | |- | ||
Line 18: | Line 19: | ||
}} | }} | ||
|- | |- | ||
+ | <!------------------------------Service history------------------------------> | ||
{{#if:{{{service|}}}{{{used_by|}}}{{{wars|}}} | | {{#if:{{{service|}}}{{{used_by|}}}{{{wars|}}} | | ||
! colspan="2" {{WPMILHIST Infobox style|header_bar}} {{!}} Service history | ! colspan="2" {{WPMILHIST Infobox style|header_bar}} {{!}} Service history | ||
Line 23: | Line 25: | ||
|- | |- | ||
{{#if:{{{service|}}} | | {{#if:{{{service|}}} | | ||
− | ! style="padding-right: 1em;" {{!}} In service | + | ! style="padding-right: 1em;" {{!}} In service |
{{!}} {{{service|}}} | {{!}} {{{service|}}} | ||
}} | }} | ||
|- | |- | ||
{{#if:{{{used_by|}}} | | {{#if:{{{used_by|}}} | | ||
− | ! style="padding-right: 1em;" {{!}} Used by | + | ! style="padding-right: 1em;" {{!}} Used by |
{{!}} {{{used_by|}}} | {{!}} {{{used_by|}}} | ||
}} | }} | ||
Line 37: | Line 39: | ||
}} | }} | ||
|- | |- | ||
+ | <!----------------------------Production history-----------------------------> | ||
{{#if:{{{designer|}}}{{{design_date|}}}{{{manufacturer|}}}{{{production_date|}}}{{{number|}}}{{{variants|}}} | | {{#if:{{{designer|}}}{{{design_date|}}}{{{manufacturer|}}}{{{production_date|}}}{{{number|}}}{{{variants|}}} | | ||
! colspan="2" {{WPMILHIST Infobox style|header_bar}} {{!}} Production history | ! colspan="2" {{WPMILHIST Infobox style|header_bar}} {{!}} Production history | ||
Line 76: | Line 79: | ||
}} | }} | ||
|- | |- | ||
+ | <!------------------------------Specifications-------------------------------> | ||
{{#if:{{{weight|}}}{{{length|}}}{{{part_length|}}}{{{width|}}}{{{height|}}}{{{diameter|}}}{{{crew|}}}{{{cartridge|}}}{{{caliber|}}}{{{action|}}}{{{rate|}}}{{{velocity|}}}{{{range|}}}{{{max_range|}}}{{{feed|}}}{{{sights|}}}{{{breech|}}}{{{recoil|}}}{{{carriage|}}}{{{elevation|}}}{{{traverse|}}}{{{blade_type|}}}{{{hilt_type|}}}{{{sheath_type|}}}{{{head_type|}}}{{{haft_type|}}}{{{armour|}}}{{{engine|}}}{{{engine_power|}}}{{{primary_armament|}}}{{{secondary_armament|}}}{{{suspension|}}}{{{pw_ratio|}}}{{{speed|}}}{{{vehicle_range|}}}{{{guidance|}}}{{{filling|}}}{{{filling_weight|}}}{{{detonation|}}}{{{yield|}}}| | {{#if:{{{weight|}}}{{{length|}}}{{{part_length|}}}{{{width|}}}{{{height|}}}{{{diameter|}}}{{{crew|}}}{{{cartridge|}}}{{{caliber|}}}{{{action|}}}{{{rate|}}}{{{velocity|}}}{{{range|}}}{{{max_range|}}}{{{feed|}}}{{{sights|}}}{{{breech|}}}{{{recoil|}}}{{{carriage|}}}{{{elevation|}}}{{{traverse|}}}{{{blade_type|}}}{{{hilt_type|}}}{{{sheath_type|}}}{{{head_type|}}}{{{haft_type|}}}{{{armour|}}}{{{engine|}}}{{{engine_power|}}}{{{primary_armament|}}}{{{secondary_armament|}}}{{{suspension|}}}{{{pw_ratio|}}}{{{speed|}}}{{{vehicle_range|}}}{{{guidance|}}}{{{filling|}}}{{{filling_weight|}}}{{{detonation|}}}{{{yield|}}}| | ||
! colspan="2" {{WPMILHIST Infobox style|header_bar}} {{!}} Specifications | ! colspan="2" {{WPMILHIST Infobox style|header_bar}} {{!}} Specifications | ||
Line 156: | Line 160: | ||
|- | |- | ||
{{#if:{{{is_artillery|}}} | {{#if:{{{traverse|}}} | | {{#if:{{{is_artillery|}}} | {{#if:{{{traverse|}}} | | ||
− | ! style="padding-right: 1em;" {{!}} Traverse | + | ! style="padding-right: 1em;" {{!}} Traverse |
{{!}} {{{traverse|}}} | {{!}} {{{traverse|}}} | ||
}}}} | }}}} | ||
Line 221: | Line 225: | ||
|- | |- | ||
{{#if:{{{is_explosive|}}}{{{is_missile|}}} | {{#if:{{{filling_weight|}}} | | {{#if:{{{is_explosive|}}}{{{is_missile|}}} | {{#if:{{{filling_weight|}}} | | ||
− | ! style="padding-right: 1em;" {{!}} {{#if:{{{is_missile|}}}|Warhead|Filling}} weight | + | ! style="padding-right: 1em;" {{!}} {{#if:{{{is_missile|}}}|Warhead|Filling}} weight |
{{!}} {{{filling_weight|}}} | {{!}} {{{filling_weight|}}} | ||
}}}} | }}}} | ||
|- | |- | ||
{{#if:{{{is_explosive|}}}{{{is_missile|}}} | {{#if:{{{detonation|}}} | | {{#if:{{{is_explosive|}}}{{{is_missile|}}} | {{#if:{{{detonation|}}} | | ||
− | ! style="padding-right: 1em;" {{!}} Detonation<br>mechanism | + | ! style="padding-right: 1em; line-height: 11pt;" {{!}} Detonation<br/>mechanism |
{{!}} {{{detonation|}}} | {{!}} {{{detonation|}}} | ||
}}}} | }}}} | ||
Line 245: | Line 249: | ||
|- | |- | ||
{{#if:{{{is_vehicle|}}} | {{#if:{{{primary_armament|}}} | | {{#if:{{{is_vehicle|}}} | {{#if:{{{primary_armament|}}} | | ||
− | ! style="padding-right: 1em;" {{!}} Primary<br>armament | + | ! style="padding-right: 1em; line-height: 11pt;" {{!}} Primary<br/>armament |
{{!}} {{{primary_armament|}}} | {{!}} {{{primary_armament|}}} | ||
}}}} | }}}} | ||
|- | |- | ||
{{#if:{{{is_vehicle|}}} | {{#if:{{{secondary_armament|}}} | | {{#if:{{{is_vehicle|}}} | {{#if:{{{secondary_armament|}}} | | ||
− | ! style="padding-right: 1em;" {{!}} Secondary<br>armament | + | ! style="padding-right: 1em; line-height: 11pt;" {{!}} Secondary<br/>armament |
{{!}} {{{secondary_armament|}}} | {{!}} {{{secondary_armament|}}} | ||
}}}} | }}}} | ||
Line 265: | Line 269: | ||
|- | |- | ||
{{#if:{{{is_vehicle|}}} | {{#if:{{{payload_capacity|}}} | | {{#if:{{{is_vehicle|}}} | {{#if:{{{payload_capacity|}}} | | ||
− | ! style="padding-right: 1em;" {{!}} Payload capacity | + | ! style="padding-right: 1em;" {{!}} Payload capacity |
{{!}} {{{payload_capacity|}}} | {{!}} {{{payload_capacity|}}} | ||
}}}} | }}}} | ||
Line 280: | Line 284: | ||
|- | |- | ||
{{#if:{{{is_vehicle|}}} | {{#if:{{{clearance|}}} | | {{#if:{{{is_vehicle|}}} | {{#if:{{{clearance|}}} | | ||
− | ! style="padding-right: 1em;" {{!}} Ground clearance | + | ! style="padding-right: 1em;" {{!}} Ground clearance |
{{!}} {{{clearance|}}} | {{!}} {{{clearance|}}} | ||
}}}} | }}}} | ||
|- | |- | ||
{{#if:{{{is_vehicle|}}} | {{#if:{{{fuel_capacity|}}} | | {{#if:{{{is_vehicle|}}} | {{#if:{{{fuel_capacity|}}} | | ||
− | ! style="padding-right: 1em;" {{!}} Fuel capacity | + | ! style="padding-right: 1em;" {{!}} Fuel capacity |
{{!}} {{{fuel_capacity|}}} | {{!}} {{{fuel_capacity|}}} | ||
}}}} | }}}} | ||
|- | |- | ||
{{#if:{{{is_vehicle|}}}{{{is_missile|}}} | {{#if:{{{vehicle_range|}}} | | {{#if:{{{is_vehicle|}}}{{{is_missile|}}} | {{#if:{{{vehicle_range|}}} | | ||
− | ! style="padding-right: 1em;" {{!}} Operational<br>range | + | ! style="padding-right: 1em; line-height: 11pt;" {{!}} Operational<br/>range |
{{!}} {{{vehicle_range|}}} | {{!}} {{{vehicle_range|}}} | ||
}}}} | }}}} | ||
Line 300: | Line 304: | ||
|- | |- | ||
{{#if:{{{is_vehicle|}}}{{{is_missile|}}} | {{#if:{{{guidance|}}} | | {{#if:{{{is_vehicle|}}}{{{is_missile|}}} | {{#if:{{{guidance|}}} | | ||
− | ! style="padding-right: 1em;" {{!}} Guidance<br>system | + | ! style="padding-right: 1em; line-height: 11pt;" {{!}} Guidance<br/>system |
{{!}} {{{guidance|}}} | {{!}} {{{guidance|}}} | ||
}}}} | }}}} | ||
Line 306: | Line 310: | ||
{{Wikipedia:WikiProject Military history/Weapon infobox}} | {{Wikipedia:WikiProject Military history/Weapon infobox}} | ||
+ | |||
+ | <!--Categories--> | ||
[[Category:Weapon infobox templates|Weapon]] | [[Category:Weapon infobox templates|Weapon]] | ||
[[Category:Templates using ParserFunctions|Infobox Weapon]] | [[Category:Templates using ParserFunctions|Infobox Weapon]] | ||
+ | <!--Other languages--> | ||
[[de:Vorlage:Infobox_Handfeuerwaffe]] | [[de:Vorlage:Infobox_Handfeuerwaffe]] | ||
[[fr:Modèle:Infobox Arme à feu]] | [[fr:Modèle:Infobox Arme à feu]] |
Revision as of 18:51, 22 May 2007
{{Wikipedia:WikiProject Military history/Weapon infobox}}de:Vorlage:Infobox_Handfeuerwaffe fr:Modèle:Infobox Arme à feu it:Template:Infobox Arma da fuoco ms:Template:Infobox Weapon sl:Predloga:Infopolje Orožje