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 footer |
wgg>Emilyba added movement to infobox |
||
| Line 4: | Line 4: | ||
{{infobox data row | Costs|{{{costs|}}}}} | {{infobox data row | Costs|{{{costs|}}}}} | ||
{{infobox data row | Upgrade Costs|{{{upgradeCosts|}}}}} | {{infobox data row | Upgrade Costs|{{{upgradeCosts|}}}}} | ||
{{infobox data row | Movement |{{{movement|}}}}} | |||
{{infobox data row | Attack Style |{{{attackStyle|}}}}} | {{infobox data row | Attack Style |{{{attackStyle|}}}}} | ||
{{infobox data row | Role |{{{role|}}}}} | {{infobox data row | Role |{{{role|}}}}} | ||
| Line 19: | Line 20: | ||
| costs = {{ItemLink|Stone|quantity=4}} | | costs = {{ItemLink|Stone|quantity=4}} | ||
| upgradeCosts = {{IconLinkSequence|Stone|8|16|32}} | | upgradeCosts = {{IconLinkSequence|Stone|8|16|32}} | ||
| attackStyle = Melee | | movement = {{ItemLink|Calvary}} | ||
| role = Tank | | attackStyle = {{ItemLink|Melee}} | ||
| role = {{ItemLink|Tank}} | |||
| preferredFood = {{ItemLink|Rabbit}} | | preferredFood = {{ItemLink|Rabbit}} | ||
}} | }} | ||
| Line 31: | Line 33: | ||
| costs = {{ItemLink|Stone|quantity=4}} | | costs = {{ItemLink|Stone|quantity=4}} | ||
| upgradeCosts = {{IconLinkSequence|Stone|8|16|32}} | | upgradeCosts = {{IconLinkSequence|Stone|8|16|32}} | ||
| attackStyle = Melee | | movement = {{ItemLink|Infantry}} | ||
| role = Tank | | attackStyle = {{ItemLink|Melee}} | ||
| role = {{ItemLink|Tank}} | |||
| preferredFood = {{ItemLink|Rabbit}} | | preferredFood = {{ItemLink|Rabbit}} | ||
}} | }} | ||
[[Category:infobox templates]]</noinclude> | [[Category:infobox templates]]</noinclude> | ||
Revision as of 03:34, 9 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}}
| movement = {{ItemLink|Calvary}}
| attackStyle = {{ItemLink|Melee}}
| role = {{ItemLink|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 data row Template:Infobox footer


