Template:Se/doc: Difference between revisions

no edit summary
No edit summary
No edit summary
Line 9: Line 9:
}}</nowiki>
}}</nowiki>


* '''id''' (required): 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 icons.
* '''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:
* '''name''' (optional): The name of the status effect.  If it matches an existing status effect page on the wiki ([[Status Effects/Freeze|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.
** {{se|081}} Freeze
*'''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'').
** {{se|087}} Faint / Condemnation / Power Faint
*'''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.
** {{se|076}} Poison
** {{se|085}} Wound
** {{se|070}} Flattened
** {{se|094}} Ice
** {{se|095}} Confusion
** {{se|116}} Bleed
** {{se|129}} Lethargy
** {{se|236}} Mana Pollution
** {{se|458}} Groggy
* '''name''': The name of the status effect.  If it matches an existing status effect page on the wiki ([[Status Effects/Freeze|example]]) the icon will link to it. However, if the name doesn't match any page it will link to the main [[Status Effects]] page instead.
*'''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:
**Accepts the following:
***'''pb''' - Party Buff
***'''pb''' - Party Buff
Line 24: Line 35:


=== Examples ===
=== Examples ===
* <code><nowiki>{{se|id=094|name=Freeze|alt=Ice|type=ed}}</nowiki></code> will return: {{se|id=094|name=Freeze|alt=Ice|type=ed}}
* <code><nowiki>{{se|id=071|name=Burn|alt=Sword Fire|type=ed}}</nowiki></code> or <code><nowiki>{{se||Burn|Sword Fire|ed}}</nowiki></code> will return: {{se||Burn|Sword Fire|ed}}
* <code><nowiki>{{se|359|Luft Versprengen|sb}}</nowiki></code> and <code><nowiki>{{se|359|Luft Versprengen}}</nowiki></code> will return: {{se|359|Luft Versprengen}}
* <code><nowiki>{{se|359|Luft Versprengen|sb}}</nowiki></code> and <code><nowiki>{{se|359|Luft Versprengen}}</nowiki></code> will return: {{se|359|Luft Versprengen}}
* <code><nowiki>{{se|703}}</nowiki></code> will return: {{se|703}}
* <code><nowiki>{{se|703}}</nowiki></code> will return: {{se|703}}
ElEditors
8,317

edits