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
temporary invisible of incorrect unlocking of units
added default unlocking for units and disabled upgrade for now, should be renamed to promotion anyway
Line 13: Line 13:
   <data source="unlocking">
   <data source="unlocking">
     <label>Unlocking</label>
     <label>Unlocking</label>
     <format></format>
     <default>{{UnitUnlockSmall}}</default>
   </data>
   </data>
   <data source="recruiting">
   <data source="recruiting">
Line 20: Line 20:
   <data source="upgradeCosts">
   <data source="upgradeCosts">
     <label>Upgrade Costs</label>
     <label>Upgrade Costs</label>
<format></format>
   </data>
   </data>
   <group>
   <group>
Line 109: Line 110:
| caption = Point and stab
| caption = Point and stab
| kingdom = Human
| kingdom = Human
| unlocking = d
| unlocking =  
| recruiting = Castle on the right
| recruiting = Castle on the right
| costs = {{ItemLink|Stone|quantity=4}}
| costs = {{ItemLink|Stone|quantity=4}}

Revision as of 02:33, 23 April 2026

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.