Difference between revisions of "Template:Infobox weapon"

From Self-sufficiency
Jump to: navigation, search
m (Bot Updating template fields, {{tl|Template doc}})
(Add new parameters)
Line 79: Line 79:
 
|-
 
|-
 
<!------------------------------Specifications------------------------------->
 
<!------------------------------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|}}}{{{wingspan|}}}{{{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|}}}{{{ceiling|}}}{{{altitude|}}}{{{launch_platform|}}}{{{accuracy|}}}{{{propellant|}}}{{{filling|}}}{{{filling_weight|}}}{{{detonation|}}}{{{yield|}}}|
 
! colspan="2" {{WPMILHIST Infobox style|header_bar}} {{!}} Specifications {{#if:{{{spec_label|}}}|({{{spec_label}}})}}
 
! colspan="2" {{WPMILHIST Infobox style|header_bar}} {{!}} Specifications {{#if:{{{spec_label|}}}|({{{spec_label}}})}}
 
}}
 
}}
Line 243: Line 243:
 
}}}}
 
}}}}
 
|-
 
|-
{{#if:{{{is_vehicle|}}}{{{is_missile|}}} | {{#if:{{{armour|}}}{{{engine|}}}{{{engine_power|}}}{{{transmission|}}}{{{payload_capacity|}}}{{{fuel_capacity|}}}{{{clearance|}}}{{{primary_armament|}}}{{{secondary_armament|}}}{{{suspension|}}}{{{pw_ratio|}}}{{{speed|}}}{{{vehicle_range|}}}{{{guidance|}}}|
+
{{#if:{{{is_vehicle|}}}{{{is_missile|}}} | {{#if:{{{armour|}}}{{{wingspan|}}}{{{engine|}}}{{{engine_power|}}}{{{transmission|}}}{{{payload_capacity|}}}{{{fuel_capacity|}}}{{{clearance|}}}{{{primary_armament|}}}{{{secondary_armament|}}}{{{suspension|}}}{{{pw_ratio|}}}{{{speed|}}}{{{vehicle_range|}}}{{{guidance|}}}{{{ceiling|}}}{{{altitude|}}}{{{launch_platform|}}}{{{accuracy|}}}{{{propellant|}}}|
 
{{!}} colspan="2" {{!}} <hr/>  
 
{{!}} colspan="2" {{!}} <hr/>  
 
}}}}
 
}}}}
Line 290: Line 290:
 
! style="padding-right: 1em;" {{!}} Ground&nbsp;clearance
 
! style="padding-right: 1em;" {{!}} Ground&nbsp;clearance
 
{{!}} {{{clearance|}}}
 
{{!}} {{{clearance|}}}
 +
}}}}
 +
|-
 +
{{#if:{{{is_missile|}}} | {{#if:{{{wingspan|}}} |
 +
! style="padding-right: 1em;" {{!}} Wingspan
 +
{{!}} {{{wingspan|}}}
 +
}}}}
 +
|-
 +
{{#if:{{{is_missile|}}} | {{#if:{{{propellant|}}} |
 +
! style="padding-right: 1em;" {{!}} Propellant
 +
{{!}} {{{propellant|}}}
 
}}}}
 
}}}}
 
|-
 
|-
Line 300: Line 310:
 
! style="padding-right: 1em; line-height: 11pt;" {{!}} Operational<br/>range
 
! style="padding-right: 1em; line-height: 11pt;" {{!}} Operational<br/>range
 
{{!}} {{{vehicle_range|}}}
 
{{!}} {{{vehicle_range|}}}
 +
}}}}
 +
|-
 +
{{#if:{{{is_missile|}}} | {{#if:{{{ceiling|}}} |
 +
! style="padding-right: 1em;" {{!}} Flight<br/>ceiling
 +
{{!}} {{{ceiling|}}}
 +
}}}}
 +
|-
 +
{{#if:{{{is_missile|}}} | {{#if:{{{altitude|}}} |
 +
! style="padding-right: 1em;" {{!}} Flight<br/>altitude
 +
{{!}} {{{altitude|}}}
 
}}}}
 
}}}}
 
|-
 
|-
Line 310: Line 330:
 
! style="padding-right: 1em; line-height: 11pt;" {{!}} Guidance<br/>system
 
! style="padding-right: 1em; line-height: 11pt;" {{!}} Guidance<br/>system
 
{{!}} {{{guidance|}}}
 
{{!}} {{{guidance|}}}
 +
}}}}
 +
|-
 +
{{#if:{{{is_missile|}}} | {{#if:{{{accuracy|}}} |
 +
! style="padding-right: 1em;" {{!}} Accuracy
 +
{{!}} {{{accuracy|}}}
 +
}}}}
 +
|-
 +
{{#if:{{{is_missile|}}} | {{#if:{{{launch_platform|}}} |
 +
! style="padding-right: 1em;" {{!}} Launch<br/>platform
 +
{{!}} {{{launch_platform|}}}
 
}}}}
 
}}}}
 
|}</includeonly><noinclude>
 
|}</includeonly><noinclude>
 
{{Documentation, template}}
 
{{Documentation, template}}
 
</noinclude>
 
</noinclude>

Revision as of 20:47, 22 November 2007