Template:Infobox Weapon: Difference between revisions

From TEPwiki, Urth's Encyclopedia
Jump to navigation Jump to search
Content added Content deleted
nswiki>Grasmere
(Created page with "{{infobox weapon | name = | image = | image_size = | alt = | caption = | origin = <!-- Country name...")
 
nswiki>Grasmere
No edit summary
Line 1: Line 1:
{{infobox weapon
{{infobox
| bodyclass = vcard
| name =
| bodystyle = {{WPMILHIST Infobox style|main_box_raw}}
| image =

| image_size =
| aboveclass = hproduct
| alt =
| abovestyle = {{WPMILHIST Infobox style|header_raw}}
| caption =
| above = <includeonly> <span class="fn org"> {{{name|{{PAGENAME}}}}} </span> </includeonly>
| origin = <!-- Country name -->

| type =
| imagestyle = {{WPMILHIST Infobox style|image_box_raw}}
<!-- Type selection -->
| image = {{#invoke:InfoboxImage|InfoboxImage|image={{{image|}}}|size={{{image_size|}}}|sizedefault=frameless|alt={{{alt|}}}}}
| is_ranged =
| caption = {{{caption|}}}
| is_bladed =

| is_explosive =
| labelstyle = padding-right:1em
| is_artillery =
| headerstyle = {{WPMILHIST Infobox style|header_raw}}
| is_vehicle =

| is_missile =
| label1 = Type
| is_UK =
| data1 = {{{type|}}}
<!-- Service history -->

| service =
| label2 = Place&nbsp;of&nbsp;origin
| used_by =
| data2 = {{{origin|}}}
| wars =

<!-- Production history -->
| header3 = {{#if:{{{service|}}}{{{used_by|}}}{{{wars|}}}| Service history}}
| designer =

| design_date =
| label4 = In&nbsp;service
| manufacturer =
| data4 = {{{service|}}}
| unit_cost =

| production_date =
| number =
| label5 = Used&nbsp;by
| data5 = {{{used_by|}}}
| variants =

<!-- General specifications -->
| spec_label =
| label6 = Wars
| data6 = {{{wars|}}}
| weight = {{convert|123|kg|lb|abbr=on}}

| length = {{convert|123|cm|in|abbr=on}}
| header7 = {{#if:{{{designer|}}}{{{design_date|}}}{{{manufacturer|}}}{{{unit_cost|}}}{{{production_date|}}}{{{number|}}}{{{variants|}}}| Production history }}
| part_length = {{convert|123|cm|in|abbr=on}}

| width =
| height =
| label8 = Designer
| data8 = {{{designer|}}}
| diameter =

| crew =
| passengers =
| label9 = Designed
| data9 = {{{design_date|}}}
<!-- Ranged weapon specifications -->

| cartridge =
| label10 = Manufacturer
| cartridge_weight =
| data10 = {{{manufacturer|}}}
| caliber =

| barrels =
| label11 = Unit&nbsp;cost
| action =
| data11 = {{{unit_cost|}}}
| rate =

| velocity = {{convert|123|m/s|ft/s}}
| label12 = Produced
| range = {{convert|123|m|yd}}
| data12 = {{{production_date|}}}
| max_range =

| feed =
| label13 = Number&nbsp;built
| sights =
| data13 = {{{number|}}}
<!-- Artillery specifications -->

| breech =
| label14 = Variants
| recoil =
| data14 = {{{variants|}}}
| carriage =

| elevation =
| header15 = {{#if:{{{weight|}}}{{{length|}}}{{{part_length|}}}{{{width|}}}{{{height|}}}{{{diameter|}}}{{{crew|}}}{{{passengers|}}}{{{cartridge|}}}{{{cartridge_weight|}}}{{{caliber|}}}{{{barrels|}}}{{{action|}}}{{{breech|}}}{{{recoil|}}}{{{carriage|}}}{{{elevation|}}}{{{traverse|}}}{{{rate|}}}{{{velocity|}}}{{{range|}}}{{{max_range|}}}{{{feed|}}}{{{sights|}}}{{{blade_type|}}}{{{hilt_type|}}}{{{sheath_type|}}}{{{head_type|}}}{{{haft_type|}}}{{{filling|}}}{{{filling_weight|}}}{{{detonation|}}}{{{yield|}}}{{{armour|}}}{{{primary_armament|}}}{{{secondary_armament|}}}{{{engine|}}}{{{engine_power|}}}{{{pw_ratio|}}}{{{payload_capacity|}}}{{{transmission|}}}{{{suspension|}}}{{{clearance|}}}{{{wingspan|}}}{{{propellant|}}}{{{fuel_capacity|}}}{{{vehicle_range|}}}{{{ceiling|}}}{{{altitude|}}}{{{boost|}}}{{{depth|}}}{{{speed|}}}{{{guidance|}}}{{{steering|}}}{{{accuracy|}}}{{{launch_platform|}}}{{{transport|}}}| Specifications {{#if:{{{spec_label|}}}| ({{{spec_label}}})}} }}
| traverse =

<!-- Bladed weapon specifications -->
| blade_type =
| label16 = Weight
| data16 = {{{weight|}}}
| hilt_type =

| sheath_type =
| head_type =
| label17 = Length
| data17 = {{{length|}}}
| haft_type =

<!-- Explosive specifications -->
| label18 = {{#if:{{{is_ranged|}}}{{{is_artillery|}}}| [[Gun barrel|Barrel]]|{{#if:{{{is_bladed|}}}| Blade}}}}&nbsp;length
| filling =
| data18 = {{{part_length|}}}
| filling_weight =

| detonation =
| label19 = Width
| yield =
| data19 = {{{width|}}}
<!-- Vehicle/missile specifications -->

| armour =
| label20 = Height
| primary_armament =
| data20 = {{{height|}}}
| secondary_armament =

| engine =
| label21 = Diameter
| engine_power =
| data21 = {{{diameter|}}}
| pw_ratio =

| payload_capacity =
| transmission =
| label22 = Crew
| data22 = {{{crew|}}}
| suspension =

| clearance =
| label23 = Passengers
| fuel_capacity =
| data23 = {{{passengers|}}}
| vehicle_range =

| speed =
| data24 = {{#if:{{{weight|}}}{{{length|}}}{{{part_length|}}}{{{width|}}}{{{height|}}}{{{diameter|}}}{{{crew|}}}{{{passengers|}}}|
| guidance =
{{#if:{{{is_ranged|}}}{{{is_artillery|}}}{{{is_bladed|}}}{{{is_explosive|}}}|{{#if:{{{cartridge|}}}{{{cartridge_weight|}}}{{{caliber|}}}{{{barrels|}}}{{{action|}}}{{{breech|}}}{{{recoil|}}}{{{carriage|}}}{{{elevation|}}}{{{traverse|}}}{{{rate|}}}{{{velocity|}}}{{{range|}}}{{{max_range|}}}{{{feed|}}}{{{sights|}}}{{{blade_type|}}}{{{hilt_type|}}}{{{sheath_type|}}}{{{head_type|}}}{{{haft_type|}}}{{{filling|}}}{{{filling_weight|}}}{{{detonation|}}}{{{yield|}}}| <hr/> }}}}}}
| steering =

<!-- Missiles only -->
| label25 = {{#if:{{{is_artillery|}}}| [[Shell (projectile)|Shell]]|[[Cartridge (firearms)|Cartridge]]}}
| wingspan =
| data25 = {{#if:{{{is_ranged|}}}{{{is_artillery|}}}| {{{cartridge|}}} }}
| propellant =

| ceiling =
| label26 = {{#if:{{{is_artillery|}}}| [[Shell (projectile)|Shell]]|[[Cartridge (firearms)|Cartridge]]}} weight
| altitude =
| data26 = {{#if:{{{is_ranged|}}}{{{is_artillery|}}}| {{{cartridge_weight|}}} }}
| depth =

| boost =
| label27 = {{#if:{{{is_UK|}}}| [[Caliber|Calibre]] | [[Caliber]]}}
| accuracy =
| data27 = {{#if:{{{is_ranged|}}}{{{is_artillery|}}}| {{{caliber|}}} }}
| launch_platform =

| transport =
| label28 = Barrels
}}
| data28 = {{#if:{{{is_ranged|}}}{{{is_artillery|}}}| {{{barrels|}}} }}

| label29 = [[Firearm action|Action]]
| data29 = {{#if:{{{is_ranged|}}}| {{{action|}}} }}

| label30 = [[Breech-loading weapon|Breech]]
| data30 = {{#if:{{{is_artillery|}}}| {{{breech|}}} }}

| label31 = [[Recoil]]
| data31 = {{#if:{{{is_artillery|}}}| {{{recoil|}}} }}

| label32 = Carriage
| data32 = {{#if:{{{is_artillery|}}}| {{{carriage|}}} }}

| label33 = [[Elevation (ballistics)|Elevation]]
| data33 = {{#if:{{{is_artillery|}}}| {{{elevation|}}} }}

| label34 = Traverse
| data34 = {{#if:{{{is_artillery|}}}| {{{traverse|}}} }}

| label35 = [[Rate of fire|Rate&nbsp;of&nbsp;fire]]
| data35 = {{#if:{{{is_ranged|}}}{{{is_artillery|}}}| {{{rate|}}} }}

| label36 = [[Muzzle velocity|Muzzle&nbsp;velocity]]
| data36 = {{#if:{{{is_ranged|}}}{{{is_artillery|}}}| {{{velocity|}}} }}

| label37 = Effective&nbsp;firing&nbsp;range
| data37 = {{#if:{{{is_ranged|}}} {{{is_explosive|}}}{{{is_artillery|}}}| {{{range|}}} }}

| label38 = Maximum&nbsp;firing&nbsp;range
| data38 = {{#if:{{{is_ranged|}}}{{{is_explosive|}}}{{{is_artillery|}}}| {{{max_range|}}} }}

| label39 = Feed&nbsp;system
| data39 = {{#if:{{{is_ranged|}}}| {{{feed|}}} }}

| label40 = Sights
| data40 = {{#if:{{{is_ranged|}}}{{{is_artillery|}}}| {{{sights|}}} }}

| label41 = [[Blade]]&nbsp;type
| data41 = {{#if:{{{is_bladed|}}}| {{{blade_type|}}} }}

| label42 = [[Hilt]]&nbsp;type
| data42 = {{#if:{{{is_bladed|}}}| {{{hilt_type|}}} }}

| label43 = [[Scabbard]]/[[Scabbard|sheath]]
| data43 = {{#if:{{{is_bladed|}}}| {{{sheath_type|}}} }}

| label44 = Head&nbsp;type
| data44 = {{#if:{{{is_bladed|}}}| {{{head_type|}}} }}

| label45 = [[wikt:haft|Haft]]&nbsp;type
| data45 = {{#if:{{{is_bladed|}}}| {{{haft_type|}}} }}

| label46 = {{#if:{{{is_missile|}}}| Warhead|Filling}}
| data46 = {{#if:{{{is_explosive|}}}{{{is_missile|}}}| {{{filling|}}} }}

| label47 = {{#if:{{{is_missile|}}}| Warhead|Filling}}&nbsp;weight
| data47 = {{#if:{{{is_explosive|}}}{{{is_missile|}}}| {{{filling_weight|}}} }}

| label48 = <div style="line-height:1.25em">Detonation<br/>mechanism</div>
| data48 = {{#if:{{{is_explosive|}}}{{{is_missile|}}}| {{{detonation|}}} }}

| label49 = Blast&nbsp;yield
| data49 = {{#if:{{{is_explosive|}}}{{{is_missile|}}}| {{{yield|}}} }}

| data50 = {{#if:{{{is_vehicle|}}}{{{is_missile|}}}| {{#if:{{{armour|}}}{{{primary_armament|}}}{{{secondary_armament|}}}{{{engine|}}}{{{engine_power|}}}{{{pw_ratio|}}}{{{payload_capacity|}}}{{{transmission|}}}{{{suspension|}}}{{{clearance|}}}{{{wingspan|}}}{{{propellant|}}}{{{fuel_capacity|}}}{{{vehicle_range|}}}{{{ceiling|}}}{{{altitude|}}}{{{boost|}}}{{{depth|}}}{{{speed|}}}{{{guidance|}}}{{{steering|}}}{{{accuracy|}}}{{{launch_platform|}}}{{{transport|}}}| <hr/> }}}}

| label51 = [[Vehicle armour|{{#if:{{{is_UK|}}}| Armour|Armor}}]]
| data51 = {{#if:{{{is_vehicle|}}}| {{{armour|}}} }}

| label52 = <div style="line-height:1.25em">Main<br/>armament</div>
| data52 = {{#if:{{{is_vehicle|}}}| {{{primary_armament|}}} }}

| label53 = <div style="line-height:1.25em">Secondary<br/>armament</div>
| data53 = {{#if:{{{is_vehicle|}}}| {{{secondary_armament|}}} }}

| label54 = Engine
| data54 = {{#if:{{{is_vehicle|}}}{{{is_missile|}}}| {{br separated entries|1={{{engine|}}}| 2={{{engine_power|}}}}} }}

| label55 = Power/weight
| data55 = {{#if:{{{is_vehicle|}}}| {{{pw_ratio|}}} }}

| label56 = Payload&nbsp;capacity
| data56 = {{#if:{{{is_vehicle|}}}| {{{payload_capacity|}}} }}

| label57 = Transmission
| data57 = {{#if:{{{is_vehicle|}}}| {{{transmission|}}} }}

| label58 = Suspension
| data58 = {{#if:{{{is_vehicle|}}}| {{{suspension|}}} }}

| label59 = Ground&nbsp;clearance
| data59 = {{#if:{{{is_vehicle|}}}| {{{clearance|}}} }}

| label60 = Wingspan
| data60 = {{#if:{{{is_missile|}}}| {{{wingspan|}}} }}

| label61 = Propellant
| data61 = {{#if:{{{is_missile|}}}| {{{propellant|}}} }}

| label62 = Fuel&nbsp;capacity
| data62 = {{#if:{{{is_vehicle|}}}| {{{fuel_capacity|}}} }}

| label63 = <div style="line-height:1.25em">Operational<br/>range</div>
| data63 = {{#if:{{{is_vehicle|}}}{{{is_missile|}}}| {{{vehicle_range|}}} }}

| label64 = Flight ceiling
| data64 = {{#if:{{{is_missile|}}}| {{{ceiling|}}} }}

| label65 = Flight altitude
| data65 = {{#if:{{{is_missile|}}}| {{{altitude|}}} }}

| label66 = Boost time
| data66 = {{#if:{{{is_missile|}}}| {{{boost|}}} }}

| label67 = Maximum depth
| data67 = {{#if:{{{is_missile|}}}| {{{depth|}}} }}

| label68 = Speed
| data68 = {{#if:{{{is_vehicle|}}}{{{is_missile|}}}| {{{speed|}}} }}

| label69 = <div style="line-height:1.25em">Guidance<br/>system</div>
| data69 = {{#if:{{{is_vehicle|}}}{{{is_missile|}}}| {{{guidance|}}} }}

| label70 = <div style="line-height:1.25em">Steering<br/>system</div>
| data70 = {{#if:{{{is_vehicle|}}}{{{is_missile|}}}| {{{steering|}}} }}

| label71 = Accuracy
| data71 = {{#if:{{{is_missile|}}}| {{{accuracy|}}} }}

| label72 = <div style="line-height:1.25em">Launch<br/>platform</div>
| data72 = {{#if:{{{is_missile|}}}| {{{launch_platform|}}} }}

| label73 = Transport
| data73 = {{#if:{{{is_missile|}}}| {{{transport|}}} }}
}}<noinclude>
{{Documentation}}
</noinclude>

Revision as of 14:13, 25 November 2014