Template:Se: Difference between revisions
No edit summary |
No edit summary |
||
Line 33: | Line 33: | ||
{{#ifeq: {{{tt|}}} | {{#ifeq: {{{tt|}}} | ||
|no|[[{{#var:link}}|{{#var:alt}}]] | |no|[[{{#var:link}}|{{#var:alt}}]] | ||
|{{tt|[[{{#var:link}}|{{#var:alt}}]]|'''{{#var:type}}'''}} | |{{tt|[[{{#var:link}}|{{#var:alt}}]]|'''{{#var:type}}'''|span=span}} | ||
}} | }} | ||
}} | }} | ||
}}{{#if:{{{prefix|}}}|{{{prefix|}}} }}<span class="status">{{#ifeq:{{{icon|}}}|no|{{#var:text}}|[[File:{{#if:{{#var:id}}|Status_{{#var:id}}|Dunno}}.png|20px|link={{#var:link}}]]{{#if:{{{2|{{{name|}}}}}}|{{#ifeq:{{{label|}}}|no||{{#var:text}}}}}}}}</span>{{#if:{{{suffix|}}}| {{{suffix|}}}}}</includeonly><noinclude>{{Doc}}</noinclude> | }}{{#if:{{{prefix|}}}|{{{prefix|}}} }}<span class="status">{{#ifeq:{{{icon|}}}|no|{{#var:text}}|[[File:{{#if:{{#var:id}}|Status_{{#var:id}}|Dunno}}.png|20px|link={{#var:link}}]]{{#if:{{{2|{{{name|}}}}}}|{{#ifeq:{{{label|}}}|no||{{#var:text}}}}}}}}</span>{{#if:{{{suffix|}}}| {{{suffix|}}}}}</includeonly><noinclude>{{Doc}}</noinclude> |
Revision as of 23:38, 27 September 2022
Refer to the Index of Effect Icons for the full list of images.
Usage
{{se | icon = no | id = | name = | alt = | type = | tt = no | label = no | font = }}
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
Types of Status Effects
- Default: Self Buff
- pb: Party Buff
- aob: Ally Only Buff
- pd: Party Debuff
- aod: Ally Only Debuff
- sapb: Self/Ally Pick-up Buff
- stb: Selective Target Buff
- sb: Self Buff
- sd: Self Debuff
- eb: Enemy Buff
- ed: Enemy Debuff
- sapd: Self/Ally Pick-up Debuff
- cb: Couple Buff
- aoeb: Ally Only & Enemy Buff
- aoed: Ally Only & Enemy Debuff
Examples
{{se|id=045|name=Super Armor|type=sb}}
and{{se||Super Armor}}
will return: Self BuffSuper Armor{{se|087|Faint|Stun|ed}}
and{{se||Faint|Stun}}
will return: Enemy DebuffStun{{se||Bleed|icon=no}}
will return: Enemy DebuffBleed{{se||Bleed|tt=no}}
will return: Bleed{{se||Bleed|label=no}}
will return:{{se|703}}
will return:The '''se''' (short for Status Effect) template is used to display the icons of the game's many status effects. Mainly transcluded on skill pages to make it clear which icon belongs to which skill. When hovering over the name, a tooltip indicating the type of the effect will appear (self, party, etc).
This template prefers inline formatting of parameters.
Parameter Description Type Status ID 1
id
The number that identifies the status effect. This parameter can be skipped; the icon will be updated accordingly if the "name" parameter matches one of the status effects listed above.
- Default
- Dunno.png
- Example
- 105
Number suggested Name 2
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).
- Example
- Destruction Aura
String suggested Alternative label 3
alt
An alternative label that does not affect the links nor the icon. This parameter is usually not necessary, but it can be useful in rare ocassions.
- Example
- Stun
String optional Type 4
type
The type of the status effect, i.e. Party Buff or Enemy Debuff displaying in the tooltip's content. Full list above.
- Default
- Self Buff
- Example
- pb
String suggested Font font
The style of the font. Available: bold, italic, bold italic
- Example
- bold
String optional Text before prefix
no description
String optional Text after suffix
no description
String suggested Icon toggle icon
Disables the status effect icon. The "ID" parameter becomes useless. The only input available is "no".
- Example
- no
String optional Tooltip toggle tt
Disables the tooltip. The only input available is "no".
- Example
- no
String optional Label toggle label
Disables the label. The "name" parameter can still be used, if needed, to change the icon's link. The only input available is "no".
- Example
- no
String optional