Difference between revisions of "Template:Infobox zkunit"

From Zero-K
Jump to navigation Jump to search
m (Revert screwing with unitpic)
(display internal name)
Line 7: Line 7:
 
  |subheaderstyle =
 
  |subheaderstyle =
 
  |title        =  
 
  |title        =  
  |above        = {{{name}}}
+
  |above        = {{{name}}} {{#if:{{{defname|}}}|({{{defname}}})}}
 
  |subheader    = {{{description|}}}
 
  |subheader    = {{{description|}}}
  

Revision as of 19:03, 24 May 2018


{{{name}}}
Stats
Weapons
None


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.