Difference between revisions of "Template:Skill radius"
Jump to navigation
Jump to search
(23 intermediate revisions by 2 users not shown) | |||
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 | 敵 = 敵 | ||
| adjacent | 隣接1マス = 隣接1マス | | adjacent | 隣接1マス | 隣接1マス = 隣接1マス | ||
| adjacent and self | 隣接1マス内 = 隣接1マス内 | | adjacent and self | 隣接1マス内 | 隣接1マス内 = 隣接1マス内 | ||
| two squares horizontally and vertically | 十字2マス | 十字2マス = 十字2マス | |||
| two squares horizontally and vertically and self | 十字2マス内 | 十字2マス内 = 十字2マス内 | |||
| nearby | 周囲1マス = 周囲1マス | | nearby | 周囲1マス = 周囲1マス | ||
| nearby and self | 周囲1マス内 = 周囲1マス内 | | nearby and self | 周囲1マス内 = 周囲1マス内 | ||
| in a wide radius | 距離2マス = 距離2マス | | in a wide radius | 距離2マス = 距離2マス | ||
| in a wide radius and self | 距離2マス内 = 距離2マス内 | | in a wide radius and self | 距離2マス内 = 距離2マス内 | ||
| indiscriminately and adjacent | 無差別隣1マス = 無差別隣1マス | |||
| one square behind | 背後1マス = 背後1マス | |||
| one square behind and self | 背後1マス内 = 背後1マス内 | |||
| two squares behind | 背後2マス = 背後2マス | |||
| all allies | 味方 | 味方全体 = 味方全体 | |||
| all ally members | 自陣全員 = 自陣全員 | |||
| all enemies | 敵陣全員 | 敵全体 = 敵陣全員 | |||
| one square in front | 前1マス = 前1マス | |||
| one square in front and self | 前1マス内 = 前1マス内 | |||
| nearby enemies within two squares | 周囲2マスの敵 = 周囲2マスの敵 | |||
| one square left and right | 左右1マス = 左右1マス | |||
| one square left and right and self | 左右1マス内 = 左右1マス内 | |||
|#default = {{{1|}}} | |#default = {{{1|}}} | ||
}} | }} | ||
Line 15: | Line 29: | ||
| 自身 = Only includes the caster. | | 自身 = Only includes the caster. | ||
| 敵 = Only includes attacked enemies. | | 敵 = Only includes attacked enemies. | ||
| 隣接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. 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. | ||
| 周囲1マス = Affects friendly units 1 space away from the unit horizontally and vertically and diagonally. Does NOT include the caster. | | 十字2マス = Affects all friendly units 2 spaces away from the unit horizontally and vertically, but not diagonally. Does NOT include the caster. | ||
| 十字2マス内 = Affects all friendly units 2 spaces 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 and diagonally. Does NOT include the caster. | |||
| 周囲1マス内 = Affects all friendly units 1 space away from the unit horizontally and vertically and diagonally, INCLUDING the caster. | | 周囲1マス内 = Affects all friendly units 1 space away from the unit horizontally and vertically and diagonally, INCLUDING the caster. | ||
| 距離2マス = Affects friendly units 2 spaces away from the unit horizontally and vertically, 1 space away diagonally, not including the caster. | | 距離2マス = Affects all friendly units 2 spaces away from the unit horizontally and vertically, 1 space away diagonally, not including the caster. | ||
| 距離2マス内 = Affects friendly units 2 spaces away from the unit horizontally and vertically, 1 space away diagonally, INCLUDING the caster. | | 距離2マス内 = Affects all friendly units 2 spaces away from the unit horizontally and vertically, 1 space away diagonally, INCLUDING the caster. | ||
| 無差別隣1マス = Affects adjacent friendly units 1 space away AND enemies hit. | |||
| 背後1マス = Affects the unit one square behind the caster. | |||
| 背後1マス内 = Affects the caster and the unit one square behind the caster. | |||
| 背後2マス = Affects units two squares behind the caster. | |||
| 味方全体 = All allies | |||
| 自陣全員 = All allies | |||
| 敵陣全員 = All enemies | |||
| 前1マス = | |||
| 前1マス内 = | |||
| 周囲2マスの敵 = | |||
| 左右1マス内 = | |||
| 左右1マス = | |||
}} | }} | ||
}}{{#vardefine:radius name en| | }}{{#vardefine:radius name en| | ||
Line 28: | Line 56: | ||
| 隣接1マス = adjacent | | 隣接1マス = adjacent | ||
| 隣接1マス内 = adjacent and self | | 隣接1マス内 = adjacent and self | ||
| 十字2マス = two squares horizontal and vertical | |||
| 十字2マス内 = two squares horizontal and vertical and self | |||
| 周囲1マス = nearby | | 周囲1マス = nearby | ||
| 周囲1マス内 = nearby and self | | 周囲1マス内 = nearby and self | ||
| 距離2マス = in a wide radius | | 距離2マス = in a wide radius | ||
| 距離2マス内 = in a wide radius and self | | 距離2マス内 = in a wide radius and self | ||
| 無差別隣1マス = adjacent allies, and also any enemies hit and damaged | |||
| 背後1マス = unit one square behind | |||
| 背後1マス内 = unit one square behind and self | |||
| 背後2マス = units two squares behind | |||
| 味方全体 = all allies | |||
| 自陣全員 = all allies | |||
| 敵陣全員= all enemies | |||
| 前1マス = one square in front | |||
| 前1マス内= one square in front and self | |||
| 周囲2マスの敵 = nearby enemies within two squares | |||
| 左右1マス内 = self and units to the left and right | |||
| 左右1マス = nearby units to the left and right | |||
| #default = {{#var:radius name jp|}} | |||
}} | }} | ||
}}{{#switch:{{{format|}}} | }}{{#switch:{{{format|}}} |
Latest revision as of 18:08, 13 February 2019
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