Difference between revisions of "Template:Infobox weapon"

From Self-sufficiency
Jump to: navigation, search
(Clean up a bit)
(Simplify line code)
Line 106: Line 106:
 
}}
 
}}
 
|-
 
|-
{{#if:{{{is_ranged|}}}{{{is_artillery|}}}| {{#if:{{{cartridge|}}}{{{caliber|}}}{{{action|}}}{{{rate|}}}{{{velocity|}}}{{{range|}}}{{{max_range|}}}{{{feed|}}}{{{sights|}}}{{{breech|}}}{{{recoil|}}}{{{carriage|}}}{{{elevation|}}}{{{traverse|}}} |
+
{{#if:{{{weight|}}}{{{length|}}}{{{part_length|}}}{{{width|}}}{{{height|}}}{{{diameter|}}}{{{crew|}}}|
 +
{{#if:{{{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" {{!}} <hr/>
 
{{!}} colspan="2" {{!}} <hr/>
 
}}}}
 
}}}}
Line 178: Line 179:
 
! style="padding-right: 1em;" {{!}} Sights
 
! style="padding-right: 1em;" {{!}} Sights
 
{{!}} {{{sights|}}}
 
{{!}} {{{sights|}}}
}}}}
 
|-
 
{{#if:{{{is_bladed|}}} | {{#if:{{{blade_type|}}}{{{hilt_type|}}}{{{sheath_type|}}}{{{head_type|}}}{{{haft_type|}}} |
 
{{!}} colspan="2" {{!}} <hr/>
 
 
}}}}
 
}}}}
 
|-
 
|-
Line 207: Line 204:
 
! style="padding-right: 1em;" {{!}} [[wikt:haft|Haft]]&nbsp;type
 
! style="padding-right: 1em;" {{!}} [[wikt:haft|Haft]]&nbsp;type
 
{{!}} {{{haft_type|}}}
 
{{!}} {{{haft_type|}}}
}}}}
 
|-
 
{{#if:{{{is_vehicle|}}}{{{is_missile|}}} | {{#if:{{{armour|}}}{{{engine|}}}{{{engine_power|}}}{{{primary_armament|}}}{{{secondary_armament|}}}{{{suspension|}}}{{{pw_ratio|}}}{{{speed|}}}{{{vehicle_range|}}}{{{guidance|}}}|
 
{{!}} colspan="2" {{!}} <hr/>
 
 
}}}}
 
}}}}
 
|-
 
|-
Line 256: Line 249:
 
! style="padding-right: 1em;" {{!}} Guidance<br>system
 
! style="padding-right: 1em;" {{!}} Guidance<br>system
 
{{!}} {{{guidance|}}}
 
{{!}} {{{guidance|}}}
}}}}
 
|-
 
{{#if:{{{is_explosive|}}}{{{is_missile|}}} | {{#if:{{{filling|}}}{{{filling_weight|}}}{{{detonation|}}}{{{yield|}}} |
 
{{!}} colspan="2" {{!}} <hr/>
 
 
}}}}
 
}}}}
 
|-
 
|-

Revision as of 18:30, 20 January 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