Template:Monzo: Difference between revisions

From Xenharmonic Wiki
Jump to navigation Jump to search
Xenwolf (talk | contribs)
fixed changed delimiter class names
Xenwolf (talk | contribs)
link to site-wide common.css
Line 21: Line 21:
* [[Template:Lbrack]]
* [[Template:Lbrack]]
* [[Template:Trim]]
* [[Template:Trim]]
* [[MediaWiki:Common.css]] ... contains style definition(s) for the <code>monzo class</code>


[[Category:Templates]]
[[Category:Templates]]

Revision as of 12:18, 31 May 2020

This template eases using monzo notation: it puts the right brackets ([ and ) around its arguments (it also removes surrounding space).

Usage example

You type
{{monzo| -19 12 }} or the equivalent
{{monzo|text= -19 12 }}

(the option of adding spaces supports readability of the wiki markup)

You get (rendered)
[-19 12

Technical Note

Code point U+27E9 is used for the right angle bracket , the ASCII approximation is the greater-than symbol (> or &gt;).

See also