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
added onTower cargo field
wgg>Cadaei
cargo fields for relics
Line 50: Line 50:
|onTower=Boolean
|onTower=Boolean
|unreleased=Boolean
|unreleased=Boolean
|requiredForRelic=String
|benefitsFromRelics=List (,) of String
}}
}}
[[Category:infobox templates]]
[[Category:infobox templates]]
[[Category:Cargo storing templates]]</noinclude>
[[Category:Cargo storing templates]]</noinclude>

Revision as of 20:16, 7 November 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}}
| onTower = yes
| damageType = Physical
| element = None
| movement = Infantry
| attackStyle = Melee
| role = Tank
}}

This template defines the table "Units". View table.