Difference between revisions of "Template:Infobox test"

From Angels Fall First Wiki
Jump to navigation Jump to search
Line 34: Line 34:
  
 
| label11 =  Unit cost
 
| label11 =  Unit cost
| data11 = {{{unit_cost|{{#external_value:cbt}} Combat<br \>{{#external_value:sup}} Support<br \>{{#external_value:cmd}} Command}}}
+
| data11 = {{#if:{{{is_ranged|}}}| sssssssssssssss|{{{range|}}} }}
  
 
| label12 =  Variants
 
| label12 =  Variants
Line 42: Line 42:
  
 
| label14 =  Weight
 
| label14 =  Weight
| data14 = {{{weight|}}}
+
| data14 = {{#if:{{{is_ranged|}}}| sssssssssssssss|{{{range|}}} }}
  
| label19 = {{#if:{{{is_artillery|}}}| Shell|Cartridge}}
+
| label19 = Cartridge
| data19 = {{#if:{{{is_ranged|}}}{{{is_artillery|}}}| {{{cartridge|}}} }}
+
| data19 = {{{cartridge|}}}
  
 
| label21 = Action
 
| label21 = Action
Line 53: Line 53:
  
 
| label24 = Damage Inflicted
 
| label24 = Damage Inflicted
| data24 = {{{dmg|}}}
+
| data24 = {{#if:{{{is_ranged|}}}| sssssssssssssss|{{{range|}}} }}
  
 
| label35 = Rate of fire
 
| label35 = Rate of fire
Line 59: Line 59:
  
 
| label37 = Optimal range
 
| label37 = Optimal range
| data37 = {{#if:{{{is_ranged|}}}{{{is_artillery|}}}| {{{range|}}} }}
+
| data37 = {{#if:{{{is_ranged|}}}| sssssssssssssss|{{{range|}}} }}
  
 
| label39 = Secondary Firing Mode
 
| label39 = Secondary Firing Mode
| data39 = {{{mode|}}}
+
| data39 = {{#if:{{{is_ranged|}}}| sssssssssssssss|{{{range|}}} }}
  
 
| label40 = Magazine
 
| label40 = Magazine
| data40 = {{{feed|}}}
+
| data40 = {{#if:{{{is_ranged|}}}| sssssssssssssss|{{{range|}}} }}
  
 
| label41 = Spare {{#if: {{{is_explosive|}}}| Units|Magazines}}
 
| label41 = Spare {{#if: {{{is_explosive|}}}| Units|Magazines}}
| data41 = {{{mags|}}}
+
| data41 = {{#if:{{{is_ranged|}}}| sssssssssssssss|{{{range|}}} }}
  
 
| label44 = Mod slots
 
| label44 = Mod slots
| data44 = {{{slots|}}}
+
| data44 = {{#if:{{{is_ranged|}}}| sssssssssssssss|{{{range|}}} }}
  
 
| data50 = {{#if:{{{boost|}}}{{{speed|}}}| <hr/> }}
 
| data50 = {{#if:{{{boost|}}}{{{speed|}}}| <hr/> }}
  
 
}}
 
}}

Revision as of 18:15, 23 July 2020