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 = color:#000; {{#if: {{{specialheadercolour|}}} | {{{specialheadercolour|}}} | {{#if: {{{empdamage|}}} | background:#bbf; | {{#if: {{{slowdamage|}}} | background:#fbf; | {{#if: {{{disarmdamage|}}} | background:#ffb; | {{#if: {{{afterburn|}}} | background:#fbb; | background:#bbb; }} }} }} }} }}  {{#if: {{{manualfire|}}} | border: 2px solid red; | }} {{#if: {{{antiair|}}} | border: 2px solid blue; | }}
+
| headerstyle = color:#000; {{#if: {{{specialheadercolour|}}} | {{{specialheadercolour|}}} | {{#if: {{{empdamage|}}} | background:#bbf; | {{#if: {{{slowdamage|}}} | background:#fbf; | {{#if: {{{disarmdamage|}}} | background:#ffb; | {{#if: {{{afterburn|}}} | background:#fbb; | background:#bbb; }} }} }} }} }}  {{#if: {{{manualfire|}}} | border: 2px solid red; | }} {{#if: {{{antiair|}}} | border: 2px solid #88f; | }} {{#if: {{{wateronly|}}} | border: 2px solid blue; | }}
 
| labelstyle =  
 
| labelstyle =  
 
| datastyle = text-align: center;
 
| datastyle = text-align: center;

Revision as of 19:39, 26 June 2016

{{{name}}}
Damage 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
}}