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:SpellsTable: Difference between revisions
From Super Fantasy Kingdom Official Wiki
Created page with "<includeonly>{{CargoSpellsTableHeader}}{{#cargo_query:tables=Spells |fields=name,effect,kingdom |where= {{#switch:{{{1}}}|City=type='City'|Combat=type='Combat'|}}{{#switch:{{{2}}}|City= OR type='City'|Combat= OR type='Combat'|}}{{#switch:{{{3}}}|City= OR type='City'|Combat= OR type='Combat'|}}{{#switch:{{{4}}}|City= OR type='City'|Combat= OR type='Combat'|}} |format=template |template=CargoSpellsTableRow |named args=yes }}{{TableEndHtml}}</includeonly><noinclude>Displays..." |
added correct fields |
||
| Line 1: | Line 1: | ||
<includeonly>{{CargoSpellsTableHeader}}{{#cargo_query:tables=Spells | <includeonly>{{CargoSpellsTableHeader}}{{#cargo_query:tables=Spells | ||
|fields=name,effect,kingdom | |fields=name,effect,cast,cooldown,kingdom,hero | ||
|where= {{#switch:{{{1}}}|City=type='City'|Combat=type='Combat'|}}{{#switch:{{{2}}}|City= OR type='City'|Combat= OR type='Combat'|}}{{#switch:{{{3}}}|City= OR type='City'|Combat= OR type='Combat'|}}{{#switch:{{{4}}}|City= OR type='City'|Combat= OR type='Combat'|}} | |where= {{#switch:{{{1}}}|City=type='City'|Combat=type='Combat'|}}{{#switch:{{{2}}}|City= OR type='City'|Combat= OR type='Combat'|}}{{#switch:{{{3}}}|City= OR type='City'|Combat= OR type='Combat'|}}{{#switch:{{{4}}}|City= OR type='City'|Combat= OR type='Combat'|}} | ||
|format=template | |format=template | ||
Latest revision as of 03:43, 8 May 2026
Displays a table of all spelss with properties. Use with
{{SpellsTable}}
Parameters
All 2 parameters can be in any of the first 4 slots in any order, but the first slot should never be an empty or wrong value aka
{{SpellsTable||Targeting}}or{{SpellsTable|stt boot|Targeting}}
with no parameters it will show all spells, with one or multiple parameters it will show only those
- Types: without a type it will be all items
City: City spells onlyCombat: Combat spells only
{{SpellsTable|City|Combat}}
example
{{SpellsTable|Combat}}
| Icon | Name | Effect | Cost | Cooldown | Kingdom | Hero |
|---|---|---|---|---|---|---|
![]() |
Battle Cry (spell) | Motivates all Units to attack 20% faster for the duration of the Spell | 5 × |
10s |
||
![]() |
Bolt (spell) | Deal a lot of damage in a very small area | 6 × |
5s |
||
![]() |
Evolve (spell) | Evolve all Monsters in a 30m radius, to get more | 5 × |
10s |
||
![]() |
Fear (spell) | Apply Fear to all Monsters in a 25m radius | 4 × |
3s |
||
![]() |
Freeze (spell) | Apply Freeze to all Monsters on the battlefield test3 test5 | 9 × |
15s |
||
![]() |
Grouping (spell) | Pull in Monsters in a 30m radius | 4 × |
3s |
||
![]() |
Meteor (spell) | Cast a meteor from the sky. | 7 × |
5s |
||
![]() |
Rejuvenate (spell) | Apply Rejuvenate 3 to all Units | 6 × |
15s |
||
![]() |
Revival (spell) | Revive one of your Dead Units | 10 × |
20s |
||
![]() |
Shield (spell) | Apply 10 Overshield to all Units | 4 × |
12s |
||
![]() |
Stun (spell) | Apply Stun to all Monsters in a 30m radius. | 5 × |
3s |
||
![]() |
Targeting (spell) | Manually target Monsters on the battlefield | 4 × |
|














