Difference between revisions of "Template:Skill range combo"

no edit summary
(Created page with "<includeonly><onlyinclude>{{#switch:{{{1|}}} | 3 0 0 0 0;2 1 0 0 0;1 2 0 0 0; = {{Tooltip|in upwards pyramid-3 range|100px|link=}} | 3 0 0 0 0;2 1 0...")
 
 
(14 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<includeonly><onlyinclude>{{#switch:{{{1|}}}
<includeonly><onlyinclude>{{#switch:{{{1|}}}
| 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=]]}}
<!--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;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 0;2 0 1 0 0 0;1 0 2 0 0 0; = {{Tooltip|in a 3-square diamond radius ahead|[[File:pyramidupward.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=]]}}
| 3 0 0 0 0 0;2 0 1 0 0 0;1 0 2 0 0 0;0 0 3 0 0 0;-1 0 2 0 0 0;-2 0 1 0 0 0;-3 0 0 0 0 0;
| 3 0 0 0 0 0;2 0 1 0 0 0;1 0 2 0 0 0;0 0 3 0 0 0;-3 0 0 0 0 0;-2 0 1 0 0 0;-1 0 2 0 0 0; = {{Tooltip|in a 3-square diamond radius|[[File:diamond3.png|100px|link=]]}}
| 1 0 0 0 0 0;2 0 1 0 0 0;3 0 2 0 0 0; = {{Tooltip|in a 3-square cone ahead|[[File:pyramidinverse.png|100px|link=]]}}
| 0 0 1 0 0 0;1 0 1 0 0 0; = {{Tooltip|beside or in Slash range|[[File:horizontalslash.png|100px|link=]]}}
| -1 0 1 0 0 0;0 0 1 0 0 0; = {{Tooltip|beside or in reverse Slash range|[[File:horizontalreverseslash.png|100px|link=]]}}
| -1 0 1 0 0 0;-2 0 1 0 0 0; = {{Tooltip|in a 3x2 box behind|[[File:Range 3x2 behind.png|100px|link=]]}}
| 2 1 0 1 0 0;2 -1 0 1 0 0; = {{Tooltip|in horizontally adjacent to shot range squares|[[File:2 1 0 1 0 0 + 2 -1 0 1 0 0.png|100px|link=]]}}
| 2 0 1 0 0 0;1 0 1 0 0 0; = {{Tooltip|in a 3x2 box ahead|[[File:Range 3x2 ahead.png|100px|link=]]}}
<!--add new entries here-->
<!--add new entries here-->
}}</includeonly></onlyinclude><noinclude>
}}</includeonly></onlyinclude><noinclude>{{Documentation}}</noinclude>
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==
 
<pre>{{Skill range combo|3 0 0 0 0;2 1 0 0 0;1 2 0 0 0;}}</pre>
{{Skill range combo|3 0 0 0 0;2 1 0 0 0;1 2 0 0 0;}}
 
<pre>{{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;}}</pre>
{{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;}}
</noinclude>
4,366

edits