Template:Se/doc: Difference between revisions

From Elwiki
(Undo revision 743512 by Ritsu (talk))
Tag: Undo
Line 22: Line 22:
***'''aob''' - Ally Only Buff
***'''aob''' - Ally Only Buff
***'''aod''' - Ally Only Debuff
***'''aod''' - Ally Only Debuff
***'''ebd''' - Enemy Buff / Debuff
***'''pbd''' - Party Buff / Debuff


=== Examples ===
=== Examples ===

Revision as of 21:43, 22 March 2022

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.

Usage

{{se
 | id =
 | name =
 | alt =
 | type =
}}
  • id (required): The number that identifies the status effect. Refer to the Index of Effect Icons for a full list of icons.
  • name (optional): The name of the status effect. If it matches an existing status effect page on the wiki (example) the icon will link to it. However, if the name doesn't match to any page it will link to the main Status Effects page instead.
  • alt (optional): An alternative name that does not affect the links or the icon. This parameter is usually not necessary but can be useful in rare ocassions (see Examples).
  • type (predefined, optional): 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=094|name=Freeze|alt=Ice|type=ed}} will return:  Enemy DebuffIceEnemy DebuffIce
  • {{se|359|Luft Versprengen|sb}} and {{se|359|Luft Versprengen}} will return:  Self BuffLuft VersprengenSelf BuffLuft Versprengen
  • {{se|703}} will return: