Difference between revisions of "Template:Skill range graphic"
Jump to navigation
Jump to search
SurtrFan8511 (talk | contribs) |
|||
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}}}}{{#vardefine:range s|{{#explode:{{{1}}}| |4}}}} | <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}}}}{{#vardefine:range s|{{#explode:{{{1}}}| |4}}}} | ||
{{#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}}&s={{#var:range s|0}}&filename=asset.png|width={{{size|32}}}|range={{{1}}}}} | {{#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}}&s={{#var:range s|0}}&filename=asset.png|width={{{size|32}}}|range={{{1}}}|loading=lazy}} | ||
</includeonly></onlyinclude> | </includeonly></onlyinclude> | ||
== Description == | == Description == |
Revision as of 07:20, 6 September 2020
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 0}}
{{Skill range graphic|0 1 1 0 0}}
{{Skill range graphic|2 1 1 0 0}}
{{Skill range graphic|1 1 1 1 0}}
{{Skill range graphic|1 1 0 0 0}}
{{Skill range graphic|1 1 1 0 1}}