Difference between revisions of "Template:UnitStats"

From Old World Wiki
Jump to navigation Jump to search
m (→‎Stats: abbreviated parameter names)
(Add a unit category)
 
(29 intermediate revisions by the same user not shown)
Line 2: Line 2:
{|class="wikitable"
{|class="wikitable"
|-
|-
|colspan=2| '''Infantry'''
|colspan=2| {{#if: {{{melee_type|}}} | '''Melee''' | }} {{#if: {{{infantry_type|}}} | '''Infantry''' | }} {{#if: {{{mounted_type|}}} | '''Mounted''' | }} {{#if: {{{elephant_type|}}} | '''Elephant''' | }}
|-
|-
| Cost || {{icon|growth}}60
| 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
| {{#if: {{{training_consume|}}} | {{icon|training}}{{{training_consume}}} | }} {{#if: {{{food_consume|}}} | {{icon|food}}{{{food_consume}}} | }} {{#if: {{{iron_consume|}}} | {{icon|iron}}{{{iron_consume}}} | }}
|-
|-
| HP || {{{hp}}}
| HP || {{{hp}}}
Line 15: Line 19:
|-
|-
| Actions  
| Actions  
|
| {{#if: {{{can_found|}}} | * Found City }} {{#if: {{{can_harvest|}}} | * Harvest Resource | }} {{#if: {{{can_fortify|}}} | * Fortify | }}
* Harvest Resource
|-
|-
| 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 | }}
* Ignores ZOC
{{#if: {{{upgrades_to|}}} |
* Starts with Stealth
{{!}}-
{{!}} Upgrades to
{{!}} {{{upgrades_to|}}} | }}
|-
| Requires
| {{#if: {{{requires_developing|}}} | * Requires Developing Culture | }}{{#if: {{{requires_elephant|}}} | * Requires Elephants | }}{{#if: {{{requires_stronghold|}}} | * Requires Stronghold | }}
|-
| Requires Tech
| {{#if: {{{requires_tech|}}} | {{{requires_tech}}} | }}
|}
|}
[[Category:Units]]

Latest revision as of 18:01, 21 July 2023

Stats[edit]

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