Template:Se/doc: Difference between revisions

From Elwiki
Tags: Mobile edit Mobile web edit
No edit summary
Line 1: Line 1:
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 [[Status Effects#Index of Effect Icons|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.
The '''se''' (short for ''Status Effect'') template is used to display the icons of the game's many [[Status Effects#Index of Effect Icons|status effects]]. It is mainly used in skill pages, to illustrate the names of the effects that some of them provide. Additionally, when hovering over the name a popup will appear, indicating which type of buff or debuff it is (self, party, etc).


== Usage ==
== Usage ==
Line 9: Line 9:
}}</nowiki>
}}</nowiki>


* '''id''': The number that identifies the status effect. Refer to the [[Status Effects#Index of Effect Icons|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:
* '''id''': The number that identifies the status effect. Refer to the [[Status Effects#Index of Effect Icons|Index of Effect Icons]] for a full list of images. This parameter can be skipped; the icon will be updated accordingly if the "name" parameter matches one of the status effects listed below. {{se}} by default.
** {{se|081}} Freeze
** Common Status Effects:
** {{se|071}} Burn
*** {{se|045}} Super Armor
** {{se|087}} Faint / Conviction / Power Faint
*** {{se|074}} Anti-Magic
** {{se|076}} Poison
*** {{se|116}} Bleed
** {{se|085}} Wound
*** {{se|071}} Burn
** {{se|070}} Flattened
*** {{se|095}} Confusion
** {{se|094}} Extreme Coldness
*** {{se|079}} Curse
** {{se|095}} Confusion
*** {{se|094}} Extreme Coldness
** {{se|116}} Bleed
*** {{se|087}} Faint / Conviction / Power Faint
** {{se|129}} Lethargy
*** {{se|070}} Flattened
** {{se|236}} Mana Pollution
*** {{se|081}} Freeze
** {{se|458}} Groggy
*** {{se|458}} Groggy
** {{se|074}} Anti-Magic
*** {{se|090}} Leg Injury
** {{se|045}} Super Armor
*** {{se|129}} Lethargy
** {{se|092}} Move Slowdown
*** {{se|236}} Mana Pollution
** {{se|090}} Leg Injury
*** {{se|092}} Move Slowdown
** {{se|313}} Silence
*** {{se|088}} Panic
** {{se|088}} Panic
*** {{se|076}} Poison
** {{se|079}} Curse
*** {{se|313}} Silence
* '''name''': The name of the status effect. If it matches an existing status effect page on the wiki ([[Status Effects/Armor Break|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.
*** {{se|085}} Wound
* '''name''': The name of the status effect. Links to [[Status Effects]] by default, but it can also link to its own subpage if it exists (i.e. [[Status Effects/Armor Break]]).
*'''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'').
*'''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.
*'''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.

Revision as of 07:35, 28 April 2022

The se (short for Status Effect) template is used to display the icons of the game's many status effects. It is mainly used in skill pages, to illustrate the names of the effects that some of them provide. Additionally, when hovering over the name a popup will appear, indicating which type of buff or debuff it is (self, party, etc).

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 icon will be updated accordingly if the "name" parameter matches one of the status effects listed below. by default.
    • Common Status Effects:
      • Super Armor
      • Anti-Magic
      • Bleed
      • Burn
      • Confusion
      • Curse
      • Extreme Coldness
      • Faint / Conviction / Power Faint
      • Flattened
      • Freeze
      • Groggy
      • Leg Injury
      • Lethargy
      • Mana Pollution
      • Move Slowdown
      • Panic
      • Poison
      • Silence
      • Wound
  • name: The name of the status effect. Links to Status Effects by default, but it can also link to its own subpage if it exists (i.e. Status Effects/Armor Break).
  • 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
      • sapb - Self/Ally Pick-Up Buff
      • sapd - Self/Ally Pick-Up 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: