Difference between revisions of "Template:Infobox zkweapon"

From Zero-K
Jump to navigation Jump to search
Line 2: Line 2:
 
| abovestyle = background:#bbb; color:#000
 
| abovestyle = background:#bbb; color:#000
 
| above =  
 
| above =  
| headerstyle = {{#if: {{{empdamage|}}} | background:#bbf; | {{#if: {{{slowdamage|}}} | background:#fbf; | {{#if: {{{disarmdamage|}}} | background:#ffb; | background:#bbb; }} }} }} color:#000;{{#if: {{{manualfire|}}} | <span style="color: red">Manual Fire</span> | }}
+
| headerstyle = {{#if: {{{empdamage|}}} | background:#bbf; | {{#if: {{{slowdamage|}}} | background:#fbf; | {{#if: {{{disarmdamage|}}} | background:#ffb; | background:#bbb; }} }} }} color:#000; {{#if: {{{manualfire|}}} | border: 1px solid red; | }}
 
| labelstyle =  
 
| labelstyle =  
 
| datastyle = text-align: center;
 
| datastyle = text-align: center;
  
 
| header1 = {{{name}}}
 
| header1 = {{{name}}}
| header201 = {{#if: {{{manualfire|}}} | Manual Fire | }}
+
| header2 = {{#if: {{{manualfire|}}} | <span style="color: red">Manual Fire</span> | }}
  
| label2     = Damage
+
| label3     = Damage
| data2       = {{{damage|0}}}
+
| data3       = {{{damage|0}}}
| label3     = <span style="color: #bbf">EMP Damage</span>
+
| label4     = <span style="color: #bbf">EMP Damage</span>
| data3       = {{#if: {{{empdamage|}}} | <span style="color: #bbf">{{{empdamage|}}}</span> |  }}  
+
| data4       = {{#if: {{{empdamage|}}} | <span style="color: #bbf">{{{empdamage|}}}</span> |  }}  
| label4     = <span style="color: #fbf">Slow Damage</span>
+
| label5     = <span style="color: #fbf">Slow Damage</span>
| data4       = {{#if: {{{slowdamage|}}} | <span style="color: #fbf">{{{slowdamage|}}}</span> |  }}
+
| data5       = {{#if: {{{slowdamage|}}} | <span style="color: #fbf">{{{slowdamage|}}}</span> |  }}
| label5     = <span style="color: #ffb">Disarm Damage</span>
+
| label6     = <span style="color: #ffb">Disarm Damage</span>
| data5       = {{#if: {{{disarmdamage|}}} | <span style="color: #ffb">{{{disarmdamage|}}}</span> |  }}   
+
| data6       = {{#if: {{{disarmdamage|}}} | <span style="color: #ffb">{{{disarmdamage|}}}</span> |  }}   
  
 
| label11      = Reload Time (s)
 
| label11      = Reload Time (s)

Revision as of 06:52, 26 June 2016

{{{name}}}
Damage 0
Damage per Second 0


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
}}