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
removed redundant, non-working parameter |
fix for kingdom bonus ItemLink |
||
| Line 46: | Line 46: | ||
<data> | <data> | ||
<label>Resistance</label> | <label>Resistance</label> | ||
<default> | <default>{{kingdom bonus|{{{kingdom|}}}|resistance|ItemLink}}</default> | ||
</data> | </data> | ||
<data> | <data> | ||
<label>Weakness</label> | <label>Weakness</label> | ||
<default> | <default>{{kingdom bonus|{{{kingdom|}}}|weakness|ItemLink}}</default> | ||
</data> | </data> | ||
</group> | </group> | ||
Revision as of 22:47, 12 November 2025
This is an infobox template for units. Use it on unit pages, e.g. like this
{{infobox unit
| 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 "Units". View table.


