Difference between revisions of "Template:Status effect"

From Tokyo Afterschool Summoners
Jump to navigation Jump to search
Line 62: Line 62:
| 二重封印 = Double Seal
| 二重封印 = Double Seal
| 集中 = Concentration
| 集中 = Concentration
| 極限 = Limit
| 極限 = Limit <!-- temporary name, please change if unsuitable -->
| 強化無効 = Nullify buff
| 強化無効 = Nullify buff
| 妨害 = Obstruction
| 妨害 = Obstruction
Line 82: Line 82:
{{#switch:{{{1|}}}
{{#switch:{{{1|}}}
| CT | CT | クリティカル = inflicted damage x2.0~4.0 for 1 turn
| CT | CT | クリティカル = inflicted damage x2.0~4.0 for 1 turn
| CT+ | CT+ | CT+ | クリティカル+ | クリティカル+ = inflicted damage x2.5~5 for 1 turn
| CT++ | CT++ | CT++ | クリティカル++ | クリティカル++  = inflicted damage x3.0~6.0 for 1 turn
| CT++ | CT++ | CT++ | クリティカル++ | クリティカル++  = inflicted damage x3.0~6.0 for 1 turn
| クリティカル+ = inflicted damage x2.5~5 for 1 turn
| 攻撃強化 = inflicted damage x1.1~2.2 for 4 turns
| 攻撃強化 = inflicted damage x1.1~2.2 for 4 turns
| 剛力 = inflicted damage x1.15~2.3 for 4 turns
| 剛力 = inflicted damage x1.15~2.3 for 4 turns
Line 158: Line 158:
|#default = unknown effect
|#default = unknown effect
}}
}}
}}{{#vardefine:effect jp-name|{{#switch:{{{1|}}}
}}{{#switch:{{{format|}}}
|クリティカル = CT
|クリティカル+ = CT+
|クリティカル++ = CT++
| #default = {{{1|}}}
}}}}{{#vardefine:status subobj|{{#ask:
  [[Has game context::Status]]
  [[Has Japanese name::{{#var:effect jp-name|}}]]
  |link=none
  |limit=1
  |headers=hide
  |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}}}}.

Revision as of 17:10, 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.