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
removed stats. added preferredFood
wgg>Cadaei
footer
Line 7: Line 7:
{{infobox data row | Role |{{{role|}}}}}
{{infobox data row | Role |{{{role|}}}}}
{{infobox data row | {{Tooltip|Preferred Food|gives 5 xp when eaten}} |{{{preferredFood|}}}}}
{{infobox data row | {{Tooltip|Preferred Food|gives 5 xp when eaten}} |{{{preferredFood|}}}}}
|}
{{infobox footer}}
[[Category:Units]]</includeonly><noinclude>
[[Category:Units]]</includeonly><noinclude>
This is an infobox template for [[units]].
This is an infobox template for [[units]].

Revision as of 17:59, 3 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
| race = Human
| recruiting = Castle on the right
| costs = {{ItemLink|Stone|quantity=4}}
| upgradeCosts = {{IconLinkSequence|Stone|8|16|32}}
| attackStyle = Melee
| role = Tank
| preferredFood = {{ItemLink|Rabbit}}
}}

Template:Infobox header Template:Infobox data row Template:Infobox data row Template:Infobox data row Template:Infobox data row Template:Infobox data row Template:Infobox data row Template:Infobox data row Template:Infobox footer