Difference between revisions of "Template:Skill range combo"

From Tokyo Afterschool Summoners
Jump to navigation Jump to search
(Ara's name suggestion)
Line 1: Line 1:
<includeonly><onlyinclude>{{#switch:{{{1|}}}
<includeonly><onlyinclude>{{#switch:{{{1|}}}
<!--pls rename these ranges to something more sensible if you feel like doing so-->
| 3 0 0 0 0;2 1 0 0 0;1 2 0 0 0; = {{Tooltip|in upwards pyramid-3 range|[[File:pyramidupward.png|100px|link=]]}}
| 3 0 0 0 0;2 1 0 0 0;1 2 0 0 0; = {{Tooltip|in upwards pyramid-3 range|[[File:pyramidupward.png|100px|link=]]}}
| 3 0 0 0 0;2 1 0 0 0;1 2 0 0 0;0 3 0 0 0;-1 2 0 0 0;-2 1 0 0 0;-3 0 0 0 0; = {{Tooltip|in a diamond-3 range|[[File:diamond3.png|100px|link=]]}}
| 3 0 0 0 0;2 1 0 0 0;1 2 0 0 0;0 3 0 0 0;-1 2 0 0 0;-2 1 0 0 0;-3 0 0 0 0; = {{Tooltip|in a diamond-3 range|[[File:diamond3.png|100px|link=]]}}
| 1 0 0 0 0;2 1 0 0 0;3 2 0 0 0; = {{Tooltip|in downwards pyramid-3 range|[[File:pyramidinverse.png|100px|link=]]}}
| 1 0 0 0 0;2 1 0 0 0;3 2 0 0 0; = {{Tooltip|in a 3-square cone ahead|[[File:pyramidinverse.png|100px|link=]]}}
| 0 1 0 0 0;1 1 0 0 0; = {{Tooltip|in a horizontal+slash range|[[File:horizontalslash.png|100px|link=]]}}
| 0 1 0 0 0;1 1 0 0 0; = {{Tooltip|in a horizontal+slash range|[[File:horizontalslash.png|100px|link=]]}}
| -1 1 0 0 0;0 1 0 0 0; = {{Tooltip|in a horizontal+reverse slash range|[[File:horizontalreverseslash.png|100px|link=]]}}
| -1 1 0 0 0;0 1 0 0 0; = {{Tooltip|in a horizontal+reverse slash range|[[File:horizontalreverseslash.png|100px|link=]]}}

Revision as of 13:05, 20 September 2020

This template gives out a custom range based on a combination of multiple smaller ranges. The ranges must be passed as a single argument and be separated with a semicolon (the final range should end on a semicolon aswell). Additional custom ranges could be manually added to this template.

Usage

{{Skill range combo|3 0 0 0 0;2 1 0 0 0;1 2 0 0 0;}}

in upwards pyramid-3 rangePyramidupward.png

{{Skill range combo|3 0 0 0 0;2 1 0 0 0;1 2 0 0 0;0 3 0 0 0;-1 2 0 0 0;-2 1 0 0 0;-3 0 0 0 0;}}

in a diamond-3 rangeDiamond3.png