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
wgg>Cadaei
using DRUID
wgg>Cadaei
added caption paramter to example
Line 43: Line 43:
<pre>
<pre>
{{infobox hero
{{infobox hero
| title = Fighter
| title = Swordsman
| image = Fighter.png
| image = Swordsman.png
| caption = ''Point and stab''
| kingdom = Human
| kingdom = Human
| recruiting = Castle on the right
| recruiting = Castle on the right

Revision as of 20:22, 12 December 2024

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

{{infobox hero
| 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 "Heroes". This table has not been created yet.