Difference between revisions of "Template:Infobox zkunit"

From Zero-K
Jump to navigation Jump to search
Line 53: Line 53:
 
  | data12      = {{{gridlink|}}}
 
  | data12      = {{{gridlink|}}}
  
  | header30   = Weapons
+
  | header40    = {{#if: {{{abilities|}}} | Abilities |  }}
 +
 
 +
| data41      = {{{abilities|}}}
 +
 
 +
| header50   = Weapons
 
   
 
   
  | data31     = {{{weapons|None}}}
+
  | data51     = {{{weapons|None}}}
  
| header32    = {{#if: {{{abilities|}}} | Abilities |  }}
 
  
| data33      = {{{abilities|}}}
 
  
 
}}
 
}}

Revision as of 20:52, 26 June 2016

{{{name}}}
Stats
Weapons
None


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

Full blank syntax


{{ Infobox zkunit
<!-- Required fields -->
name =
<!-- Optional fields -->
unitname =
defname =
description =
image =
icontype =
cost =
hitpoints =
mass =
movespeed =
turnrate =
energy =
sight =
sonar =
transportable =
altitude =
gridlink =

abilities =
<!-- Get Template:Infobox zkability ### -->
weapons =
<!-- Get Template:Infobox zkweapon -->
}}


Discrepancies between this representation and the context menu ingame: (The following list may not be exhaustive.)

  • Ingame shields are represented as weapons.
  • Ingame EMP/slow/disarm weapon damage is in the same entry as ordinary damage.