Template:Monzo: Difference between revisions
Jump to navigation
Jump to search
m fixed padding typo |
ready, inline CSS moved to external CSS site+user |
||
Line 1: | Line 1: | ||
<includeonly><span | <includeonly><span class="monzo"><span class="left">[</span>{{trim| {{{1|{{{text|0}}}}}} }}<span class="right">⟩</span></span></includeonly><noinclude> | ||
This template eases using [[ | This template eases using [[monzo notation]], because the left angle bracket (<code>[</code>) controls specific wiki functions and the greater sign (<code>></code>) - used as a surrogate for right angle bracket <code>⟩</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 == | ||
; You type | |||
: <code><nowiki>{{Monzo| -19 12 }}</nowiki></code> | |||
<span | ; You get (rendered) | ||
: <span class="monzo"><span class="left">[</span>{{trim| -19 12 }}<span class="right">⟩</span></span> | |||
== 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⟩