Template:Monzo list: Difference between revisions

m Recategorize
ArrowHead294 (talk | contribs)
No edit summary
Line 2: Line 2:
This '''monzo list''' template eases typing [[monzo list]]s: it puts ket notation (<code>&#x27E8;</code> and <code>&#93;</code>) around each of its arguments and left and right brackets outside (it also removes surrounding spaces). You may optionally include a legend. Monzo lists are supported up to rank-4.  
This '''monzo list''' template eases typing [[monzo list]]s: it puts ket notation (<code>&#x27E8;</code> and <code>&#93;</code>) around each of its arguments and left and right brackets outside (it also removes surrounding spaces). You may optionally include a legend. Monzo lists are supported up to rank-4.  


== Usage ==
{{doc}}
; You type
: <code><nowiki>{{monzo list| 1 0 0 0 }}</nowiki></code>
: <code><nowiki>{{monzo list| 1 0 0 | 0 0 1 }}</nowiki></code>
: <code><nowiki>{{monzo list|legend=1| 1 0 0 0 | 0 1 1/4 0 | -3 0 5/2 0 }}</nowiki></code>
 
:'''Tip''': adding spaces improves readability of the wiki markup.
 
; You get (rendered)
: {{{{PAGENAME}}| 1 0 0 0 }}
: {{{{PAGENAME}}| 1 0 0 | 0 0 1 }}
: {{{{PAGENAME}}|legend=1| 1 0 0 0 | 0 1 1/4 0 | -3 0 5/2 0 }}
 
== Technical note ==
This template calls [[Template: Ket]] to render the brackets.
 
== See also ==
* [[Template: Mapping]]
* [[Template: Monzo]]
* [[Template: Ket]]


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