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 display no if not placeable in tower |
wgg>Cadaei resistance and weakness |
||
| Line 13: | Line 13: | ||
|combat_label = Combat | |combat_label = Combat | ||
|combat = onTower, damageType, element, movement, attackStyle, role | |combat = onTower, damageType, element, movement, attackStyle, role, resistance, weakness | ||
|onTower_label = Placeable on tower | |onTower_label = Placeable on tower | ||
|onTower = {{#ifeq:{{{onTower|}}}|yes|[[File:Tower.png|20px]] yes{{#if:{{#var:noAutoCategories}}||[[Category:Heroes placeable in towers]]}}|{{{onTower|no}}}[[Category:Heroes not placeable in towers]]}} | |onTower = {{#ifeq:{{{onTower|}}}|yes|[[File:Tower.png|20px]] yes{{#if:{{#var:noAutoCategories}}||[[Category:Heroes placeable in towers]]}}|{{{onTower|no}}}[[Category:Heroes not placeable in towers]]}} | ||
| Line 26: | Line 26: | ||
|role_label = Role | |role_label = Role | ||
|role = {{roleDisplay|{{{role|}}}|1}} | |role = {{roleDisplay|{{{role|}}}|1}} | ||
|resistance = {{itemlink|{{kingdom bonus|{{{kingdom|}}}|resistance}}}} | |||
|weakness = {{itemlink|{{kingdom bonus|{{{kingdom|}}}|weakness}}}} | |||
}} | }} | ||
[[Category:Heroes]] | [[Category:Heroes]] | ||
Revision as of 15:53, 27 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.


