Difference between revisions of "Template:UnitStats"
Jump to navigation
Jump to search
Decamerone (talk | contribs) m (tweaking syntax of row conditional) |
Decamerone (talk | contribs) (Add a unit category) |
||
(13 intermediate revisions by the same user not shown) | |||
Line 2: | Line 2: | ||
{|class="wikitable" | {|class="wikitable" | ||
|- | |- | ||
|colspan=2| {{#if: {{{melee_type|}}} | '''Melee''' | }} {{#if: {{{infantry_type|}}} | '''Infantry''' | }} | |colspan=2| {{#if: {{{melee_type|}}} | '''Melee''' | }} {{#if: {{{infantry_type|}}} | '''Infantry''' | }} {{#if: {{{mounted_type|}}} | '''Mounted''' | }} {{#if: {{{elephant_type|}}} | '''Elephant''' | }} | ||
|- | |- | ||
| Cost | | Cost | ||
Line 19: | Line 19: | ||
|- | |- | ||
| Actions | | Actions | ||
| {{#if: {{{can_harvest|}}} | * Harvest Resource | }} {{#if: {{{can_fortify|}}} | * Fortify | }} | | {{#if: {{{can_found|}}} | * Found City }} {{#if: {{{can_harvest|}}} | * Harvest Resource | }} {{#if: {{{can_fortify|}}} | * Fortify | }} | ||
|- | |- | ||
| 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_to|}}} {{!}} | {{#if: {{{upgrades_to|}}} | | ||
{{!}}- | |||
{{!}} Upgrades to | |||
{{!}} {{{upgrades_to|}}} | }} | |||
}} | |||
|- | |- | ||
| Requires | | Requires | ||
Line 35: | Line 34: | ||
| {{#if: {{{requires_tech|}}} | {{{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 |