Difference between revisions of "Template:Infobox zkweapon"
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|}}} | | + | | 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}}} | ||
− | | | + | | header2 = {{#if: {{{manualfire|}}} | <span style="color: red">Manual Fire</span> | }} |
− | | | + | | label3 = Damage |
− | | | + | | data3 = {{{damage|0}}} |
− | | | + | | label4 = <span style="color: #bbf">EMP Damage</span> |
− | | | + | | data4 = {{#if: {{{empdamage|}}} | <span style="color: #bbf">{{{empdamage|}}}</span> | }} |
− | | | + | | label5 = <span style="color: #fbf">Slow Damage</span> |
− | | | + | | data5 = {{#if: {{{slowdamage|}}} | <span style="color: #fbf">{{{slowdamage|}}}</span> | }} |
− | | | + | | label6 = <span style="color: #ffb">Disarm Damage</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 |
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 }}
The above documentation is transcluded from Template:Infobox zkweapon/doc. (edit | history) Editors can experiment in this template's sandbox (edit | diff) and testcases (edit) pages. Please add categories to the /doc subpage. Subpages of this template. |