Difference between revisions of "Template:Skill radius"
Jump to navigation
Jump to search
m (Mrquiggles moved page Template:Skill Radius to Template:Skill radius) |
|||
Line 2: | Line 2: | ||
{{#switch:{{lc:{{{1|}}}}} | {{#switch:{{lc:{{{1|}}}}} | ||
| self | 自身 = 自身 | | self | 自身 = 自身 | ||
| enemies | 敵 = 敵 | |||
| adjacent | 隣接1マス = 隣接1マス | | adjacent | 隣接1マス = 隣接1マス | ||
| adjacent and self | 隣接1マス内 = 隣接1マス内 | | adjacent and self | 隣接1マス内 = 隣接1マス内 | ||
Line 13: | Line 14: | ||
{{#switch:{{#var:radius name jp|}} | {{#switch:{{#var:radius name jp|}} | ||
| 自身 = Only includes the caster. | | 自身 = Only includes the caster. | ||
| 敵 = 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 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. | ||
Line 23: | Line 25: | ||
{{#switch:{{#var:radius name jp|}} | {{#switch:{{#var:radius name jp|}} | ||
| 自身 = self | | 自身 = self | ||
| 敵 = enemies | |||
| 隣接1マス = adjacent | | 隣接1マス = adjacent | ||
| 隣接1マス内 = adjacent and self | | 隣接1マス内 = adjacent and self |
Revision as of 23:33, 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マス }}
adjacent
{{Skill Radius|隣接1マス内 }}
adjacent and self
{{Skill Radius|周囲1マス }}
nearby
{{Skill Radius|周囲1マス内}}
nearby and self
{{Skill Radius|距離2マス }}
in a wide radius