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
label fix
wgg>Cadaei
added isGuardian cargo table field
Line 38: Line 38:
|unlocking = {{{unlocking|}}}
|unlocking = {{{unlocking|}}}
|kingdom = {{{kingdom|}}}
|kingdom = {{{kingdom|}}}
|isGuardian = {{#if:{{{isGuardian|}}}|1|0}}
|damageType = {{{damageType|}}}
|damageType = {{{damageType|}}}
|element = {{{element|}}}
|element = {{{element|}}}
Line 69: Line 70:
|unlocking=String
|unlocking=String
|kingdom=String
|kingdom=String
|isGuardian=Boolean
|damageType=String
|damageType=String
|element=String
|element=String

Revision as of 20:53, 25 September 2025

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.