Template:Skill range
Description
Parses a string in the format of [distance] [horizonal distance] [horizontal] [vertical] [diagonal] [is-square] into something human readable.
Examples
{{Skill range|0 0 0 0 0 0}}at target
![](https://api.housamo.xyz/housamo/api/spread/png/?ov=0&oh=0&h=0&v=0&d=0&s=0&filename=asset.png)
{{Skill range|1 0 0 0 2 0}}in a 1x1 area around the front of target
![](https://api.housamo.xyz/housamo/api/spread/png/?ov=1&oh=0&h=0&v=0&d=2&s=0&filename=asset.png)
{{Skill range|-2 0 0 0 1 0}}in a 1x1 area around the 2nd square behind target
![](https://api.housamo.xyz/housamo/api/spread/png/?ov=-2&oh=0&h=0&v=0&d=1&s=0&filename=asset.png)
{{Skill range|1 0 0 1 0 0}}1 square diagonally away from the front of target
![](https://api.housamo.xyz/housamo/api/spread/png/?ov=1&oh=0&h=0&v=1&d=0&s=0&filename=asset.png)
{{Skill range|-2 0 1 0 0 0}}in a 3-square vertical line around the 2nd square behind target
![](https://api.housamo.xyz/housamo/api/spread/png/?ov=-2&oh=0&h=1&v=0&d=0&s=0&filename=asset.png)
{{Skill range|0 0 1 1 0 0}}1 square diagonally away from target
![](https://api.housamo.xyz/housamo/api/spread/png/?ov=0&oh=0&h=1&v=1&d=0&s=0&filename=asset.png)
{{Skill range|0 0 2 2 0 0}}2 squares diagonally away from target
![](https://api.housamo.xyz/housamo/api/spread/png/?ov=0&oh=0&h=2&v=2&d=0&s=0&filename=asset.png)
{{Skill range|0 0 1 1 1 0}}in a 1x3 area around target
![](https://api.housamo.xyz/housamo/api/spread/png/?ov=0&oh=0&h=1&v=1&d=1&s=0&filename=asset.png)
{{Skill range|5 0 6 7 8 0}}in a 1x13 area around the 5th square in front of target
![](https://api.housamo.xyz/housamo/api/spread/png/?ov=5&oh=0&h=6&v=7&d=8&s=0&filename=asset.png)
{{Skill range|0 1 1 1 1 0}}in a 3x3 area around target
![](https://api.housamo.xyz/housamo/api/spread/png/?ov=0&oh=1&h=1&v=1&d=1&s=0&filename=asset.png)
The above documentation is transcluded from Template:Skill range/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |