Difference between pages "Zeno" and "Template:Autoinfobox zkunit"

From Zero-K
(Difference between pages)
Jump to navigation Jump to search
(Weapon override)
 
m (Try getting the image by defname.)
 
Line 1: Line 1:
The '''{{PAGENAME}}''' is a slow homing missile from the [[Missile Silo]].{{Autoinfobox zkunit
+
<includeonly>{{ Infobox zkunit
| defname = missileslow
+
<!-- Required fields -->
| weapons =  
+
|defname = {{{defname}}}
{{ Infobox zkweapon
+
|name = {{{name|{{#invoke:UnitData|getData|{{{defname}}}|name}}}}}
| name = {{#invoke:WeaponData|getData|missileslow_weapon|name}}
+
<!-- Optional fields -->
| type = StarburstLauncher
+
|unitname =  
| damage = {{#invoke:WeaponData|getData|missileslow_weapon|damage}}
+
|description = {{{description|{{#invoke:UnitData|getData|{{{defname}}}|description}}}}}
| slowdamage = {{#invoke:WeaponData|getData|missileslow_weapon|slowdamage}}
+
|image = {{{image|{{{defname}}}}}}
| range = {{#invoke:WeaponData|getData|missileslow_weapon|range}}
+
|icontype = {{{icontype|{{#invoke:UnitData|getData|{{{defname}}}|icontype}}}}}
| aoe = 0
+
|cost = {{{cost|{{#invoke:UnitData|getData|{{{defname}}}|cost}}}}}
| projectilespeed = {{#invoke:WeaponData|getData|missileslow_weapon|projectilespeed}}
+
|hitpoints = {{{hitpoints|{{#invoke:UnitData|getData|{{{defname}}}|hitpoints}}}}}
| customlabel1 = Ground Slow DPS
+
|mass = {{{mass|{{#invoke:UnitData|getData|{{{defname}}}|mass}}}}}
| customdata1 = 190
+
|movespeed = {{{movespeed|{{#invoke:UnitData|getData|{{{defname}}}|movespeed}}}}}
| customlabel2 = Ground Slow radius (elmo)
+
|turnrate = {{{turnrate|{{#invoke:UnitData|getData|{{{defname}}}|turnrate}}}}}
| customdata2 = 320
+
|energy = {{{energy|{{#invoke:UnitData|getData|{{{defname}}}|energy}}}}}
| customlabel3 = Ground Slow duration (s)
+
|sight = {{{sight|{{#invoke:UnitData|getData|{{{defname}}}|sight}}}}}
| customdata3 = 30
+
|sonar = {{{sonar|{{#invoke:UnitData|getData|{{{defname}}}|sonar}}}}}
}}
+
|transportable = {{{transportable|{{#invoke:UnitData|getData|{{{defname}}}|transportable}}}}}
}}==Description==
+
|altitude = {{{altitude|{{#invoke:UnitData|getData|{{{defname}}}|altitude}}}}}
Zeno is an experimental single impact slowing device with a lingering slow AOE.
+
|gridlink = {{{gridlink|{{#invoke:UnitData|getData|{{{defname}}}|gridlink}}}}}
  
== Tactics and Strategy ==
+
|abilities = {{{abilities|{{#invoke:UnitData|printAbilityInfoboxes|{{{defname}}}|true}} }}}
With the immense slow damage it applies to the primary target along with its unique homing capabilities and range equal to the [[Quake]]. The Zeno can be used to help catch enemy key targets from almost any distance. However, the lingering zone that it spawns can also make it difficult to follow up with your own units, as the zone affects every unit inside.
+
|weapons = {{{weapons|{{#invoke:UnitData|printWeaponInfoboxes|{{{defname}}}|true}} }}}
 
+
}}</includeonly>
Keep in mind the slow speed of the missile, which can slightly delay a prepared attack but also give the enemy room to react.
+
<noinclude>
 
+
{{Documentation}}
{{Navbox units}}
+
<!-- Please add categories and interwiki links to /doc subpage, not here! -->
 +
</noinclude>

Revision as of 16:53, 22 June 2024


Template documentation[view] [edit] [history] [purge]

This template uses Module:UnitData to autogenerate unit infoboxes, transcluding and filling in Template:Infobox zkunit data from Module:UnitData/data. Specific tags can be overridden by manually specifying them, if necessary.

Example usage:

{{Autoinfobox zkunit
|defname=striderdetriment
|name=Name override
}}

The module can also be invoked directly without this template to generate an infobox (note that output may not be identical in some cases; observed with automatic detection of buildpic on Reef):

{{#invoke:UnitData|printInfobox|defname=striderdetriment|name=Name override}}

When invoking from module, defname may be passed as an anonymous parameter instead.

For more information, see the module page.