Difference between revisions of "Template:Infobox weapon"

From Angels Fall First Wiki
Jump to navigation Jump to search
 
(5 intermediate revisions by the same user not shown)
Line 14: Line 14:
  
 
| is_range=
 
| is_range=
| destroyable=
+
| is_explosive=
  
 
| label1 = Type
 
| label1 = Type
Line 36: Line 36:
  
 
| label32 = Unit cost
 
| label32 = Unit cost
| data32 = {{#if:{{{is_ranged|}}}| {{{unit_cost|{{#external_value:cbt}} Combat<br \>{{#external_value:sup}} Support<br \>{{#external_value:cmd}} Command}}} }}
+
| data32 = {{#if:{{{is_ranged|}}}| {{{unit_cost|{{#external_value:cbt}} Combat<br \>{{#external_value:sup}} Support<br \>{{#external_value:cmd}} Command}}}| {{{unit_cost|}}} }}
  
 
| label33 = Variants
 
| label33 = Variants
Line 44: Line 44:
  
 
| label41 = Weight
 
| label41 = Weight
| data41 = {{#if:{{{is_ranged|}}}| {{{weight| {{#expr: (0.1+3*{{#external_value:mass}})round1 }} kg}}} }}
+
| data41 = {{#if:{{{is_ranged|}}}| {{{weight| {{#expr: (0.1+2*{{#external_value:mass}})round1 }} kg}}}| {{{weight|}}} }}
  
 
| label42 = Cartridge
 
| label42 = Cartridge
Line 55: Line 55:
  
 
| label51 = Damage Inflicted
 
| label51 = Damage Inflicted
| data51 = {{#if:{{{is_ranged|}}}| {{{dmg|{{#external_value:dmg}} }}} }}
+
| data51 = {{#if:{{{is_ranged|}}}| {{{dmg|{{#external_value:dmg}} }}}| {{{dmg|}}} }}
  
 
| label52 = Rate of fire
 
| label52 = Rate of fire
| data52 = {{#if:{{{is_ranged|}}}| {{{rate| {{#expr: ( 1/{{#external_value:rate}} )round1 }} per second }}} }}
+
| data52 = {{#if:{{{is_ranged|}}}| {{{rate| {{#expr: ( 1/{{#external_value:rate}} )round1 }} per second }}}| {{{rate|}}} }}
  
 
| label53 = Optimal range
 
| label53 = Optimal range
| data53 = {{#if:{{{is_ranged|}}}| {{{range| {{#expr: ( 0.01+{{#external_value:range}}/24 )round0 }} m }}} }}
+
| data53 = {{#if:{{{is_ranged|}}}| {{{range| {{#expr: ( {{#external_value:range}}/24 )round0 }} m }}}| {{{range|}}} }}
  
 
| label54 = Secondary Firing Mode
 
| label54 = Secondary Firing Mode
| data54 = {{#if:{{{is_ranged|}}}| {{{mode| {{#external_value:mode}} }}} }}
+
| data54 = {{#if:{{{is_ranged|}}}| {{{mode| {{#external_value:mode}} }}}| {{{mode|}}} }}
  
 
| label55 = Magazine
 
| label55 = Magazine
| data55 = {{#if:{{{is_ranged|}}}| {{{feed| {{#external_value:ammo}} rounds }}} }}
+
| data55 = {{#if:{{{is_ranged|}}}| {{{feed| {{#external_value:ammo}} rounds }}}| {{{feed|}}} }}
  
 
| label56 = Spare Magazines
 
| label56 = Spare Magazines
| data56 = {{#if:{{{is_ranged|}}}| {{{mags| {{#external_value:spares}} }}} }}
+
| data56 = {{#if:{{{is_ranged|}}}| {{{mags| {{#external_value:spares}} }}}| {{{mags|}}} }}
  
 
| label57 = Mod slots
 
| label57 = Mod slots
Line 78: Line 78:
  
 
}}<noinclude>{{Infobox weapon
 
}}<noinclude>{{Infobox weapon
|name=A420
+
|name=A420 'Boxer'
 
|image=[[Image:nfc-a420.jpg|300px]]
 
|image=[[Image:nfc-a420.jpg|300px]]
|caption=A420 'Boxer'
+
|caption=A420
 
|type=Carbine
 
|type=Carbine
 
|is_ranged=1
 
|is_ranged=1

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