Template:Infobox weapon: Difference between revisions

From TSP Encyclopedia
Jump to navigation Jump to search
(Still WIP - don’t use right now!)
Tag: 2017 source edit
 
(Finished first transposition draft.)
Tag: 2017 source edit
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{infobox
<includeonly>{{Infobox
 
| bodystyle      = {{WPMILHIST Infobox style|main_box_raw}}
| bodystyle      = {{WPMILHIST Infobox style|main_box_raw}}
| abovestyle    = {{WPMILHIST Infobox style|header_raw}}
| abovestyle    = {{WPMILHIST Infobox style|header_raw}}
| subheaderstyle = {{WPMILHIST Infobox style|sub_header_raw}}
| subheaderstyle = {{WPMILHIST Infobox style|sub_header_raw}}
| above          = {{{name|{{PAGENAMEBASE}}}}}
| above          = {{{unit_name|{{PAGENAMEBASE}}}}}
| subheader      = {{{native_name|}}}


|  imagestyle  = {{WPMILHIST Infobox style|image_box_raw}}
|  imagestyle  = {{WPMILHIST Infobox style|image_box_raw}}
Line 19: Line 19:
| data2 = {{{origin|}}}
| data2 = {{{origin|}}}


| header3 = {{#if:{{{service}}}{{{used_by}}}{{{wars}}} | Service history }}
| header3 = {{#if:{{{service|}}}{{{used_by|}}}{{{wars|}}}| Service history }}


| label4 = In&nbsp;service
| label4 = In&nbsp;service
Line 30: Line 30:
| data6 = {{{wars|}}}
| data6 = {{{wars|}}}


| header7 = {{#if:{{{designer}}}{{{design_date}}}{{{manufacturer}}}{{{unit_cost}}}{{{production_date}}}{{{produced}}}{{{variants}}} | Production history }}
| header7 = {{#if:{{{designer|}}}{{{design_date|}}}{{{manufacturer|}}}{{{unit_cost|}}}{{{production_date|}}}{{{produced|}}}{{{variants|}}}| Production history }}


| label8 = Designer
| label8 = Designer
Line 50: Line 50:
| data13 = {{{Produced|}}}
| data13 = {{{Produced|}}}


| label14 = Variants
| label14 = Variants
| data14 = {{{variants|}}}
| data14 = {{{variants|}}}


| header15 = {{#if:{{{mass}}}!!!ADDNEWFIELDSHEREWHENDONE!!! | Specifications {{#if:{{{spec_label}}} | {{{spec_label|}}} }} }}
| header15 = {{#if:{{{mass|}}}{{{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}}})}} }}


| label16 = Mass
| label16 = Mass
| data16 = {{{mass|}}}
| data16 = {{{mass|{{{weight|}}}}}}


| label17 = Length
| label17 = Length
| data17 = {{{length|}}}
| data17 = {{{length|}}}


| label18 = {{#if:{{{is_ranged|}}}{{{is_artillery|}}} | [[Wikipedia:Gun barrel|Barrel]]}}|{{#if:{{{is_bladed|}}} | Blade }}}}&nbsp;length
| label18 = {{#if:{{{is_ranged|}}}{{{is_artillery|}}}| [[Gun barrel|Barrel]]|{{#if:{{{is_bladed|}}}| Blade}}}}&nbsp;length
| data18 = {{{part_length|}}}
| data18 = {{{part_length|}}}


| label19 = Width
| label19 = Width
| data19 = {{{width|}}}
| data19 = {{{width|}}}


| label20 = Height
| label20 = Height
| data20 = {{{height|}}}
| data20 = {{{height|}}}


Line 74: Line 74:


| label22 = Wingspan
| label22 = Wingspan
| data22 = {{#if:{{{is_missile}}} | {{{wingspan|}}} }}
| data22 = {{#if:{{{is_missile}}}| {{{wingspan|}}} }}


| label23 = Crew
| label23 = Crew
Line 82: Line 82:
| data24 = {{{passengers|}}}
| data24 = {{{passengers|}}}


| data25 = {{#if:{{{mass|}}}{{{length|}}}{{{part_length|}}}{{{width|}}}{{{height|}}}{{{diameter|}}}{{{wingspan|}}}{{{crew|}}}{{{passengers|}}} | {{#if:{{{is_ranged|}}}{{{is_artillery|}}}{{{is_bladed|}}}{{{is_explosive|}}} | {{#if:((data params down to “yield”)) | <hr/> }} }} }}
| data25 = {{#if:{{{mass|}}}{{{length|}}}{{{part_length|}}}{{{width|}}}{{{height|}}}{{{diameter|}}}{{{wingspan|}}}{{{crew|}}}{{{passengers|}}} | {{#if:{{{is_ranged|}}}{{{is_artillery|}}}{{{is_bladed|}}}{{{is_explosive|}}} | {{#if:{{{cartridge|}}}{{{cartridge_mass|}}}{{{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/> }} }} }}
 
| label26 = {{#if:{{{is_artillery|}}}|[[Wikipedia:Shell (projectile)|Shell]] | [[Wikipedia:Cartridge (firearms)|Cartridge]] }}
| data26 = {{#if:{{{is_artillery|}}}{{{is_ranged|}}} | {{{cartridge|}}} }}
 
| label27 = {{#if:{{{is_artillery|}}}|[[Wikipedia:Shell (projectile)|Shell]] | [[Wikipedia:Cartridge (firearms)|Cartridge]] }} mass
| data27 = {{#if:{{{is_artillery|}}}{{{is_ranged|}}} | {{{cartridge_mass}}} }}
 
| label28 = [[Wikipedia:Caliber|Caliber]]
| data28 = {{#if:{{{is_artillery|}}}{{{is_ranged|}}} | {{{caliber|}}} }}
 
| label29 = Barrels
| data29 = {{#if:{{{is_artillery|}}}{{{is_ranged|}}} | {{{barrels|}}} }}
 
| label30 =[[Wikipedia:action (firearms)|Action]]
| data30 = {{#if:{{{is_ranged|}}} | {{{action|}}} }}
 
| label31 = [[Wikipedia:Breech-loading weapon|Breech]]
| data31 = {{#if:{{{is_artillery|}}} | {{{breech|}}} }}
 
| label32 = [[Wikipedia:Recoil|Recoil]]
| data32 = {{#if:{{{is_artillery|}}} | {{{recoil|}}} }}
 
| label33 = [[Wikipedia:Gun carriage|Carriage]]
| data33 = {{#if:{{{is_artillery|}}} | {{{carriage|}}} }}
 
| label34 = [[Wikipedia:elevation (ballistics)|Elevation]]
| data34 = {{#if:{{{is_artillery|}}} | {{{elevation|}}} }}
 
| label35 = [[Wikipedia:Gun laying|Traverse]]
| data35 = {{#if:{{{is_artillery|}}} | {{{traverse|}}} }}
 
| label36 = [[Wikipedia:Rate of fire|Rate&nbsp;of&nbsp;fire]]
| data36 = {{#if:{{{is_ranged|}}}{{{is_artillery|}}} | {{{rate|}}} }}
 
| label37 = [[Wikipedia:Muzzle velocity|Muzzle&nbsp;velocity]]
| data37 = {{#if:{{{is_artillery|}}}{{{is_ranged|}}} | {{{velocity|}}} }}
 
| label38 = [[Wikipedia:Effective range#Weapons|Effective&nbsp;firing&nbsp;range]]
| data38 = {{#if:{{{is_artillery|}}}{{{is_ranged|}}}{{{is_explosive|}}} | {{{range|}}} }}
 
| label39 = Maximum&nbsp;firing&nbsp;range
| data39 = {{#if:{{{is_artillery|}}}{{{is_ranged|}}}{{{is_explosive|}}} | {{{max_range|}}} }}
 
| label40 = Feed&nbsp;system
| data40 = {{#if:{{{is_ranged|}}} | {{{feed|}}} }}
 
| label41 = Sights
| data41 = {{#if:{{{is_artillery|}}}{{{is_ranged|}}} | {{{sights|}}} }}
 
| label42 = [[Wikipedia:blade|Blade]]&nbsp;type
| data42 = {{#if:{{{is_bladed|}}} | {{{blade_type}}} }}
 
| label43 = [[Wikipedia:hilt|Hilt]]&nbsp;type
| data43 = {{#if:{{{is_bladed|}}} | {{{hilt_type}}} }}
 
| label44 = [[Wikipedia:scabbard|Scabbard/shealth]]
| data44 = {{#if:{{{is_bladed|}}} | {{{sheath_type}}} }}
 
| label45 = Head&nbsp;type
| data45 = {{#if:{{{is_bladed|}}} | {{{head_type}}} }}
 
| label46 = [[Wikipedia:haft|Haft]]&nbsp;type
| data46 = {{#if:{{{is_bladed|}}} | {{{haft_type}}} }}
 
| label47 = {{#if:{{{is_missile|}}} | Warhead | Filling }}
| data47 = {{#if:{{{is_missile|}}}{{{is_explosive|}}} | {{{filling|}}} }}
 
| label48 = {{#if:{{{is_missile|}}} | Warhead | Filling }}&nbsp;mass
| data48 = {{#if:{{{is_missile|}}}{{{is_explosive|}}} | {{{filling_weight}}} }}
 
| label49 = <div style="line-height:1.25em">Detonation<br/>mechanism</div>
| data49 = {{#if:{{{is_missile|}}}{{{is_explosive|}}} | {{{detonation|}}} }}
 
| label50 = Blast&nbsp;yield
| data50 = {{#if:{{{is_missile|}}}{{{is_explosive|}}} | {{{yield|}}} }}
 
| data51 = {{#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/> }}}}
 
| label52 = [[Wikipedia:Vehicle armour|Vehicle armor]]
| data52 = {{#if:{{{is_vehicle|}}}| {{{armor|}}} }}
 
| label53 = <div style="line-height:1.25em">Main<br/>armament</div>
| data53 = {{#if:{{{is_vehicle|}}}| {{{primary_armament|}}} }}
 
| label54 = <div style="line-height:1.25em">Secondary<br/>armament</div>
| data54 = {{#if:{{{is_vehicle|}}}| {{{secondary_armament|}}} }}
 
| label55 = Engine
| data55 = {{#if:{{{is_vehicle|}}{{{is_missile|}}}| {{br separated entries |1={{{engine|}}} |2={{{engine_power|}}} }} }}
 
| label56 = Power/weight
| data56 ={{#if:{{{is_vehicle|}}}| {{{pw_ratio|}}} }}
 
| label57 = Payload&nbsp;capacity
| data57 = {{#if:{{{is_vehicle|}}}| {{{payload_capacity|}}} }}
 
| label58 = Drive
| data58 = {{#if:{{{is_vehicle|}}}| {{{drive|}}} }}
 
| label59 = Transmission
| data59 = {{#if:{{{is_vehicle|}}}| {{{transmission|}}} }}
 
| label60 = Suspension
| data60 = {{#if:{{{is_vehicle|}}}| {{{suspension|}}} }}
 
| label61 = Ground&nbsp;clearance
| data61 = {{#if:{{{is_vehicle|}}}| {{{clearance|}}} }}
 
| label62 = Propellant
| data62 = {{#if:{{{is_missile|}}}| {{{propellant|}}} }}
 
| label63 = Fuel&nbsp;capacity
| data63= {{#if:{{{is_vehicle|}}}| {{{fuel_capacity|}}} }}
 
| label64 = <div style="line-height:1.25em">Operational<br/>range</div>
| data64 = {{#if:{{{is_vehicle|}}}{{{is_missile|}}}| {{{vehicle_range|}}} }}
 
| label65 = Flight ceiling
| data65 ={{#if:{{{is_missile|}}}| {{{ceiling|}}} }}
 
| label66 = Flight altitude
| data66 = {{#if:{{{is_missile|}}}| {{{altitude|}}} }}
 
| label67 = Boost time
| data67 = {{#if:{{{is_missile|}}}| {{{boost|}}} }}
 
| label68 = Maximum depth
| data68 = {{#if:{{{is_missile|}}}| {{{depth|}}} }}
 
| label69 = {{tooltip|2=Maximum speed of vehicle or missile| Maximum speed | dotted=no}}
| data69 = {{#if:{{{is_vehicle|}}}{{{is_missile|}}}| {{{speed|}}} }}
 
| label70 = <div style="line-height:1.25em">Guidance<br/>system</div>
| data70 = {{#if:{{{is_vehicle|}}}{{{is_missile|}}}| {{{guidance|}}} }}
 
| label71 = <div style="line-height:1.25em">Steering<br/>system</div>
| data71 = {{#if:{{{is_vehicle|}}}{{{is_missile|}}}| {{{steering|}}} }}
 
| label72 = Accuracy
| data72 = {{#if:{{{is_missile|}}}| {{{accuracy|}}} }}
 
| label73 = <div style="line-height:1.25em">Launch<br/>platform</div>
| data73 = {{#if:{{{is_missile|}}}| {{{launch_platform|}}} }}
 
| label74 = Transport
| data74 = {{#if:{{{is_missile|}}}| {{{transport|}}} }}
 


}}
}}
</includeonly>
<noinclude>
{{documentation}}
</noinclude>

Revision as of 05:02, 19 April 2024