Template:Se/doc

From Elwiki
Revision as of 03:18, 23 March 2022 by Bluhen (talk | contribs)

The se (short for Status Effect) template is meant to be used in the "Skill Information" sections on skill pages, to illustrate the names of any status effects (buffs or debuffs) given by a skill. It primarily shows an icon that will always link to Status Effects, but the link can be changed by providing a custom name. Additionally, when hovering over the effect's name, it will show what 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
    • Faint / Condemnation / Power Faint
    • Poison
    • Wound
    • Flattened
    • Ice
    • Confusion
    • Bleed
    • Lethargy
    • Mana Pollution
    • Groggy
  • 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
      • pd - Party Debuff
      • sd - Self Debuff
      • eb - Enemy Buff
      • ed - Enemy Debuff
      • aob - Ally Only Buff
      • aod - Ally Only Debuff

Examples

  • {{se|id=071|name=Burn|alt=Sword Fire|type=ed}} and {{se||Burn|Sword Fire|ed}} will return:  Enemy DebuffSword FireEnemy DebuffSword Fire
  • {{se|359|Luft Versprengen|sb}} and {{se|359|Luft Versprengen}} will return:  Self BuffLuft VersprengenSelf BuffLuft Versprengen
  • {{se|703}} will return: