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
m linebreak for readability
wgg>RheingoldRiver
No edit summary
Line 22: Line 22:
|onTower={{#ifeq:{{{onTower|}}}|yes|1|0}}
|onTower={{#ifeq:{{{onTower|}}}|yes|1|0}}
|unreleased={{#if:{{#var:unreleased}}|{{#var:unreleased}}|0}}
|unreleased={{#if:{{#var:unreleased}}|{{#var:unreleased}}|0}}
|    unlocking={{{    unlocking|}}}
|    kingdom={{{    kingdom|}}}
|    damageType={{{    damageType|}}}
|    element={{{    element|}}}
|    movement={{{    movement|}}}
|    attackStyle={{{    attackStyle|}}}
|    role={{{    role|}}}
|    requiredForRelics={{{    requiredForRelics|}}}
|    benefitsFromRelics={{{    benefitsFromRelics|}}}
}}}}</includeonly><noinclude>
}}}}</includeonly><noinclude>
This is an infobox template for [[heroes]].
This is an infobox template for [[heroes]].

Revision as of 23:29, 1 December 2024

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

{{infobox hero
| name = Fighter
| image = Fighter.png
| 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.