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
race -> kingdom
wgg>Cadaei
magic damage fix
Line 43: Line 43:
       | Ranged
       | Ranged
       | Summoner = [[Category:{{{attackStyle}}}]]{{#vardefine:attackStyle|{{ItemLink|{{{attackStyle}}}}}}}
       | Summoner = [[Category:{{{attackStyle}}}]]{{#vardefine:attackStyle|{{ItemLink|{{{attackStyle}}}}}}}
       | Magic = [[Category:Magic damage]]{{#vardefine:attackStyle|{{ItemLink|Magic damage}}}}
       | Magic = [[Category:Magic damage]]{{#vardefine:attackStyle|{{ItemLink|Magic damage|Magic}}}}
       | #default = {{#vardefine:attackStyle|{{{attackStyle}}}}}
       | #default = {{#vardefine:attackStyle|{{{attackStyle}}}}}
       }}<!--
       }}<!--

Revision as of 20:24, 12 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 data rowTemplate:Infobox data rowTemplate:Infobox data rowTemplate:Infobox data rowTemplate:Infobox data rowTemplate:Infobox footer