Difference between revisions of "Template:Infobox zkweapon"

From Zero-K
Jump to navigation Jump to search
Line 8: Line 8:
 
| header1 = {{{name}}}
 
| header1 = {{{name}}}
  
| label3     = Damage
+
| label11     = Damage
| data3       = {{{damage|0}}}
+
| data11       = {{{damage|0}}}
| label4     = <span style="color: #bbf">EMP Damage</span>
+
| label12     = <span style="color: #bbf">EMP Damage</span>
| data4       = {{#if: {{{empdamage|}}} | <span style="color: #bbf">{{{empdamage|}}}</span> |  }}  
+
| data12       = {{#if: {{{empdamage|}}} | <span style="color: #bbf">{{{empdamage|}}}</span> |  }}  
| label5     = <span style="color: #fbf">Slow Damage</span>
+
| label13     = <span style="color: #fbf">Slow Damage</span>
| data5       = {{#if: {{{slowdamage|}}} | <span style="color: #fbf">{{{slowdamage|}}}</span> |  }}
+
| data13       = {{#if: {{{slowdamage|}}} | <span style="color: #fbf">{{{slowdamage|}}}</span> |  }}
| label6     = <span style="color: #ffb">Disarm Damage</span>
+
| label14     = <span style="color: #ffb">Disarm Damage</span>
| data6       = {{#if: {{{disarmdamage|}}} | <span style="color: #ffb">{{{disarmdamage|}}}</span> |  }}   
+
| data14       = {{#if: {{{disarmdamage|}}} | <span style="color: #ffb">{{{disarmdamage|}}}</span> |  }}   
  
| label11     = Reload Time (s)
+
| label21     = Reload Time (s)
| data11       = {{{reloadtime|}}}
+
| data21       = {{{reloadtime|}}}
| label12     = Damage per Second
+
| label22     = Damage per Second
| data12       = {{ #if: {{{dps|}}}{{{empdps|}}}{{{slowdps|}}}{{{disarmdps|}}} | {{{dps|0}}} | }} {{#if: {{{empdps|}}} | + <span style="color: #bbf">{{{empdps|}}}</span> |  }} {{#if: {{{slowdps|}}} | + <span style="color: #fbf">{{{slowdps|}}}</span> | }} {{#if: {{{disarmdps|}}} | + <span style="color: #ffb">{{{disarmdps|}}}</span> | }}   
+
| data22       = {{ #if: {{{dps|}}}{{{empdps|}}}{{{slowdps|}}}{{{disarmdps|}}} | {{{dps|0}}} | }} {{#if: {{{empdps|}}} | + <span style="color: #bbf">{{{empdps|}}}</span> |  }} {{#if: {{{slowdps|}}} | + <span style="color: #fbf">{{{slowdps|}}}</span> | }} {{#if: {{{disarmdps|}}} | + <span style="color: #ffb">{{{disarmdps|}}}</span> | }}   
| label13     = Range (elmo)
+
| label23     = Range (elmo)
| data13       = {{{range|}}}
+
| data23       = {{{range|}}}
| label14     = Area of Effect (elmo)
+
| label24     = Area of Effect (elmo)
| data14       = {{{aoe|}}}
+
| data24       = {{{aoe|}}}
| label15     = Projectile Speed (elmo/s)  
+
| label25     = Projectile Speed (elmo/s)  
| data15       = {{{projectilespeed|}}}
+
| data25       = {{{projectilespeed|}}}
| label16     = Stun Time (s)  
+
| label26     = Stun Time (s)  
| data16       = {{{stuntime|}}}
+
| data26       = {{{stuntime|}}}
| label17     = Shield Damage (%)
+
| label27     = Shield Damage (%)
| data17       = {{{shielddamage|}}}
+
| data27       = {{{shielddamage|}}}
| label18     = Afterburn (s)
+
| label28     = Afterburn (s)
| data18       = {{ #if: {{{afterburn|}}} | <span style="color: #fbb">{{{afterburn|}}} ({{{afterburndps|}}} DPS)</span> | }}
+
| data28       = {{ #if: {{{afterburn|}}} | <span style="color: #fbb">{{{afterburn|}}} ({{{afterburndps|}}} DPS)</span> | }}
  
| label21     = Homing (deg/s)  
+
| label41     = Homing (deg/s)  
| data21       = {{{homing|}}}
+
| data41       = {{{homing|}}}
| label22     = Inaccuracy (deg)  
+
| label42     = Inaccuracy (deg)  
| data22       = {{{inaccuracy|}}}
+
| data42       = {{{inaccuracy|}}}
| label23     = Burst Time (s)  
+
| label43     = Burst Time (s)  
| data23       = {{{bursttime|}}}
+
| data43       = {{{bursttime|}}}
| label24     = Wobbly (maximum, deg/s)
+
| label44     = Wobbly (maximum, deg/s)
| data24       = {{{wobbly|}}}
+
| data44       = {{{wobbly|}}}
| label25     = Arcing shot (deg)
+
| label45     = Arcing shot (deg)
| data25       = {{{arcing|}}}
+
| data45       = {{{arcing|}}}
| label26     = Firing arc (deg)
+
| label46     = Firing arc (deg)
| data26       = {{{firearc|}}}
+
| data46       = {{{firearc|}}}
  
 
| label81    = {{{customlabel1|}}}
 
| label81    = {{{customlabel1|}}}

Revision as of 08:12, 26 June 2016

{{{name}}}
Damage 0


Error creating thumbnail: File missing
Template documentation
[view] [edit] [history] [purge]

Full blank syntax

{{ Infobox zkweapon

<!-- Required fields -->
| name = 
<!-- Optional fields -->
| damage = 
| empdamage =
| slowdamage =
| disarmdamage =

| reloadtime = 

| dps = 
| empdps =
| slowdps =
| disarmdps =

| shielddamage =
| afterburn = 
| afterburndps =
| stuntime = 
| range =
| aoe =
| projectilespeed = 


| inaccuracy =

| homing =
| wobbly = 
| arcing = 
| firearc =

| bursttime =

<!-- leave blank for no, put anything for yes -->
| antiair =
| manualfire =
| wateronly =

<!-- 1-9 available for each -->
| customlabel1 =
| customdata1 = 
| special1 = 

| specialheadercolour = 

}}

Example

Pulse MG
Damage 36 (12 × 3)
Reload Time (s) 0.31
Damage per Second 116
Range (elmo) 185
Area of Effect (elmo) 8
Projectile Speed (elmo/s) 500


{{ Infobox zkweapon
|name = Pulse MG
|damage = 36 (12 × 3)
|reloadtime = 0.31
|dps = 116
|range = 185
|aoe = 8
|projectilespeed = 500
}}