Difference between revisions of "Template:Infobox zkunit/doc"

From Zero-K
Jump to navigation Jump to search
(create doc)
 
m (→‎Full blank syntax: Add new tags)
 
(7 intermediate revisions by one other user not shown)
Line 6: Line 6:
 
name =
 
name =
 
<!-- Optional fields -->
 
<!-- Optional fields -->
 +
unitname =
 +
defname =
 
description =
 
description =
 
image =
 
image =
 +
icontype =
 
cost =
 
cost =
 
hitpoints =
 
hitpoints =
Line 14: Line 17:
 
turnrate =
 
turnrate =
 
energy =
 
energy =
vision =
+
sight =
 
sonar =
 
sonar =
 
transportable =
 
transportable =
sonar =
+
altitude =
 
gridlink =
 
gridlink =
  
 +
abilities =
 +
<!-- Get Template:Infobox zkability ### -->
 
weapons =
 
weapons =
 +
<!-- Get Template:Infobox zkweapon -->
 +
}}
  
abilities =
 
  
}}
+
</pre>
  
 +
Discrepancies between this representation and the context menu ingame:
 +
(The following list may not be exhaustive.)
  
</pre>
+
* Ingame shields are represented as weapons.
 +
* Ingame EMP/slow/disarm weapon damage is in the same entry as ordinary damage.

Latest revision as of 21:44, 5 August 2017

Full blank syntax[edit]


{{ 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.