Difference between revisions of "Template:Infobox weapon"

From Self-sufficiency
Jump to: navigation, search
m (131 revisions from wikipedia:Template:Infobox weapon)
 
(46 intermediate revisions by 23 users not shown)
Line 1: Line 1:
 
<includeonly>{| {{WPMILHIST Infobox style|main_box}}
 
<includeonly>{| {{WPMILHIST Infobox style|main_box}}
|-
+
|- class="hproduct"
 
<!--------------------------Name, image, type, origin------------------------>
 
<!--------------------------Name, image, type, origin------------------------>
! colspan="2" {{WPMILHIST Infobox style|header_bar}} | {{{name|{{PAGENAME}}}}}
+
! class="fn" colspan="2" {{WPMILHIST Infobox style|header_bar}} | {{{name|{{PAGENAME}}}}}
 
|-
 
|-
 
{{#if:{{{image|}}} |
 
{{#if:{{{image|}}} |
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|}}}{{{boost|}}}{{{steering|}}}{{{transport|}}}{{{wingspan|}}}{{{crew|}}}{{{passengers|}}}{{{cartridge|}}}{{{cartridge_weight|}}}{{{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|}}}{{{depth|}}}{{{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 118: Line 118:
 
}}
 
}}
 
|-
 
|-
{{#if:{{{weight|}}}{{{length|}}}{{{part_length|}}}{{{width|}}}{{{height|}}}{{{diameter|}}}{{{crew|}}}|
+
{{#if:{{{passengers|}}} |
{{#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|}}}{{{filling|}}}{{{filling_weight|}}}{{{detonation|}}}{{{yield|}}}|
+
! style="padding-right: 1em;" {{!}} Passengers
 +
{{!}} {{{passengers|}}}
 +
}}
 +
|-
 +
{{#if:{{{weight|}}}{{{length|}}}{{{part_length|}}}{{{width|}}}{{{height|}}}{{{diameter|}}}{{{crew|}}}{{{passegers|}}}|
 +
{{#if:{{{cartridge|}}}{{{cartridge_weight|}}}{{{caliber|}}}{{{barrels|}}}{{{action|}}}{{{rate|}}}{{{velocity|}}}{{{range|}}}{{{max_range|}}}{{{feed|}}}{{{sights|}}}{{{breech|}}}{{{recoil|}}}{{{carriage|}}}{{{elevation|}}}{{{traverse|}}}{{{blade_type|}}}{{{hilt_type|}}}{{{sheath_type|}}}{{{head_type|}}}{{{haft_type|}}}{{{filling|}}}{{{filling_weight|}}}{{{detonation|}}}{{{yield|}}}|
 
{{!}} colspan="2" {{!}} <hr/>
 
{{!}} colspan="2" {{!}} <hr/>
 
}}}}
 
}}}}
Line 126: Line 131:
 
! style="padding-right: 1em;" {{!}} {{#if:{{{is_artillery|}}} | [[Shell (projectile)|Shell]]|[[Cartridge (firearms)|Cartridge]]}}
 
! style="padding-right: 1em;" {{!}} {{#if:{{{is_artillery|}}} | [[Shell (projectile)|Shell]]|[[Cartridge (firearms)|Cartridge]]}}
 
{{!}} {{{cartridge|}}}
 
{{!}} {{{cartridge|}}}
 +
}}}}
 +
|-
 +
{{#if:{{{is_ranged|}}}{{{is_artillery|}}} | {{#if:{{{cartridge_weight|}}} |
 +
! style="padding-right: 1em;" {{!}} {{#if:{{{is_artillery|}}} | [[Shell (projectile)|Shell]]|[[Cartridge (firearms)|Cartridge]]}} weight
 +
{{!}} {{{cartridge_weight|}}}
 
}}}}
 
}}}}
 
|-
 
|-
Line 131: Line 141:
 
! style="padding-right: 1em;" {{!}} {{#if:{{{is_UK|}}} | [[Caliber|Calibre]] | [[Caliber]]}}
 
! style="padding-right: 1em;" {{!}} {{#if:{{{is_UK|}}} | [[Caliber|Calibre]] | [[Caliber]]}}
 
{{!}} {{{caliber|}}}
 
{{!}} {{{caliber|}}}
 +
}}}}
 +
|-
 +
{{#if:{{{is_ranged|}}}{{{is_artillery|}}} | {{#if:{{{barrels|}}} |
 +
! style="padding-right: 1em;" {{!}} Barrels
 +
{{!}} {{{barrels|}}}
 
}}}}
 
}}}}
 
|-
 
|-
Line 139: Line 154:
 
|-
 
|-
 
