Difference between revisions of "Template:Skill range graphic"
Jump to navigation
Jump to search
(10 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
<includeonly><onlyinclude>{{#vardefine:range o|{{#explode:{{{1|0}}}| |0}}}}{{#vardefine:range h|{{#explode:{{{1}}}| | | <includeonly><onlyinclude>{{#vardefine:range o|{{#explode:{{{1|0}}}| |0}}}}{{#vardefine:range oh|{{#explode:{{{1|0}}}| |1}}}}{{#vardefine:range h|{{#explode:{{{1}}}| |2}}}}{{#vardefine:range v|{{#explode:{{{1}}}| |3}}}}{{#vardefine:range d|{{#explode:{{{1}}}| |4}}}}{{#vardefine:range s|{{#explode:{{{1}}}| |5}}}}{{#tag:mediator|https://api.housamo.xyz/housamo/api/spread/png/?ov={{#var:range o|0}}&oh={{#var:range oh|0}}&h={{#var:range h|0}}&v={{#var:range v|0}}&d={{#var:range d|0}}&s={{#var:range s|0}}&filename=asset.png|width={{{size|32}}}|range={{{1}}}|loading=lazy}}</includeonly></onlyinclude> | ||
{{#tag:mediator|https://api.housamo.xyz/housamo/api/spread/png/?o={{#var:range | |||
</includeonly></onlyinclude> | |||
== Description == | == Description == | ||
Template to easily generate weapon spreads using a format [[Template:Skill_range]] receives ([distance] [horizontal] [vertical] [diagonal]). | Template to easily generate weapon spreads using a format [[Template:Skill_range]] receives ([distance] [horizontal distance] [horizontal] [vertical] [diagonal]). | ||
<pre>{{Skill range graphic|0 0 0 0}}</pre>{{Skill range graphic|0 0 0 0}} | <pre>{{Skill range graphic|0 0 0 0 0 0}}</pre>{{Skill range graphic|0 0 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 0 1 1 0 0}}</pre>{{Skill range graphic|0 0 1 1 0 0}} | ||
<pre>{{Skill range graphic|1 1 1 1}}</pre>{{Skill range graphic|1 1 1 1}} | <pre>{{Skill range graphic|2 0 1 1 0 0}}</pre>{{Skill range graphic|2 0 1 1 0 0}} | ||
<pre>{{Skill range graphic| | <pre>{{Skill range graphic|1 0 1 1 1 0}}</pre>{{Skill range graphic|1 0 1 1 1 0}} | ||
<pre>{{Skill range graphic|1 0 1 0 0 0}}</pre>{{Skill range graphic|1 0 1 0 0 0}} | |||
<pre>{{Skill range graphic|1 0 1 1 0 1}}</pre>{{Skill range graphic|1 0 1 1 0 1}} |
Latest revision as of 02:19, 24 September 2021
Description
Template to easily generate weapon spreads using a format Template:Skill_range receives ([distance] [horizontal distance] [horizontal] [vertical] [diagonal]).
{{Skill range graphic|0 0 0 0 0 0}}
{{Skill range graphic|0 0 1 1 0 0}}
{{Skill range graphic|2 0 1 1 0 0}}
{{Skill range graphic|1 0 1 1 1 0}}
{{Skill range graphic|1 0 1 0 0 0}}
{{Skill range graphic|1 0 1 1 0 1}}