Template:Se/doc: Difference between revisions

From Elwiki
No edit summary
No edit summary
Line 8: Line 8:
  | type =
  | type =
}}</nowiki>
}}</nowiki>
 
* 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|045}} Super Armor
** Common Status Effects:
** {{se|074}} Anti-Magic
*** {{se|045}} Super Armor
** {{se|116}} Bleed
*** {{se|074}} Anti-Magic
** {{se|071}} Burn
*** {{se|116}} Bleed
** {{se|095}} Confusion
*** {{se|071}} Burn
** {{se|079}} Curse
*** {{se|095}} Confusion
** {{se|094}} Extreme Coldness
*** {{se|079}} Curse
** {{se|087}} Faint / Conviction / Power Faint
*** {{se|094}} Extreme Coldness
** {{se|070}} Flattened
*** {{se|087}} Faint / Conviction / Power Faint
** {{se|081}} Freeze
*** {{se|070}} Flattened
** {{se|458}} Groggy
*** {{se|081}} Freeze
** {{se|090}} Leg Injury
*** {{se|458}} Groggy
** {{se|129}} Lethargy
*** {{se|090}} Leg Injury
** {{se|236}} Mana Pollution
*** {{se|129}} Lethargy
** {{se|092}} Move Slowdown
*** {{se|236}} Mana Pollution
** {{se|088}} Panic
*** {{se|092}} Move Slowdown
** {{se|076}} Poison
*** {{se|088}} Panic
** {{se|313}} Silence
*** {{se|076}} Poison
** {{se|085}} Wound
*** {{se|313}} Silence
*** {{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'').
*'''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 ===
=== Examples ===
* <code><nowiki>{{se|id=045|name=Super Armor|type=sb}}</nowiki></code> and <code><nowiki>{{se||Super Armor}}</nowiki></code> will return: {{se||Super Armor}}
* <code><nowiki>{{se|id=045|name=Super Armor|type=sb}}</nowiki></code> and <code><nowiki>{{se||Super Armor}}</nowiki></code> will return: {{se||Super Armor}}
* <code><nowiki>{{se|087|Faint|Stun|ed}}</nowiki></code> and <code><nowiki>{{se||Faint|Stun}}</nowiki></code> will return: {{se||Faint|Stun}}
* <code><nowiki>{{se|087|Faint|Stun|ed}}</nowiki></code> and <code><nowiki>{{se||Faint|Stun}}</nowiki></code> will return: {{se||Faint|Stun}}
* <code><nowiki>{{se|703}}</nowiki></code> will return: {{se|703}}
* <code><nowiki>{{se|703}}</nowiki></code> will return: {{se|703}}

Revision as of 22:34, 23 August 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 =
}}
  • 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

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: