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 cat for non tower heroes |
wgg>Cadaei new div infobox |
||
| Line 1: | Line 1: | ||
<includeonly>{{infobox header|name={{{name|{{PAGENAME}}}}}|image={{{image|{{PAGENAME}}.png}}}|info={{{info|}}}}}<!-- | <includeonly>{{infobox header|name={{{name|{{PAGENAME}}}}}|image={{{image|{{PAGENAME}}.png}}}|info={{{info|}}}}}<!-- | ||
-->{{infobox data row | Kingdom | {{kingdomDisplay|{{{kingdom|}}}|1}}}}<!-- | -->{{infobox section|{{infobox data row | Kingdom | {{kingdomDisplay|{{{kingdom|}}}|1}}}}<!-- | ||
-->{{infobox data row | Unlocking |{{{unlocking|}}}}}<!-- | -->{{infobox data row | Unlocking |{{{unlocking|}}}}}<!-- | ||
-->{{infobox data row | Recruiting|{{{recruiting|}}}}}<!-- | -->{{infobox data row | Recruiting|{{{recruiting|}}}}}<!-- | ||
-->{{infobox data row | Costs|{{{costs|}}}}}<!-- | -->{{infobox data row | Costs|{{{costs|}}}}}<!-- | ||
-->{{infobox data row | Upgrade Costs|{{{upgradeCosts|}}}}}<!-- | -->{{infobox data row | Upgrade Costs|{{{upgradeCosts|}}}}}<!-- | ||
-->}}<!-- | |||
-->{{#if:{{{damageType|}}}{{{element|}}}{{{movement|}}}{{{attackStyle|}}}{{{role|}}}|<!-- | -->{{#if:{{{damageType|}}}{{{element|}}}{{{movement|}}}{{{attackStyle|}}}{{{role|}}}|<!-- | ||
-->{{infobox section header| | -->{{infobox section|header=Combat|<!-- | ||
-->{{infobox data row | Placeable in tower | {{#ifeq:{{{onTower|}}}|yes|[[File:Tower.png|20px]] yes{{#if:{{#var:noAutoCategories}}||[[Category:Heroes placeable in towers]]}}|{{{onTower|}}}[[Category:Heroes not placeable in towers]]}}}}<!-- | -->{{infobox data row | Placeable in tower | {{#ifeq:{{{onTower|}}}|yes|[[File:Tower.png|20px]] yes{{#if:{{#var:noAutoCategories}}||[[Category:Heroes placeable in towers]]}}|{{{onTower|}}}[[Category:Heroes not placeable in towers]]}}}}<!-- | ||
-->{{infobox data row | Damage Type | {{damageTypeDisplay|{{{damageType|}}}|1}}}}<!-- | -->{{infobox data row | Damage Type | {{damageTypeDisplay|{{{damageType|}}}|1}}}}<!-- | ||
| Line 13: | Line 14: | ||
-->{{infobox data row | Attack Style | {{attackStyleDisplay|{{{attackStyle|}}}|1}}}}<!-- | -->{{infobox data row | Attack Style | {{attackStyleDisplay|{{{attackStyle|}}}|1}}}}<!-- | ||
-->{{infobox data row | Role | {{roleDisplay|{{{role|}}}|1}}}}<!-- | -->{{infobox data row | Role | {{roleDisplay|{{{role|}}}|1}}}}<!-- | ||
-->}}<!-- | -->}}}}<!-- | ||
-->{{infobox footer}} | -->{{infobox footer}} | ||
[[Category:Heroes]] | [[Category:Heroes]] | ||
Revision as of 23:43, 28 December 2023
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.


