Difference between revisions of "Template:Infobox zkweapon"

From Zero-K
Jump to navigation Jump to search
m
(Removed extra space above and below.)
 
(3 intermediate revisions by 3 users not shown)
Line 1: Line 1:
 
<noinclude>[[Category:ZK Infoboxes]]</noinclude>
 
<noinclude>[[Category:ZK Infoboxes]]</noinclude>
 
+
{{ infobox | subbox = yes
{{ infobox
 
 
| abovestyle = background:#bbb; color:#000
 
| abovestyle = background:#bbb; color:#000
 
| above =  
 
| above =  
Line 27: Line 26:
 
| label24      =  <span style="color: #fbb">Afterburn (s)</span>
 
| label24      =  <span style="color: #fbb">Afterburn (s)</span>
 
| data24      = {{ #if: {{{afterburn|}}} | <span style="color: #fbb">{{{afterburn|}}} ({{{afterburndps|15}}} DPS)</span> | }}
 
| data24      = {{ #if: {{{afterburn|}}} | <span style="color: #fbb">{{{afterburn|}}} ({{{afterburndps|15}}} DPS)</span> | }}
| label25      = Stun Time (s)  
+
| label25      = Max Stun Time (s)  
 
| data25      = {{{stuntime|}}}
 
| data25      = {{{stuntime|}}}
 
| label26      = Range (elmo)
 
| label26      = Range (elmo)
 
| data26      = {{{range|}}}
 
| data26      = {{{range|}}}
 
| label27      = Area of Effect (elmo)
 
| label27      = Area of Effect (elmo)
| data27      = {{#iferror: {{#expr:{{{impactonly|}}}=1}}||{{{aoe|}}}}}
+
| data27      = {{{aoe|}}}
 
| label28      = Projectile Speed (elmo/s)  
 
| label28      = Projectile Speed (elmo/s)  
 
| data28      = {{{projectilespeed|}}}
 
| data28      = {{{projectilespeed|}}}
Line 82: Line 81:
 
| data99      = {{{special9|}}}
 
| data99      = {{{special9|}}}
 
}}
 
}}
 
 
<noinclude>
 
<noinclude>
 
{{Documentation}}
 
{{Documentation}}
 
<!-- Please add categories and interwiki links to /doc subpage, not here! -->
 
<!-- Please add categories and interwiki links to /doc subpage, not here! -->
 
</noinclude>
 
</noinclude>

Latest revision as of 18:37, 24 October 2021

{{{name}}}
Damage 0
Error creating thumbnail: File missing
Template documentation
[view] [edit] [history] [purge]

Full blank syntax[edit]

{{ 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[edit]

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