Difference between revisions of "Template:Skill radius"

From Tokyo Afterschool Summoners
Jump to navigation Jump to search
(for later nefarious automation needs)
 
Line 9: Line 9:
}}
}}
}}{{#vardefine:radius description|
}}{{#vardefine:radius description|
{{#switch:{{#vardefine:radius name|}}
{{#switch:{{#var:radius name|}}
| 隣接1マス = Affects friendly units 1 space away from the unit horizontally and vertically, but not diagonally. Does NOT include the caster.
| 隣接1マス = Affects friendly units 1 space away from the unit horizontally and vertically, but not diagonally. Does NOT include the caster.
| 隣接1マス内 = Affects all friendly units 1 space away from the unit horizontally and vertically, but not diagonally, INCLUDING the caster.
| 隣接1マス内 = Affects all friendly units 1 space away from the unit horizontally and vertically, but not diagonally, INCLUDING the caster.

Revision as of 22:32, 27 September 2018

Description

This templates translates Japanese status radius names into English and optionally adds the radius description as on-hover text.

Usage

{{Skill Radius
|<radius>
| format = 
}}

Parameters

effect
The radius name 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

{{Skill Radius|隣接1マス }}

隣接1マス

{{Skill Radius|隣接1マス内 }}

隣接1マス内

{{Skill Radius|周囲1マス }}

周囲1マス

{{Skill Radius|周囲1マス内}}

周囲1マス内

{{Skill Radius|距離2マス }}

距離2マス