Difference between revisions of "Template:Status effect"

From Tokyo Afterschool Summoners
Jump to navigation Jump to search
Line 170: Line 170:
   |headers=hide
   |headers=hide
   |searchlabel=
   |searchlabel=
}}}}{{#switch:{{{format|}}}
}}}}{{#if:{{#var:status subobj|}}|{{#vardefine:effect description|{{#show:{{#var:status subobj}}|?Has English note
}}}}|}}{{#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}}}}.
| none = {{#var:effect name}}
| none = {{#var:effect name}}
| alt
| alt
|#default = <abbr title="{{#var:effect description}}">{{#var:effect name}}</abbr>
|#default = {{#if: {{#var:status subobj|}} |
  {{#if:{{#var:in transient list|}}
    ||{{#tag:mediator|https://cdn.housamo.xyz/housamo/unity/Android/icon_status/icon_status_{{#show:{{#var:status subobj}}|?Has image}}.png|width=15px|height=15px|href={{#var:status subobj|}}}}
  |}}
|}}<abbr title="{{#var:effect description}}">{{#var:effect name}}</abbr>
}}{{#if:{{#var:skillnumber|}}|[[Category:Skill that uses {{#show:{{#var:status subobj}}|?Has English name}}]]}}</includeonly><noinclude>
}}{{#if:{{#var:skillnumber|}}|[[Category:Skill that uses {{#show:{{#var:status subobj}}|?Has English name}}]]}}</includeonly><noinclude>
== Description ==
== Description ==

Revision as of 16:45, 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 (DEF Down by 1.1x ~ 2.2x, -200~-400HP/turn for 4 turns)

{{Status effect|防御強化|format=only}}

DEF Up by 0.9x ~ 0.45x 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.