Template:Step vis/doc
Jump to navigation
Jump to search
- This template is implemented by the Lua module Module:Step vis.
- This template invokes the following functions: step_vis from Step vis.
| This template has been deprecated. Its replacements are Template:Dochead and Template:Module introspection. |
| This template uses Lua: |
This template is used to visualize the step pattern of a scale given as a sequence of whole-number step sizes.
Usage
Step patterns are entered as shown below. The first parameter should contain the step pattern, with step sizes separated by spaces.
{{Step vis|5 5 3 5 5 5 3}}
├────┼────┼──┼────┼────┼────┼──┤
{{Step vis|4 1 4 1 4 1 4 1 4}}
├───┼┼───┼┼───┼┼───┼┼───┤
Step patterns are drawn using the Unicode box-drawing symbols ├ (U+251C), ┤ (U+2524), ─ (U+2500), and ┼ (U+253C).
Regarding step sizes of 0
Step sizes of 0 are depicted using the symbol ╫ (U+256B), ╢ (U+2562), or ╟ (U+255F), depending on the location.
{{Step vis|5 5 5 0 5 5 0}}
├────┼────┼────╫────┼────╢
Scales with consecutive size-0 steps may not display properly.
{{Step vis|0 0 5 5 5 0 0 5 5 0 0}}
╟────┼────┼────╫────┼────╢