Template:Monzo: Difference between revisions

From Xenharmonic Wiki
Jump to navigation Jump to search
Xenwolf (talk | contribs)
m Removed protection from "Template:Monzo": time to review this template
Xenwolf (talk | contribs)
replaced closing bracket
Line 1: Line 1:
<includeonly><span style="white-space: nowrap;">&#124;{{{1|{{{text|0}}}}}}&gt;</span></includeonly><noinclude>
<includeonly><span style="white-space: nowrap;">&#124;{{{1|{{{text|0}}}}}}&#x27E9;</span></includeonly><noinclude>
This template eases using the [[Monzo|Monzo notation]], because the pipe symbol (<code>&#124;</code>) controls specific wiki functions and the greater sign (<code>&gt;</code>) has a special meaning in HTML (and thus sometimes also in the wiki text).
This template eases using the [[Monzo|Monzo notation]], because the pipe symbol (<code>&#124;</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:
Line 7: Line 7:
...will be rendered as
...will be rendered as


&#124;-19 12&gt;
&#124;-19 12&#x27E9;
 
:''see also [[template:val]]''


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

Revision as of 16:54, 29 May 2020

This template eases using the Monzo notation, because the pipe symbol (|) 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:

{{Monzo|-19 12}}

...will be rendered as

|-19 12⟩

see also template:val