Difference between revisions of "Template:Skill range graphic"
Jump to navigation
Jump to search
Line 1: | Line 1: | ||
<includeonly><onlyinclude>{{#vardefine:range o|{{#explode:{{{1|0}}}| |0}}}}{{#vardefine:range h|{{#explode:{{{1}}}| |1}}}}{{#vardefine:range v|{{#explode:{{{1}}}| |2}}}}{{#vardefine:range d|{{#explode:{{{1}}}| |3}}}} | <includeonly><onlyinclude>{{#vardefine:range o|{{#explode:{{{1|0}}}| |0}}}}{{#vardefine:range h|{{#explode:{{{1}}}| |1}}}}{{#vardefine:range v|{{#explode:{{{1}}}| |2}}}}{{#vardefine:range d|{{#explode:{{{1}}}| |3}}}} | ||
{{#tag:mediator|https://api.housamo.xyz/housamo/api/spread/png/?o={{#var:range o|0}}&h={{#var:range h|0}}&v={{#var:range v|0}}&d={{#var:range d|0}}?filename=asset.png|width=32}} | {{#tag:mediator|https://api.housamo.xyz/housamo/api/spread/png/?o={{#var:range o|0}}&h={{#var:range h|0}}&v={{#var:range v|0}}&d={{#var:range d|0}}?filename=asset.png|width={{{size|32}}}}} | ||
</includeonly></onlyinclude> | </includeonly></onlyinclude> | ||
== Description == | == Description == | ||
Line 6: | Line 6: | ||
<pre>{{Skill range graphic|0 0 0 0}}</pre>{{Skill range graphic|0 0 0 0}} | <pre>{{Skill range graphic|0 0 0 0}}</pre>{{Skill range graphic|0 0 0 0}} | ||
<pre>{{Skill range graphic|0 1 1 0}}</pre>{{Skill range graphic|0 1 1 0}} | <pre>{{Skill range graphic|0 1 1 0}}</pre>{{Skill range graphic|0 1 1 0}} | ||
<pre>{{Skill range graphic|1 1 1 1}}</pre>{{Skill range graphic|1 1 1 1}} | |||
<pre>{{Skill range graphic|-1 2 2 0}}</pre>{{Skill range graphic|-1 2 2 1}} |
Revision as of 21:15, 8 March 2019
Description
Template to easily generate weapon spreads using a format Template:Skill_range receives ([distance] [horizontal] [vertical] [diagonal]).
{{Skill range graphic|0 0 0 0}}
{{Skill range graphic|0 1 1 0}}
{{Skill range graphic|1 1 1 1}}
{{Skill range graphic|-1 2 2 0}}