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/doc: Difference between revisions

From Super Fantasy Kingdom Official Wiki
wgg>Cadaei
Created page with "Returns the resistance or weakness of a unit depending on the according kingdom. ===Parameters=== : <code>1</code> - name of the kingdom : <code>2</code> - <code>resistance</code> or <code>weakness</code> ===Example=== <nowiki>{{kingdom bonus|human|resistance}}</nowiki> {{kingdom bonus|human|resistance}} <nowiki>{{itemLink | {{kingdom bonus|human|weakness}} }}</nowiki> {{itemLink | {{kingdom bonus|human|weakness}} }}"
 
wgg>Cadaei
doc/end
Line 1: Line 1:
{{doc/start}}
Returns the resistance or weakness of a unit depending on the according kingdom.
Returns the resistance or weakness of a unit depending on the according kingdom.


Line 11: Line 12:
  <nowiki>{{itemLink | {{kingdom bonus|human|weakness}} }}</nowiki>
  <nowiki>{{itemLink | {{kingdom bonus|human|weakness}} }}</nowiki>
{{itemLink | {{kingdom bonus|human|weakness}} }}
{{itemLink | {{kingdom bonus|human|weakness}} }}
{{doc/end}}

Revision as of 22:01, 27 September 2025

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

Parameters

1 - name of the kingdom
2 - resistance or weakness

Example

{{kingdom bonus|human|resistance}}

Light

{{itemLink | {{kingdom bonus|human|weakness}} }}

Toxic