Template:Multival: Difference between revisions

ArrowHead294 (talk | contribs)
No edit summary
ArrowHead294 (talk | contribs)
Formatting
Line 1: Line 1:
<includeonly>{{#if: {{{legend|}}} | [[Wedgie]]:&nbsp;}}<span class="val"><span class="left-delim">&#x27E8;{{#switch: {{{rank|2}}} | 2 = &#x27E8; | 3 = &#x27E8;&#x27E8; | 4 = &#x27E8;&#x27E8;&#x27E8; }}</span>{{trim| {{{1|0}}} }}<span class="right-delim">&#93;{{#switch: {{{rank|2}}} | 2 = &#93; | 3 = &#93;&#93; | 4 = &#93;&#93;&#93; }}</span></span></includeonly><noinclude>
<includeonly>{{#if: {{{legend|}}}|[[Wedgie]]:&nbsp;}}<span class="val"><span class="left-delim">&#x27E8;{{#switch: {{{rank|2}}}
| 2=&#x27E8;
| 3=&#x27E8;&#x27E8;
| 4=&#x27E8;&#x27E8;&#x27E8;
}}</span>{{trim|{{{1|0}}}}}<span class="right-delim">&#93;{{#switch: {{{rank|2}}}
| 2=&#93;
| 3=&#93;&#93;
| 4=&#93;&#93;&#93;
}}</span></span></includeonly><noinclude>
This template eases using [[wedgie]] notation: it puts the right brackets (<code>&#x27E8;&#x27E8;</code> and <code>&#93;&#93;</code>) around its arguments (it also removes surrounding space).
This template eases using [[wedgie]] notation: it puts the right brackets (<code>&#x27E8;&#x27E8;</code> and <code>&#93;&#93;</code>) around its arguments (it also removes surrounding space).