{{#if:{{{is_artillery|}}} | {{#if:{{{breech|}}} |
 
{{#if:{{{is_artillery|}}} | {{#if:{{{breech|}}} |
! style="padding-right: 1em;" {{!}} [[Breech]]
+
! style="padding-right: 1em;" {{!}} [[Breech-loading weapon|Breech]]
 
{{!}} {{{breech|}}}
 
{{!}} {{{breech|}}}
 
}}}}
 
}}}}
Line 204: Line 219:
 
|-
 
|-
 
{{#if:{{{is_bladed|}}} | {{#if:{{{sheath_type|}}} |
 
{{#if:{{{is_bladed|}}} | {{#if:{{{sheath_type|}}} |
! style="padding-right: 1em;" {{!}} [[Scabbard]]/[[sheath]]
+
! style="padding-right: 1em;" {{!}} [[Scabbard]]/[[Scabbard|sheath]]
 
{{!}} {{{sheath_type|}}}
 
{{!}} {{{sheath_type|}}}
 
}}}}
 
}}}}
Line 238: Line 253:
 
}}}}
 
}}}}
 
|-
 
|-
{{#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|}}}{{{boost|}}}{{{steering|}}}{{{transport|}}}{{{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 248: Line 263:
 
|-
 
|-
 
{{#if:{{{is_vehicle|}}} | {{#if:{{{primary_armament|}}} |
 
{{#if:{{{is_vehicle|}}} | {{#if:{{{primary_armament|}}} |
! style="padding-right: 1em; line-height: 11pt;" {{!}} Primary<br/>armament
+
! style="padding-right: 1em; line-height: 11pt;" {{!}} Main<br/>armament
 
{{!}} {{{primary_armament|}}}
 
{{!}} {{{primary_armament|}}}
 
}}}}
 
}}}}
Line 285: Line 300:
 
! 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 295: Line 320:
 
! 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 ceiling
 +
{{!}} {{{ceiling|}}}
 +
}}}}
 +
|-
 +
{{#if:{{{is_missile|}}} | {{#if:{{{altitude|}}} |
 +
! style="padding-right: 1em;" {{!}} Flight altitude
 +
{{!}} {{{altitude|}}}
 +
}}}}
 +
|-
 +
{{#if:{{{is_missile|}}} | {{#if:{{{boost|}}} |
 +
! style="padding-right: 1em;" {{!}} Boost time
 +
{{!}} {{{boost|}}}
 +
}}}}
 +
|-
 +
{{#if:{{{is_missile|}}} | {{#if:{{{depth|}}} |
 +
! style="padding-right: 1em;" {{!}} Maximum depth
 +
{{!}} {{{depth|}}}
 
}}}}
 
}}}}
 
|-
 
|-
Line 305: Line 350:
 
! style="padding-right: 1em; line-height: 11pt;" {{!}} Guidance<br/>system
 
! style="padding-right: 1em; line-height: 11pt;" {{!}} Guidance<br/>system
 
{{!}} {{{guidance|}}}
 
{{!}} {{{guidance|}}}
 +
}}}}
 +
|-
 +
{{#if:{{{is_vehicle|}}}{{{is_missile|}}} | {{#if:{{{steering|}}} |
 +
! style="padding-right: 1em; line-height: 11pt;" {{!}} Steering<br/>system
 +
{{!}} {{{steering|}}}
 +
}}}}
 +
|-
 +
{{#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|}}}
 +
}}}}
 +
|-
 +
{{#if:{{{is_missile|}}} | {{#if:{{{transport|}}} |
 +
! style="padding-right: 1em;" {{!}} Transport
 +
{{!}} {{{transport|}}}
 
}}}}
 
}}}}
 
|}</includeonly><noinclude>
 
|}</includeonly><noinclude>
{{Wikipedia:WikiProject Military history/Weapon infobox}}
+
{{Pp-template|small=yes}}
 
+
{{Documentation}}
 
+
<!--Categories-->
+
[[Category:Weapon infobox templates|Weapon]]
+
[[Category:Templates using ParserFunctions|Infobox Weapon]]
+
 
+
<!--Other languages-->
+
[[ar:قالب:Infobox Weapon]]
+
[[de:Vorlage:Infobox Handfeuerwaffe]]
+
[[es:Plantilla:Infobox Arma de fuego]]
+
[[fr:Modèle:Infobox Arme à feu]]
+
[[it:Template:Infobox Arma da fuoco]]
+
[[hu:Sablon:Lőfegyver infobox]]
+
[[ms:Templat:Infobox Weapon]]
+
[[ja:Template:銃器]]
+
[[sk:Šablóna:Infobox Zbraň]]
+
[[sl:Predloga:Infopolje Orožje]]
+
[[zh:Template:Infobox Weapon]]
+
 
</noinclude>
 
</noinclude>

Latest revision as of 12:08, 21 December 2011