Difference between revisions of "Template:UnitStats"

From Old World Wiki
Jump to navigation Jump to search
m (fixing the foreach hopefully)
m (Trying #replace as a way to implement upgrades_from list, again)
Line 26: Line 26:
{{!}}-
{{!}}-
{{!}} Upgrades from
{{!}} Upgrades from
{{!}} {{#foreach: {{#explode: {{{upgrades_from{{!}}}}} {{!}},}} {{!}}value
{{!}} {{#replace: {{{upgrades_from{{!}}}}}{{!}},{{!}}* }}
* {{{value}}}
}}
| }}
{{#if: {{{upgrades_to|}}} |
{{#if: {{{upgrades_to|}}} |
{{!}}-
{{!}}-

Revision as of 02:11, 7 May 2023

Stats

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

{{#if: |

Upgrades from }}}|,|* }}
Requires
Requires Tech