Template:Monzo: Difference between revisions

Xenwolf (talk | contribs)
styling improved, next step could be to copy the layout provided by the math extension
Xenwolf (talk | contribs)
m fixed padding typo
Line 1: Line 1:
<includeonly><span style="white-space: nowrap; background-color:#f8f9ff"><span style="padding-left: 0.15em; padding-right: 0.15">&#91;</span>{{trim| {{{1|{{{text|0}}}}}} }}<span style="padding-left: 0.15em; padding-right: 0.15em">&#x27E9;</span></span></includeonly><noinclude>
<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>
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|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.


Line 7: Line 7:
...will be rendered as
...will be rendered as


<span style="white-space: nowrap; background-color:#f8f9ff"><span style="padding-left: 0.15em; padding-right: 0.15">&#91;</span>{{trim| -19 12 }}<span style="padding-left: 0.15em; padding-right: 0.15em">&#x27E9;</span></span>
<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>


:''see also [[template:val]]''
:''see also [[template:val]]''