Template:Se/doc

From Elwiki
Revision as of 19:55, 26 March 2022 by Bluhen (talk | contribs) (added panic)

The se (short for Status Effect) template can be used in skill pages to illustrate the names of any status effects (buffs or debuffs) given by a skill. When given a three-digit id the template will display an icon that will always link to Status Effects. However, the link can be changed by providing a custom name, which will show up next to the icon. Additionally, when hovering over the effect's name a popup (which can also be customized) will indicate which type of buff or debuff it is.

Usage

{{se
 | id =
 | name =
 | alt =
 | type =
}}
  • id: The number that identifies the status effect. Refer to the Index of Effect Icons for a full list of images. This parameter can be skipped; the template will automatically assign an icon if the "name" parameter matches one of these common status effects:
    • Freeze
    • Burn
    • Faint / Condemnation / Power Faint
    • Poison
    • Wound
    • Flattened
    • Ice
    • Confusion
    • Bleed
    • Lethargy
    • Mana Pollution
    • Groggy
    • Anti-Magic
    • Super Armor
    • Move Slowdown
    • Leg Injury
    • Silence
    • Panic
  • name: The name of the status effect. If it matches an existing status effect page on the wiki (example), the template will create a link to it. However, if the name doesn't match any page then the template will link to the main Status Effects page instead.
  • alt: An alternative name that does not affect the links or the icon. This parameter is usually not necessary, but it can be useful in rare ocassions (see Examples).
  • type (predefined): The type of the status effect, i.e. Party Buff or Enemy Debuff displaying in the tooltip's content. Self Buff by default.
    • Accepts the following:
      • pb - Party Buff
      • sb - Self Buff
      • cb - Couple Buff
      • pd - Party Debuff
      • sd - Self Debuff
      • eb - Enemy Buff
      • ed - Enemy Debuff
      • aob - Ally Only Buff
      • aod - Ally Only Debuff

Examples

  • {{se|id=045|name=Super Armor|type=sb}} and {{se||Super Armor}} will return:  Self BuffSuper ArmorSelf BuffSuper Armor
  • {{se|087|Faint|Stun|ed}} and {{se||Faint|Stun}} will return:  Enemy DebuffStunEnemy DebuffStun
  • {{se|703}} will return: