Template:Se/doc: Difference between revisions

no edit summary
No edit summary
No edit summary
Line 3: Line 3:
== Usage ==
== Usage ==
  <nowiki>{{se
  <nowiki>{{se
  | icon = no
   | id =
   | id =
   | name =
   | name =
Line 8: Line 9:
   | type =
   | type =
   | tt = no
   | tt = no
  | label = no
  }}</nowiki>
  }}</nowiki>
*Common Status Effects:
*Common Status Effects:
Line 33: Line 35:
*<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||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|tt=no}}</nowiki></code> will return: {{se||Bleed|tt=no}}
* <code><nowiki>{{se|703}}</nowiki></code> will return: {{se|703}}<templatedata>
*<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 63: Line 67:
"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 88: Line 92:
},
},
"tt": {
"tt": {
"label": "Tooltip",
"label": "Tooltip toggle",
"description": "Only accepts one parameter to disable the tooltip. Enabled by default.",
"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",
"example": "no",
"type": "string"
"type": "string"
Line 102: Line 118:
"prefix",
"prefix",
"suffix",
"suffix",
"tt"
"icon",
"tt",
"label"
],
],
"format": "inline"
"format": "inline"
}
}
</templatedata>
</templatedata>
ElEditors
8,317

edits