Please note that some information on this wiki is still based on the demo version.
If you notice any errors, feel free to correct them.

Template:Infobox unit: Difference between revisions

From Super Fantasy Kingdom Official Wiki
fix for empty values in table?
added noCargo
Line 103: Line 103:
}}
}}
</pre>
</pre>
{{infobox unit
{{noCargo}}{{infobox unit
| title = Swordsman
| title = Swordsman
| image = Swordsman.png
| image = Swordsman.png

Revision as of 13:41, 13 February 2026

This is an infobox template for units. Use it on unit pages, e.g. like this

{{infobox unit
| title = Swordsman
| image = Swordsman.png
| caption = Point and stab
| kingdom = Human
| recruiting = Castle on the right
| costs = {{ItemLink|Stone|quantity=4}}
| upgradeCosts = {{IconLinkSequence|Stone|8|16|32}}
| onTower = yes
| damageType = Physical
| element = None
| movement = Infantry
| attackStyle = Melee
| role = Tank
}}

This template defines the table "Units". View table.