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 magic attack style |
wgg>Cadaei combat section header |
||
| Line 16: | Line 16: | ||
-->{{infobox data row | Costs|{{{costs|}}}}}<!-- | -->{{infobox data row | Costs|{{{costs|}}}}}<!-- | ||
-->{{infobox data row | Upgrade Costs|{{{upgradeCosts|}}}}}<!-- | -->{{infobox data row | Upgrade Costs|{{{upgradeCosts|}}}}}<!-- | ||
-->{{infobox section header|Combat}}<!-- | |||
-->{{#if:{{{damageType|}}}|{{#switch: {{{damageType}}} | -->{{#if:{{{damageType|}}}|{{#switch: {{{damageType}}} | ||
| Physical = [[Category:Physical damage]]{{#vardefine:damageType|{{ItemLink|Physical Damage|Physical}}}} | | Physical = [[Category:Physical damage]]{{#vardefine:damageType|{{ItemLink|Physical Damage|Physical}}}} | ||
Revision as of 12:34, 14 October 2023
This is an infobox template for units. Use it on unit pages, e.g. like this
{{infobox unit
| name = Fighter
| image = Fighter.png
| kingdom = Human
| recruiting = Castle on the right
| costs = {{ItemLink|Stone|quantity=4}}
| upgradeCosts = {{IconLinkSequence|Stone|8|16|32}}
| damageType = Physical
| element = None
| movement = Infantry
| attackStyle = Melee
| role = Tank
}}
Template:Infobox headerTemplate:Infobox data rowTemplate:Infobox data rowTemplate:Infobox data rowTemplate:Infobox data rowTemplate:Infobox section headerTemplate:Infobox data rowTemplate:Infobox data rowTemplate:Infobox data rowTemplate:Infobox data rowTemplate:Infobox data rowTemplate:Infobox footer


