Difference between revisions of "Template:Infobox weapon"

From Angels Fall First Wiki
Jump to navigation Jump to search
 
(32 intermediate revisions by the same user not shown)
Line 2: Line 2:
 
| bodyclass = vcard
 
| bodyclass = vcard
 
| bodystyle = {{WPMILHIST Infobox style|main_box_raw}}
 
| bodystyle = {{WPMILHIST Infobox style|main_box_raw}}
 
 
| aboveclass = hproduct
 
| aboveclass = hproduct
 
| abovestyle = {{WPMILHIST Infobox style|header_raw}}
 
| abovestyle = {{WPMILHIST Infobox style|header_raw}}
Line 14: Line 13:
 
| headerstyle = {{WPMILHIST Infobox style|header_raw}}
 
| headerstyle = {{WPMILHIST Infobox style|header_raw}}
  
| label1 = Type
+
| is_range=
 +
| is_explosive=
 +
 
 +
| label1 = Type
 
| data1 = {{{type|}}}
 
| data1 = {{{type|}}}
  
| label2 =  Place of origin
+
| header20 = {{#if:{{{origin|}}}{{{used_by|}}}{{{wars|}}}| Service}}
| data2 = {{{origin|}}}
 
 
 
| header3 = {{#if:{{{service|}}}{{{used_by|}}}{{{wars|}}}| Service history}}
 
 
 
| label4 =  In service
 
| data4 = {{{service|}}}
 
 
 
| label5 =  Used by
 
| data5 = {{{used_by|}}}
 
 
 
| label6 =  Wars
 
| data6 = {{{wars|}}}
 
 
 
| header7 = {{#if:{{{designer|}}}{{{design_date|}}}{{{manufacturer|}}}{{{unit_cost|}}}{{{production_date|}}}{{{number|}}}{{{variants|}}}| Production history }}
 
 
 
| label8 =  Designer
 
| data8 = {{{designer|}}}
 
 
 
| label9 =  Designed
 
| data9 = {{{design_date|}}}
 
 
 
| label10 =  Manufacturer
 
| data10 = {{{manufacturer|}}}
 
 
 
| label11 =  Unit cost
 
| data11 = {{{unit_cost|}}}
 
 
 
| label12 =  Produced
 
| data12 = {{{production_date|}}}
 
 
 
| label13 =  Number built
 
| data13 = {{{number|}}}
 
 
 
| label14 =  Variants
 
| data14 = {{{variants|}}}
 
 
 
| 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|}}}{{{mod_slots|}}}{{{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 =  Weight
 
| data16 = {{{weight|}}}
 
 
 
| label17 =  Length
 
| data17 = {{{length|}}}
 
 
 
| label18 =  {{#if:{{{is_ranged|}}}{{{is_artillery|}}}| [[Gun barrel|Barrel]]|{{#if:{{{is_bladed|}}}| Blade}}}} length
 
| data18 = {{{part_length|}}}
 
 
 
| label19 =  Width
 
| data19 = {{{width|}}}
 
 
 
| label20 =  Height
 
| data20 = {{{height|}}}
 
 
 
| label21 =  Diameter
 
| data21 =  {{{diameter|}}}
 
 
 
| label22 =  Crew
 
| data22 =  {{{crew|}}}
 
 
 
| label23 =  Passengers
 
| data23 =  {{{passengers|}}}
 
 
 
| data24 = {{#if:{{{weight|}}}{{{length|}}}{{{part_length|}}}{{{width|}}}{{{height|}}}{{{diameter|}}}{{{crew|}}}{{{passengers|}}}|
 
{{#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|}}}{{{mod_slots|}}}{{{blade_type|}}}{{{hilt_type|}}}{{{sheath_type|}}}{{{head_type|}}}{{{haft_type|}}}{{{filling|}}}{{{filling_weight|}}}{{{detonation|}}}{{{yield|}}}| <hr/> }}}}}}
 
 
 
| label25 = {{#if:{{{is_artillery|}}}| Shell|Cartridge}}
 
| data25 = {{#if:{{{is_ranged|}}}{{{is_artillery|}}}| {{{cartridge|}}} }}
 
 
 
| label26 = {{#if:{{{is_artillery|}}}| Shell|Cartridge}} weight
 
| data26 = {{#if:{{{is_ranged|}}}{{{is_artillery|}}}| {{{cartridge_weight|}}} }}
 
 
 
| label27 = {{#if:{{{is_UK|}}}| Calibre|Caliber}}
 
| data27 = {{#if:{{{is_ranged|}}}{{{is_artillery|}}}| {{{caliber|}}} }}
 
 
 
| label28 = Barrels
 
| data28 = {{#if:{{{is_ranged|}}}{{{is_artillery|}}}| {{{barrels|}}} }}
 
 
 
| label29 = Action
 
| data29 = {{#if:{{{is_ranged|}}}| {{{action|}}} }}
 
 
 
| label30 = Breech
 
| data30 = {{#if:{{{is_artillery|}}}| {{{breech|}}} }}
 
 
 
| label31 = Recoil
 
| data31 = {{#if:{{{is_artillery|}}}| {{{recoil|}}} }}
 
 
 
| label32 = Carriage
 
| data32 = {{#if:{{{is_artillery|}}}| {{{carriage|}}} }}
 
 
 
| label33 = Elevation
 
| data33 = {{#if:{{{is_artillery|}}}| {{{elevation|}}} }}
 
 
 
| label34 = Traverse
 
| data34 = {{#if:{{{is_artillery|}}}| {{{traverse|}}} }}
 
 
 
| label35 = Rate&nbsp;of&nbsp;fire
 
| data35 = {{#if:{{{is_ranged|}}}{{{is_artillery|}}}| {{{rate|}}} }}
 
 
 
| label36 = 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 = Mod Slots
 
| data40 = {{#if:{{{is_ranged|}}}{{{is_artillery|}}}| {{{mod_slots|}}} }}
 
 
 
| label41 = Blade&nbsp;type
 
| data41 = {{#if:{{{is_bladed|}}}| {{{blade_type|}}} }}
 
 
 
| label42 = Hilt&nbsp;type
 
| data42 = {{#if:{{{is_bladed|}}}| {{{hilt_type|}}} }}
 
 
 
| label43 = Scabbard/sheath
 
| data43 = {{#if:{{{is_bladed|}}}| {{{sheath_type|}}} }}
 
 
 
| label44 = Head&nbsp;type
 
| data44 = {{#if:{{{is_bladed|}}}| {{{head_type|}}} }}
 
 
 
| label45 = 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
+
| label21 = Place of origin
| data49 = {{#if:{{{is_explosive|}}}{{{is_missile|}}}| {{{yield|}}} }}
+
| data21 = {{{origin|}}}
  
| 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/> }}}}
+
| label22 = Used by
 +
| data22 = {{{used_by|[[Misc_Antarean_Imperial_Army|Antarean Imperial Army]]<br \>[[Misc_United_League_Army|United League Army]]}}}
  
| label51 = {{#if:{{{is_UK|}}}| Armour|Armor}}
+
| label23 = Wars
| data51 = {{#if:{{{is_vehicle|}}}| {{{armour|}}} }}
+
| data23 = {{{wars|[[Event_Second_Antarean_War|Second Antarean War]]}}}
  
| label52 = <div style="line-height:1.25em">Main<br/>armament</div>
+
| header30 = {{#if:{{{manufacturer|}}}{{{unit_cost|}}}{{{variants|}}}| Production}}
| data52 = {{#if:{{{is_vehicle|}}}| {{{primary_armament|}}} }}
 
  
| label53 = <div style="line-height:1.25em">Secondary<br/>armament</div>
+
| label31 = Manufacturer
| data53 = {{#if:{{{is_vehicle|}}}| {{{secondary_armament|}}} }}
+
| data31 = {{{manufacturer|}}}
  
| label54 = Engine
+
| label32 = Unit cost
| data54 = {{#if:{{{is_vehicle|}}}{{{is_missile|}}}| {{br separated entries|1={{{engine|}}}| 2={{{engine_power|}}}}} }}
+
| data32 = {{#if:{{{is_ranged|}}}| {{{unit_cost|{{#external_value:cbt}} Combat<br \>{{#external_value:sup}} Support<br \>{{#external_value:cmd}} Command}}}| {{{unit_cost|}}} }}
  
| label55 = Power/weight
+
| label33 = Variants
| data55 = {{#if:{{{is_vehicle|}}}| {{{pw_ratio|}}} }}
+
| data33 = {{{variants|}}}
  
| label56 = Payload&nbsp;capacity
+
| header40 = {{#if:{{{weight|}}}{{{cartridge|}}}{{{action|}}}| Specifications}}
| data56 = {{#if:{{{is_vehicle|}}}| {{{payload_capacity|}}} }}
 
  
| label57 = Transmission
+
| label41 = Weight
| data57 = {{#if:{{{is_vehicle|}}}| {{{transmission|}}} }}
+
| data41 = {{#if:{{{is_ranged|}}}| {{{weight| {{#expr: (0.1+2*{{#external_value:mass}})round1 }} kg}}}| {{{weight|}}} }}
  
| label58 = Suspension
+
| label42 = Cartridge
| data58 = {{#if:{{{is_vehicle|}}}| {{{suspension|}}} }}
+
| data42 = {{{cartridge|}}}
  
| label59 = Ground&nbsp;clearance
+
| label43 = Action
| data59 = {{#if:{{{is_vehicle|}}}| {{{clearance|}}} }}
+
| data43 = {{{action|}}}
  
| label60 = Wingspan
+
| header50 = {{#if:{{{dmg|}}}{{{rate|}}}{{{range|}}}{{{mode|}}}{{{feed|}}}{{{mags|}}}{{{slots|}}}| Operation}}
| data60 = {{#if:{{{is_missile|}}}| {{{wingspan|}}} }}
 
  
| label61 = Propellant
+
| label51 = Damage Inflicted
| data61 = {{#if:{{{is_missile|}}}| {{{propellant|}}} }}
+
| data51 = {{#if:{{{is_ranged|}}}| {{{dmg|{{#external_value:dmg}} }}}| {{{dmg|}}} }}
  
| label62 = Fuel&nbsp;capacity
+
| label52 = Rate of fire
| data62 = {{#if:{{{is_vehicle|}}}| {{{fuel_capacity|}}} }}
+
| data52 = {{#if:{{{is_ranged|}}}| {{{rate| {{#expr: ( 1/{{#external_value:rate}} )round1 }} per second }}}| {{{rate|}}} }}
  
| label63 = <div style="line-height:1.25em">Operational<br/>range</div>
+
| label53 = Optimal range
| data63 = {{#if:{{{is_vehicle|}}}{{{is_missile|}}}| {{{vehicle_range|}}} }}
+
| data53 = {{#if:{{{is_ranged|}}}| {{{range| {{#expr: ( {{#external_value:range}}/24 )round0 }} m }}}| {{{range|}}} }}
  
| label64 = Flight ceiling
+
| label54 = Secondary Firing Mode
| data64 = {{#if:{{{is_missile|}}}| {{{ceiling|}}} }}
+
| data54 = {{#if:{{{is_ranged|}}}| {{{mode| {{#external_value:mode}} }}}| {{{mode|}}} }}
  
| label65 = Flight altitude
+
| label55 = Magazine
| data65 = {{#if:{{{is_missile|}}}| {{{altitude|}}} }}
+
| data55 = {{#if:{{{is_ranged|}}}| {{{feed| {{#external_value:ammo}} rounds }}}| {{{feed|}}} }}
  
| label66 = Boost time
+
| label56 = Spare Magazines
| data66 = {{#if:{{{is_missile|}}}| {{{boost|}}} }}
+
| data56 = {{#if:{{{is_ranged|}}}| {{{mags| {{#external_value:spares}} }}}| {{{mags|}}} }}
  
| label67 = Maximum depth
+
| label57 = Mod slots
| data67 = {{#if:{{{is_missile|}}}| {{{depth|}}} }}
+
| data57 = {{{slots|}}}
  
| label68 = Speed
+
| data60 = <hr/>{{{desc|}}}
| data68 = {{#if:{{{is_vehicle|}}}{{{is_missile|}}}| {{{speed|}}} }}
 
  
| label69 = <div style="line-height:1.25em">Guidance<br/>system</div>
+
}}<noinclude>{{Infobox weapon
| data69 = {{#if:{{{is_vehicle|}}}{{{is_missile|}}}| {{{guidance|}}} }}
+
|name=A420 'Boxer'
 +
|image=[[Image:nfc-a420.jpg|300px]]
 +
|caption=A420
 +
|type=Carbine
 +
|is_ranged=1
  
| label70 = <div style="line-height:1.25em">Steering<br/>system</div>
+
|used_by=Private Military Corporations<br \>[[Misc_Antarean_Imperial_Army|Antarean Imperial Army]]<br \>[[Misc_United_League_Army|United League Army]]
| data70 = {{#if:{{{is_vehicle|}}}{{{is_missile|}}}| {{{steering|}}} }}
+
|wars=[[Event_Second_Antarean_War|Second Antarean War]]
  
| label71 = Accuracy
+
|manufacturer=[[Manufacturer_nfc_Taldis|Taldis]]
| data71 = {{#if:{{{is_missile|}}}| {{{accuracy|}}} }}
+
|unit_cost=external_value:cbt Combat<br \>external_value:sup Support<br \>external_value:cmd Command
  
| label72 = <div style="line-height:1.25em">Launch<br/>platform</div>
+
|weight=(0.1+2* external_value:mass )round1 kg
| data72 = {{#if:{{{is_missile|}}}| {{{launch_platform|}}} }}
+
|cartridge=[[Ammunition_ULA_GAR|GAR 8.13mm]]
  
| label73 = Transport
+
|dmg=external_value:dmg
| data73 = {{#if:{{{is_missile|}}}| {{{transport|}}} }}
+
|rate= ( 1/external_value:rate )round1  per s
}}<noinclude>
+
|range=( external_value:range/24 )round0  m
{{Documentation}}
+
|mode=external_value:mode
</noinclude>
+
|feed=external_value:ammo
 +
|mags=external_value:spares
 +
|slots=1x Sights<br \>1x Barrel<br \>1x Magazine<br \>1x Body
 +
}}
 +
test text</noinclude>

Latest revision as of 23:16, 23 July 2020

Used by Antarean Imperial Army
United League Army
Wars Second Antarean War

A420 'Boxer'
Nfc-a420.jpg
A420
Type Carbine
Service
Used by Private Military Corporations
Antarean Imperial Army
United League Army
Wars Second Antarean War
Production
Manufacturer Taldis
Unit cost external_value:cbt Combat
external_value:sup Support
external_value:cmd Command
Specifications
Weight (0.1+2* external_value:mass )round1 kg
Cartridge GAR 8.13mm
Operation
Damage Inflicted external_value:dmg
Rate of fire ( 1/external_value:rate )round1 per s
Optimal range ( external_value:range/24 )round0 m
Secondary Firing Mode external_value:mode
Magazine external_value:ammo
Spare Magazines external_value:spares
Mod slots 1x Sights
1x Barrel
1x Magazine
1x Body

test text