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
No edit summary
fixed copy paste mistakes
Line 68: Line 68:
|name = {{{title|{{PAGENAME}}}}}
|name = {{{title|{{PAGENAME}}}}}
|onTower = {{#ifeq:{{{onTower|}}}|yes|1|0}}
|onTower = {{#ifeq:{{{onTower|}}}|yes|1|0}}
|onWall = {{#ifeq:{{{onTower|}}}|yes|1|0}}
|onWall = {{#ifeq:{{{onWall|}}}|yes|1|0}}
|onBench = {{#ifeq:{{{onTower|}}}|yes|1|0}}
|onBench = {{#ifeq:{{{onBench|}}}|yes|1|0}}
|unreleased = {{#if:{{#var:unreleased}}|{{#var:unreleased}}|0}}
|unreleased = {{#if:{{#var:unreleased}}|{{#var:unreleased}}|0}}
|unlocking = {{{unlocking|}}}
|unlocking = {{{unlocking|}}}
Line 132: Line 132:
|onTower=Boolean
|onTower=Boolean
|onWall=Boolean
|onWall=Boolean
|onWall=Boolean
|onBench=Boolean
|unreleased=Boolean
|unreleased=Boolean
|requiredForRelics=String
|requiredForRelics=String

Revision as of 10:48, 12 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.