Template:Step vis: Difference between revisions

Ganaram inukshuk (talk | contribs)
No edit summary
ArrowHead294 (talk | contribs)
mNo edit summary
 
(11 intermediate revisions by 4 users not shown)
Line 1: Line 1:
<includeonly>{{#invoke:Step_vis|step_vis_frame
<includeonly>{{#if: {{{1|}}}|{{#invoke: Step_vis | step_vis
|Step Pattern={{{1|}}}
| Step Pattern={{{1}}}
}}</includeonly><noinclude>
| debug={{lc: {{{debug|}}}}}
This template is used to visualize the step pattern of a scale given as a sequence of whole-number step sizes.
}}|}}</includeonly><noinclude>
== Usage ==
{{documentation}}
 
Step patterns are entered as shown below. The first parameter should contain the step pattern, with step sizes separated by spaces.
 
<pre>{{Step vis|5 5 5 3 5 5 3}}</pre>
{{Step vis|5 5 5 3 5 5 3}}
 
<pre>{{Step vis|1=5 5 5 3 5 5 3}}</pre>
{{Step vis|1=5 5 5 3 5 5 3}}
 
Step patterns are drawn using the ASCII box drawing symbols ├, ┤, ─, and ┼.
 
=== Regarding step sizes of 0 ===
Step sizes of 0 are depicted using the symbol ╫, ╢, or ╟, depending on the location.
 
<pre>{{Step vis|5 5 5 0 5 5 0}}</pre>
{{Step vis|5 5 5 0 5 5 0}}
 
Scales with consecutive size-0 steps may not display properly.
 
<pre>{{Step vis|0 0 5 5 5 0 0 5 5 0 0}}</pre>
{{Step vis|0 0 5 5 5 0 0 5 5 0 0}}


[[Category:Functionality templates]]
</noinclude>
</noinclude>