Difference between revisions of "Template:Skill range graphic"

From Tokyo Afterschool Summoners
Jump to navigation Jump to search
(Created page with "<includeonly><onlyinclude> <!-- {{#vardefine:range o|{{#explode:{{{1|0}}}| |0}}}}{{#vardefine:range h|{{#explode:{{{1}}}| |1}}}}{{#vardefine:range v|{{#explode:{{{1}}}| |2}}...")
 
Line 1: Line 1:
<includeonly><onlyinclude>
<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}}}}
<!--
{{#mediator:https://api.housamo.xyz/housamo/api/parse/spread/?o={{#var:range o|0}}&h={{#var:range h|0}}&v={{#var:range v|0}}&d={{#var:range d|0}}}}
 
<!--
{{#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}}}}
 
{{#mediator:https api housamo xyz / housamo / api / parse / spread / ? o = {{#var:range o|0}} & h = {{#var:range h|0}} & v = {{#var:range v|0}} & d = {{#var:range d|0}} | width = {{{size|32}}} | height = {{{size|32}}} }}
 
or  
or  


Line 12: Line 8:
where output is a pretty fancy <img></img>
where output is a pretty fancy <img></img>


-->
--></includeonly></onlyinclude>
</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] [vertical] [diagonal]).


Work in progress.
<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}}

Revision as of 21:11, 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}}

{{#mediator:https://api.housamo.xyz/housamo/api/parse/spread/?o=0&h=0&v=0&d=0}}


{{Skill range graphic|0 1 1 0}}

{{#mediator:https://api.housamo.xyz/housamo/api/parse/spread/?o=0&h=1&v=1&d=0}}