Template:UnitData getData

From Zero-K
Revision as of 20:28, 22 June 2024 by RandomX (talk | contribs) (Can return a custom string instead of 0..)
Jump to navigation Jump to search


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

A convenience template to allow using auto-generated unit data in text.

The first parameter is the internal name of the unit, the second is the name of the property. The third is what to print if the property doesn't exist for that unit.