Difference between revisions of "Template:Infobox zkunit"
Jump to navigation
Jump to search
(Ended up leaving it the way it was...) |
(Attempt to break up some long descriptions. Put internal name under name instead of inline.) |
||
Line 6: | Line 6: | ||
|subheaderstyle = | |subheaderstyle = | ||
|title = | |title = | ||
− | |above = {{{name}}}{{#if:{{{defname|}}}| | + | |above = {{{name}}}{{#if:{{{defname|}}}|<br>({{{defname}}})}} |
− | |subheader = {{{description|}}} | + | |subheader = {{#invoke:String|replace|{{{description|}}}| - |<hr>}} |
|imagestyle = | |imagestyle = |
Revision as of 08:40, 31 August 2024
{{{name}}} | |
---|---|
Stats | |
Weapons | |
None |
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.
The above documentation is transcluded from Template:Infobox zkunit/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (edit) pages. Please add categories to the /doc subpage. Subpages of this template. |