Template:UnitData getData

From Zero-K
Revision as of 21:21, 22 June 2024 by RandomX (talk | contribs) (Initial code.)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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.