Difference between revisions of "Template:Skill radius"

From Tokyo Afterschool Summoners
Jump to navigation Jump to search
Line 1: Line 1:
<includeonly>{{#vardefine:radius name jp|
<includeonly>{{#vardefine:radius name jp|
{{#switch:{{lc:{{{1|}}}}}
{{#switch:{{Full-width to Half-width|{{lc:{{{1|}}}}}}}
| self | 自身 = 自身
| self | 自身 = 自身
| enemies | 敵 = 敵
| enemies | 敵 = 敵
Line 7: Line 7:
| two squares horizontally and vertically | 十字2マス | 十字2マス = 十字2マス
| two squares horizontally and vertically | 十字2マス | 十字2マス = 十字2マス
| two squares horizontally and vertically and self | 十字2マス内 | 十字2マス内 = 十字2マス内
| two squares horizontally and vertically and self | 十字2マス内 | 十字2マス内 = 十字2マス内
| nearby | 周囲1マス | 周囲1マス = 周囲1マス
| nearby | 周囲1マス = 周囲1マス
| nearby and self | 周囲1マス内| 周囲1マス内 = 周囲1マス内
| nearby and self | 周囲1マス内 = 周囲1マス内
| in a wide radius | 距離2マス | 背後2マス = 距離2マス
| in a wide radius | 距離2マス = 距離2マス
| in a wide radius and self | 距離2マス内 | 距離2マス内 = 距離2マス内
| in a wide radius and self | 距離2マス内 = 距離2マス内
| indiscriminately and adjacent | 無差別隣1マス | 無差別隣1マス = 無差別隣1マス
| indiscriminately and adjacent | 無差別隣1マス = 無差別隣1マス
| one square behind | 背後1マス | 背後1マス = 背後1マス
| one square behind | 背後1マス = 背後1マス
| one square behind and self | 背後1マス内 | 背後1マス内 = 背後1マス内
| one square behind and self | 背後1マス内 = 背後1マス内
| two squares behind | 背後2マス | 背後2マス = 背後2マス
| two squares behind | 背後2マス = 背後2マス
| all allies | 味方 | 味方全体 = 味方全体
| all allies | 味方 | 味方全体 = 味方全体
| all ally members | 自陣全員 = 自陣全員
| all ally members | 自陣全員 = 自陣全員
| all enemies | 敵陣全員 | 敵全体 = 敵陣全員
| all enemies | 敵陣全員 | 敵全体 = 敵陣全員
| one square in front | 前1マス = 前1マス
| one square in front | 前1マス = 前1マス
| one square in front and self | 前1マス内 | 前1マス内 = 前1マス内
| one square in front and self | 前1マス内 = 前1マス内
| nearby enemies within two squares | 周囲2マスの敵 | 周囲2マスの敵 = 周囲2マスの敵
| nearby enemies within two squares | 周囲2マスの敵 = 周囲2マスの敵
|#default = {{{1|}}}
|#default = {{{1|}}}
}}
}}
Line 42: Line 42:
| 自陣全員 = All allies
| 自陣全員 = All allies
| 敵陣全員 = All enemies
| 敵陣全員 = All enemies
| 前1マス =
| 前1マス内 =  
| 前1マス内 =  
| 周囲2マスの敵 =  
| 周囲2マスの敵 =  
Line 64: Line 65:
| 自陣全員 = all allies
| 自陣全員 = all allies
| 敵陣全員= all enemies
| 敵陣全員= all enemies
| 前1マス = one square in front
| 前1マス内= one square in front and self
| 前1マス内= one square in front and self
| 周囲2マスの敵 = nearby enemies within two squares
| 周囲2マスの敵 = nearby enemies within two squares

Revision as of 18:20, 27 December 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マス }}

adjacent

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

adjacent and self

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

nearby

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

nearby and self

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

in a wide radius