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 15:50, 27 December 2024 by wgg>Cadaei (Created page with "<onlyinclude>{{#switch: {{{2|}}} | resistance = {{#switch: {{lc:{{{1|}}}}} | human = holy | dwarven = electric | demon = fire | elven = ice | nature = plant | reptiloid = poison | mystic = water | barbarian = earth | undead = dark }} | weakness = {{#switch: {{lc:{{{1|}}}}} | human = poison | dwarven = plant | demon = water | elven = earth | nature = fire | reptiloid = ice | mystic = electric | barbarian = dark | undead = holy }}}}</onlyinclude><noinclude>{{doc}} Catego...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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}}

holy

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

poison

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

water


other elements

plant earth fire


dark holy