Difference between revisions of "Template:Status effect"
Jump to navigation
Jump to search
Line 160: | Line 160: | ||
}}{{#vardefine:effect jp-name|{{#switch:{{{1|}}} | }}{{#vardefine:effect jp-name|{{#switch:{{{1|}}} | ||
|クリティカル = CT | |クリティカル = CT | ||
| クリティカル+ = CT+ | |クリティカル+ = CT+ | ||
|クリティカル++ = CT++ | |クリティカル++ = CT++ | ||
| #default = {{{1|}}} | | #default = {{{1|}}} | ||
Line 170: | Line 170: | ||
|headers=hide | |headers=hide | ||
|searchlabel= | |searchlabel= | ||
}}}} | }}}}{{#switch:{{{format|}}} | ||
| parentheses = {{#var:effect name}} ({{#var:effect description}}) | | parentheses = {{#var:effect name}} ({{#var:effect description}}) | ||
| only = {{ucfirst:{{#var:effect description}}}}. | | only = {{ucfirst:{{#var:effect description}}}}. | ||
Line 177: | Line 176: | ||
| alt | | alt | ||
|#default = {{Status icon|{{#var effect name}}}}<abbr title="{{#var:effect description}}">{{#var:effect name}}</abbr> | |#default = {{Status icon|{{#var effect name}}}}<abbr title="{{#var:effect description}}">{{#var:effect name}}</abbr> | ||
}}</includeonly><noinclude> | |||
== Description == | == Description == | ||
Revision as of 16:57, 14 November 2018
Description
This templates translates Japanese status effects into English and optionally adds the status description as on-hover text.
Usage
{{Status effect |<effect> | format = }}
Parameters
- effect
- The status effect in Japanese.
- format
- Formatting for the description. alt displays it as on-hover text, parentheses displays it after the effect name in parentheses, only display only the description, none doesn't display the description. Defaults to alt.
Examples
{{Status effect|マヒ}}
Paralysis
{{Status effect|束縛|format=none}}
Bind
{{Status effect|凍結|format=parentheses}}
Frozen (received damage x1.1~2.2 and take 202~400 damage every turn for 4 turns)
{{Status effect|防御強化|format=only}}
Received damage x0.9~0.45 for 4 turns.
Maintenance
Adding A New Effect
- Add a new status effect by inserting name as well as description it into the template before each
#default
.