Template:Variation

From Phantasy Star Universe Clementine
Revision as of 14:33, 1 January 2024 by Mika (talk | contribs) (Created page with "<includeonly>{{#switch: {{lc:{{{1|}}}}} |crown = {{EnumImage|image=Crown Buff.gif|name=Crown|options={{{options|}}}}} |sword = {{EnumImage|image=Sword Buff.gif|name=Sword|opti...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Purpose

Shortcut template for all enemy variant icons.

Parameter List

{{Variation
|         <!-- Anonymous parameter. Name of the buff, case insensitive. Invalid values will output nothing. -->
|options  <!-- The desired image options. If options aren't provided, the link to the image is disabled. -->
}}

For enemy buffs, the valid list of strings, case insensitive, are:

Crown
crown
Sword
sword
Shield
shield
Magic
staff
magic
Boot
boot

For image options, a guide on syntax can be found here: [1]

Examples

Icon for "crown"

{{Variation|crown}}

Crown

Icon for "sword" and "boot" In a Centered Table

{| class="wikitable" style="margin:auto"
|+ Caption text
|-
! Header text
|-
|{{Variation|sword}}{{Variation|boot}}
|}
Caption text
Header text
SwordBoot

Icon for "MAGIC"

{{Variation|MAGIC}}

Magic

Icon for "crown", Options="24px"

{{Variation|crown|options=24px}}

Crown

Icon for ""

{{Variation}}