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 typo |
wgg>Cadaei No edit summary |
||
| Line 1: | Line 1: | ||
<includeonly>{{infobox header|name={{{name|{{PAGENAME}}}}}|image={{{image|{{PAGENAME}}.png}}}|info={{{info|}}}}}<!-- | <includeonly>{{infobox header|name={{{name|{{PAGENAME}}}}}|image={{{image|{{PAGENAME}}.png}}}|info={{{info|}}}}}<!-- | ||
-->{{ | -->{{infobox data row | Kingdom | {{kingdomDisplay|{{{kingdom|}}}|1}}}}<!-- | ||
-->{{infobox data row | Unlocking |{{{unlocking|}}}}}<!-- | -->{{infobox data row | Unlocking |{{{unlocking|}}}}}<!-- | ||
-->{{infobox data row | Recruiting|{{{recruiting|}}}}}<!-- | -->{{infobox data row | Recruiting|{{{recruiting|}}}}}<!-- | ||
| Line 19: | Line 7: | ||
-->{{#if:{{{damageType|}}}{{{element|}}}{{{movement|}}}{{{attackStyle|}}}{{{role|}}}|<!-- | -->{{#if:{{{damageType|}}}{{{element|}}}{{{movement|}}}{{{attackStyle|}}}{{{role|}}}|<!-- | ||
-->{{infobox section header|Combat}}<!-- | -->{{infobox section header|Combat}}<!-- | ||
-->{{ | -->{{infobox data row | Damage Type | {{damageTypeDisplay|{{{damageType|}}}|1}}}}<!-- | ||
-->{{infobox data row | Element | {{elementDisplay|{{{element|}}}|1}}}}<!-- | |||
-->{{infobox data row | Movement | {{movementDisplay|{{{movement|}}}|1}}}}<!-- | |||
-->{{infobox data row | Attack Style | {{attackStyleDisplay|{{{attackStyle|}}}|1}}}}<!-- | |||
-->{{infobox data row | Role | {{roleDisplay|{{{role|}}}|1}}}}<!-- | |||
-->}}<!-- | -->}}<!-- | ||
-->{{infobox footer}} | -->{{infobox footer}} | ||
Revision as of 14:28, 15 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
| kingdom = Human
| recruiting = Castle on the right
| costs = {{ItemLink|Stone|quantity=4}}
| upgradeCosts = {{IconLinkSequence|Stone|8|16|32}}
| damageType = Physical
| element = None
| movement = Infantry
| attackStyle = Melee
| role = Tank
}}
This template defines the table "Units". View table.


