Template:Monzo: Difference between revisions
Jump to navigation
Jump to search
→Usage example: lowercase version better for usage |
removed special knowledge for better usage, added example for alternative syntax |
||
Line 1: | Line 1: | ||
<includeonly><span class="monzo"><span class="left">[</span>{{trim| {{{1|{{{text|0}}}}}} }}<span class="right">⟩</span></span></includeonly><noinclude> | <includeonly><span class="monzo"><span class="left">[</span>{{trim| {{{1|{{{text|0}}}}}} }}<span class="right">⟩</span></span></includeonly><noinclude> | ||
This template eases using [[monzo notation]], | This template eases using [[monzo notation]], it puts its argument into the right brackets (<code>[⟩</code>, <code>&#91;</code> and <code>[https://www.compart.com/de/unicode/U+27E9 &#x27E9;]</code> and [U+27E9]). It also removes surrounding space from the argument list. | ||
== Usage example == | == Usage example == | ||
; You type | ; You type | ||
: <code><nowiki>{{monzo| -19 12 }}</nowiki></code> | : <code><nowiki>{{monzo| -19 12 }}</nowiki></code> or the equivalent | ||
: <code><nowiki>{{monzo|text= -19 12 }}</nowiki></code> | |||
; You get (rendered) | ; You get (rendered) |
Revision as of 11:17, 31 May 2020
This template eases using monzo notation, it puts its argument into the right brackets ([⟩
, [
and ⟩
and [U+27E9]). It also removes surrounding space from the argument list.
Usage example
- You type
{{monzo| -19 12 }}
or the equivalent{{monzo|text= -19 12 }}
- You get (rendered)
- [-19 12⟩