Template:Se/doc: Difference between revisions
mNo edit summary |
No edit summary |
||
Line 74: | Line 74: | ||
"type": "string", | "type": "string", | ||
"default": "Self Buff" | "default": "Self Buff" | ||
}, | |||
"prefix": { | |||
"label": "Text before", | |||
"type": "string" | |||
}, | |||
"suffix": { | |||
"label": "Text after", | |||
"type": "string" | |||
} | } | ||
}, | }, | ||
"description": "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)." | "description": "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).", | ||
"paramOrder": [ | |||
"1", | |||
"2", | |||
"3", | |||
"4", | |||
"prefix", | |||
"suffix" | |||
], | |||
"format": "inline" | |||
} | } | ||
</templatedata> | </templatedata> |
Revision as of 01:24, 25 August 2022
Refer to the Index of Effect Icons for the full list of images.
Usage
{{se | id = | name = | alt = | type = }}
- Common Status Effects:
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: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 on the template's page.
- 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 optional Alternative name 3
alt
An alternative name 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. Can be one of 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).
- Default
- Self Buff
- Example
- pb
String optional Text before prefix
no description
String optional Text after suffix
no description
String optional