Template:Se/doc: Difference between revisions

no edit summary
No edit summary
No edit summary
Tags: Manual revert Mobile edit Mobile web edit
 
(10 intermediate revisions by 2 users not shown)
Line 1: Line 1:
'''Refer to the [[Status Effects#Index of Effect Icons|Index of Effect Icons]] for the full list of images.'''
__NOTOC__'''Refer to the [[Status Effects#Index of Effect Icons|Index of Effect Icons]] for the full list of images.'''


== Usage ==
== Usage ==
  <nowiki>{{se
  <nowiki>{{se
| id =
  | icon = no
| name =
  | id =
| alt =
  | name =
| type =
  | alt =
}}</nowiki>
  | type =
* Common Status Effects:
  | tt = no
** {{se|045}} Super Armor
  | label = no
** {{se|074}} Anti-Magic
  | font =
** {{se|116}} Bleed
}}</nowiki>
** {{se|071}} Burn
** {{se|095}} Confusion
** {{se|079}} Curse
** {{se|094}} Extreme Coldness
** {{se|087}} Faint / Conviction / Power Faint
** {{se|070}} Flattened
** {{se|081}} Freeze
** {{se|458}} Groggy
** {{se|090}} Leg Injury
** {{se|129}} Lethargy
** {{se|236}} Mana Pollution
** {{se|092}} Move Slowdown
** {{se|088}} Panic
** {{se|076}} Poison
** {{se|313}} Silence
** {{se|085}} Wound


=== Examples ===
=== Common Status Effects ===
* <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}}
* {{se|045}} Super Armor
* <code><nowiki>{{se|087|Faint|Stun|ed}}</nowiki></code> and <code><nowiki>{{se||Faint|Stun}}</nowiki></code> will return: {{se||Faint|Stun}}
* {{se|074}} Anti-Magic
* <code><nowiki>{{se|703}}</nowiki></code> will return: {{se|703}}<templatedata>
* {{se|116}} Bleed
* {{se|071}} Burn
* {{se|095}} Confusion
* {{se|079}} Curse
* {{se|094}} Extreme Coldness
* {{se|087}} Faint / Conviction / Power Faint
* {{se|070}} Flattened
* {{se|081}} Freeze
* {{se|458}} Groggy
* {{se|090}} Leg Injury
* {{se|129}} Lethargy
* {{se|236}} Mana Pollution
* {{se|092}} Move Slowdown
* {{se|088}} Panic
* {{se|076}} Poison
* {{se|313}} Silence
* {{se|085}} 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===
*<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||Bleed|icon=no}}</nowiki></code> will return: {{se||Bleed|icon=no}}
*<code><nowiki>{{se||Bleed|tt=no}}</nowiki></code> will return: {{se||Bleed|tt=no}}
*<code><nowiki>{{se||Bleed|label=no}}</nowiki></code> will return: {{se||Bleed|label=no}}
*<code><nowiki>{{se|703}}</nowiki></code> will return: {{se|703}}<templatedata>


{
{
Line 41: Line 66:
],
],
"label": "ID",
"label": "ID",
"description": "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.",
"description": "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.",
"example": "105",
"example": "105",
"type": "number",
"type": "number",
Line 54: Line 79:
"description": "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).",
"description": "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",
"example": "Destruction Aura",
"type": "string"
"type": "string",
"suggested": true
},
},
"3": {
"3": {
Line 60: Line 86:
"alt"
"alt"
],
],
"label": "Alternative name",
"label": "Alternative label",
"description": "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.",
"description": "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",
"example": "Stun",
"type": "string"
"type": "string"
Line 70: Line 96:
],
],
"label": "Type",
"label": "Type",
"description": "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).",
"description": "The type of the status effect, i.e. Party Buff or Enemy Debuff displaying in the tooltip's content. Full list above.",
"example": "pb",
"example": "pb",
"type": "string",
"type": "string",
"default": "Self Buff"
"default": "Self Buff",
"suggested": true
},
},
"prefix": {
"prefix": {
Line 81: Line 108:
"suffix": {
"suffix": {
"label": "Text after",
"label": "Text after",
"type": "string",
"suggested": true
},
"tt": {
"label": "Tooltip toggle",
"description": "Disables the tooltip. The only input available is \"no\".",
"example": "no",
"type": "string"
},
"icon": {
"label": "Icon toggle",
"description": "Disables the status effect icon. The \"ID\" parameter becomes useless. The only input available is \"no\".",
"example": "no",
"type": "string"
},
"label": {
"label": "Label toggle",
"description": "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",
"type": "string"
},
"font": {
"label": "Font",
"description": "The style of the font. Available: bold, italic, bold italic",
"example": "bold",
"type": "string"
"type": "string"
}
}
Line 90: Line 142:
"3",
"3",
"4",
"4",
"font",
"prefix",
"prefix",
"suffix"
"suffix",
"icon",
"tt",
"label"
],
],
"format": "inline"
"format": "inline"
}
}
</templatedata>
</templatedata>
ElEditors
8,317

edits