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:Kingdom bonus

From Super Fantasy Kingdom Official Wiki
Revision as of 10:29, 28 November 2025 by cadaei (talk | contribs) (added rock to element with suffix)

{{#if:

|

File:Template-info.svg Documentation Edit this documentation at Template:Kingdom_bonus/doc.
(edit • history • purge)

Returns the resistance or weakness of a unit depending on the according kingdom.

Parameters

1 - name of the kingdom
2 - resistance or weakness
3 - optional, if not empty the result will be displayed using itemLink

Example

{{kingdom bonus|human|resistance}}

{{#if: | Holy

{{kingdom bonus|human|weakness|1}}

{{#if:1 | Poison

{{kingdom bonus|demon|weakness|1}}

{{#if:1 | Water (element)


other elements

{{#if:1 | Plant {{#if:1 | Rock (element) {{#if:1 | Fire {{#if:1 | Ice {{#if:1 | Electric {{#if:1 | Dark {{#if:1 | Holy