Difference between revisions of "Template:Infobox weapon"

From Angels Fall First Wiki
Jump to navigation Jump to search
Line 16: Line 16:
 
| label1 =  Type
 
| label1 =  Type
 
| data1 = {{{type|}}}
 
| data1 = {{{type|}}}
 +
 +
| header1 = {{#if:{{{origin|}}}{{{used_by|}}}{{{wars|}}}| Service}}
  
 
| label2 =  Place of origin
 
| label2 =  Place of origin
 
| data2 = {{{origin|}}}
 
| data2 = {{{origin|}}}
 
| header3 = {{#if:{{{service|}}}{{{used_by|}}}{{{wars|}}}| Service}}
 
 
| label4 =  In service
 
| data4 = {{{service|}}}
 
  
 
| label5 =  Used by
 
| label5 =  Used by
Line 31: Line 28:
 
| data6 = {{{wars|}}}
 
| data6 = {{{wars|}}}
  
| header7 = {{#if:{{{designer|}}}{{{design_date|}}}{{{manufacturer|}}}{{{unit_cost|}}}{{{variants|}}}| Production}}
+
| header2 = {{#if:{{{manufacturer|}}}{{{unit_cost|}}}{{{variants|}}}| Production}}
 
 
| label8 =  Designer
 
| data8 = {{{designer|}}}
 
 
 
| label9 =  Designed
 
| data9 = {{{design_date|}}}
 
  
 
| label10 =  Manufacturer
 
| label10 =  Manufacturer
Line 48: Line 39:
 
| data12 = {{{variants|}}}
 
| data12 = {{{variants|}}}
  
| header13 = {{#if:{{{weight|}}}{{{length|}}}{{{height|}}}{{{width|}}}{{{crew|}}}{{{cartridge|}}}{{{caliber|}}}{{{action|}}}{{{rate|}}}{{{velocity|}}}{{{range|}}}{{{max_range|}}}{{{feed|}}}{{{slots|}}}{{{yield|}}}{{{armour|}}}{{{primary_armament|}}}{{{secondary_armament|}}}{{{boost|}}}{{{speed|}}}| Specifications {{#if:{{{spec_label|}}}| ({{{spec_label}}})}} }}
+
| header3 = {{#if:{{{weight|}}}{{{cartridge|}}}{{{action|}}}| Specifications}}
  
 
| label14 =  Weight
 
| label14 =  Weight
 
| data14 = {{{weight|}}}
 
| data14 = {{{weight|}}}
 
| label15 =  Length
 
| data15 = {{{length|}}}
 
 
| label16 =  Height
 
| data16 = {{{height|}}}
 
 
| label17 =  Width
 
| data17 = {{{width|}}}
 
 
| label18 =  Crew
 
| data18 =  {{{crew|}}}
 
  
 
| label19 = {{#if:{{{is_artillery|}}}| Shell|Cartridge}}
 
| label19 = {{#if:{{{is_artillery|}}}| Shell|Cartridge}}
 
| data19 = {{#if:{{{is_ranged|}}}{{{is_artillery|}}}| {{{cartridge|}}} }}
 
| data19 = {{#if:{{{is_ranged|}}}{{{is_artillery|}}}| {{{cartridge|}}} }}
 
| label20 = Calibre
 
| data20 = {{#if:{{{is_ranged|}}}{{{is_artillery|}}}| {{{caliber|}}} }}
 
  
 
| label21 = Action
 
| label21 = Action
 
| data21 = {{#if:{{{is_ranged|{{#expr: ( {{#external_value:range}}/24 )round0 }} m}}} }}
 
| data21 = {{#if:{{{is_ranged|{{#expr: ( {{#external_value:range}}/24 )round0 }} m}}} }}
  
| label22 = <div style="line-height:1.25em">Detonation<br/>mechanism</div>
+
| header4 = {{#if:{{{dmg|}}}{{{rate|}}}{{{range|}}}{{{mode|}}}{{{feed|}}}{{{mags|}}}{{{slots|}}}| Operation }}
| data22 = {{#if:{{{is_explosive|}}}{{{is_missile|}}}| {{{detonation|}}} }}
 
 
 
| header23 = {{#if:{{{weight|}}}{{{length|}}}{{{height|}}}{{{width|}}}{{{crew|}}}{{{cartridge|}}}{{{caliber|}}}{{{action|}}}|
 
{{#if:{{{is_ranged|}}}{{{is_artillery|}}}{{{is_bladed|}}}{{{is_explosive|}}}| {{#if:{{{dmg|}}}{{{rate|}}}{{{range|}}}{{{max_range|}}}{{{mode|}}}{{{feed|}}}{{{mags|}}}{{{slots|}}}{{{yield|}}}| Operation }} }} }}
 
  
 
| label24 = Damage Inflicted
 
| label24 = Damage Inflicted
Line 88: Line 60:
 
| label37 = Optimal&nbsp;range
 
| label37 = Optimal&nbsp;range
 
| data37 = {{#if:{{{is_ranged|}}}{{{is_artillery|}}}| {{{range|}}} }}
 
| data37 = {{#if:{{{is_ranged|}}}{{{is_artillery|}}}| {{{range|}}} }}
 
| label38 = Maximum&nbsp;range
 
| data38 = {{#if:{{{is_ranged|}}}{{{is_artillery|}}}| {{{max_range|}}} }}
 
  
 
| label39 = Secondary Firing Mode
 
| label39 = Secondary Firing Mode
Line 104: Line 73:
 
| data44 = {{#if:{{{is_ranged|}}}{{{is_artillery|}}}| {{{slots|}}} }}
 
| data44 = {{#if:{{{is_ranged|}}}{{{is_artillery|}}}| {{{slots|}}} }}
  
| label49 = Blast&nbsp;Range
+
| data50 = {{#if:{{{boost|}}}{{{speed|}}}| <hr/> }}}}
| data49 = {{#if:{{{is_explosive|}}}{{{is_missile|}}}| {{{yield|}}} }}
 
 
 
| data50 = {{#if:{{{is_vehicle|}}}{{{is_missile|}}}| {{#if:{{{armour|}}}{{{primary_armament|}}}{{{secondary_armament|}}}{{{boost|}}}{{{speed|}}}| <hr/> }}}}
 
 
 
| label51 = Armour
 
| 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|}}} }}
 
 
 
| label66 = Boost time
 
| data66 = {{#if:{{{is_missile|}}}| {{{boost|}}} }}
 
 
 
| label68 = Speed
 
| data68 = {{#if:{{{is_vehicle|}}}{{{is_missile|}}}| {{{speed|}}} }}
 
  
 
}}
 
}}

Revision as of 23:05, 22 July 2020

}}