Difference between revisions of "Template:UnitStats"

From Old World Wiki
Jump to navigation Jump to search
m (adding mounted and elephant types)
(Trying #replace as a way to implement upgrades_from list)
Line 23: Line 23:
| Notes
| Notes
| {{#if: {{{ignore_zoc|}}} | * Ignores ZOC | }}{{#if: {{{has_zoc|}}} | * Has ZOC | }}{{#if: {{{start_stealth|}}} | * Starts with Stealth | }}{{#if: {{{start_antiinf2|}}} | * Starts with Anti-Infantry II | }}{{#if: {{{start_cleave2|}}} | * Starts with Cleave II | }}{{#if: {{{start_panic|}}} | * Starts with Panic | }}{{#if: {{{start_rout|}}} | * Starts with Rout | }}
| {{#if: {{{ignore_zoc|}}} | * Ignores ZOC | }}{{#if: {{{has_zoc|}}} | * Has ZOC | }}{{#if: {{{start_stealth|}}} | * Starts with Stealth | }}{{#if: {{{start_antiinf2|}}} | * Starts with Anti-Infantry II | }}{{#if: {{{start_cleave2|}}} | * Starts with Cleave II | }}{{#if: {{{start_panic|}}} | * Starts with Panic | }}{{#if: {{{start_rout|}}} | * Starts with Rout | }}
{{#if: {{{upgrades_from|}}} |
{{!}}-
{{!}} Upgrades from
{{!}} {{#replace:{{{upgrades_from|}}},(.*),* $1{{!}}}} | }}
{{#if: {{{upgrades_to|}}} |
{{#if: {{{upgrades_to|}}} |
{{!}}-
{{!}}-

Revision as of 01:41, 7 May 2023

Stats

Cost
Consumes
HP {{{hp}}}
Movement {{{mov}}}
Strength {{{str}}}
Vision {{{vis}}}
Actions
Notes


Requires
Requires Tech