Template:Monzo: Difference between revisions

From Xenharmonic Wiki
Jump to navigation Jump to search
Xenwolf (talk | contribs)
m fixed padding typo
Xenwolf (talk | contribs)
ready, inline CSS moved to external CSS site+user
Line 1: Line 1:
<includeonly><span style="white-space: nowrap; background-color:#f8f9ff"><span style="padding: 0 0.15em">&#91;</span>{{trim| {{{1|{{{text|0}}}}}} }}<span style="padding: 0 0.15em">&#x27E9;</span></span></includeonly><noinclude>
<includeonly><span class="monzo"><span class="left">&#91;</span>{{trim| {{{1|{{{text|0}}}}}} }}<span class="right">&#x27E9;</span></span></includeonly><noinclude>
This template eases using [[Monzo|monzo notation]], because the left angle bracket (<code>&#91;</code>) controls specific wiki functions and the greater sign (<code>&gt;</code>) - used as a surrogate for right angle bracket <code>&#x27E9;</code> ([[Unicode]] code point [https://www.compart.com/de/unicode/U+27E9 U+27E9]) - has a special meaning in HTML and also in the wiki text.
This template eases using [[monzo notation]], because the left angle bracket (<code>&#91;</code>) controls specific wiki functions and the greater sign (<code>&gt;</code>) - used as a surrogate for right angle bracket <code>&#x27E9;</code> ([[Unicode]] code point [https://www.compart.com/de/unicode/U+27E9 U+27E9]) - has a special meaning in HTML and also in the wiki text.


Usage example:
== Usage example ==
<nowiki>{{Monzo| -19 12 }}</nowiki>


...will be rendered as
; You type
: <code><nowiki>{{Monzo| -19 12 }}</nowiki></code>


<span style="white-space: nowrap; background-color:#f8f9ff"><span style="padding: 0 0.15em">&#91;</span>{{trim| -19 12 }}<span style="padding: 0 0.15em">&#x27E9;</span></span>
; You get (rendered)
: <span class="monzo"><span class="left">&#91;</span>{{trim| -19 12 }}<span class="right">&#x27E9;</span></span>


:''see also [[template:val]]''
== See also ==
* [[template:val]]


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

Revision as of 10:58, 31 May 2020

This template eases using monzo notation, because the left angle bracket ([) controls specific wiki functions and the greater sign (>) - used as a surrogate for right angle bracket (Unicode code point U+27E9) - has a special meaning in HTML and also in the wiki text.

Usage example

You type
{{Monzo| -19 12 }}
You get (rendered)
[-19 12

See also