Difference between revisions of "Template:UnitStats"

From Old World Wiki
Jump to navigation Jump to search
m (Need food consume, not growth consume)
m (Adding attributes for African Elephant)
Line 5: Line 5:
|-
|-
| Cost
| Cost
| {{#if: {{{training_cost|}}} | {{icon|training}}{{{training_cost}}} | }} {{#if: {{{growth_cost|}}} | {{icon|growth}}{{{growth_cost}}} | }} {{#if: {{{iron_cost|}}} | {{icon|iron}}{{{iron_cost}}} | }}
| {{#if: {{{training_cost|}}} | {{icon|training}}{{{training_cost}}} | }} {{#if: {{{growth_cost|}}} | {{icon|growth}}{{{growth_cost}}} | }} {{#if: {{{food_cost|}}} | {{icon|food}}{{{food_cost}}} | }} {{#if: {{{iron_cost|}}} | {{icon|iron}}{{{iron_cost}}} | }} {{#if: {{{wood_cost|}}} | {{icon|wood}}{{{wood_cost}}} | }}
|-
|-
| Consumes
| Consumes
Line 22: Line 22:
|-
|-
| 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: {{{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 | }}
|-
| Requires
| {{#if: {{{requires_developing|}}} | Requires Developing Culture | }}{{#if: {{{requires_elephant|}}} | Requires Elephants | }}{{#if: {{{requires_stronghold|}}} | Requires Stronghold | }}
|-
|-
| Requires Tech
| Requires Tech
| {{#if: {{{requires_tech|}}} | {{{requires_tech}}} | }}
| {{#if: {{{requires_tech|}}} | {{{requires_tech}}} | }}
|}
|}

Revision as of 01:20, 5 May 2023

Stats

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