Template:Multival/doc: Difference between revisions

m Undo revision 156727 by ArrowHead294 (talk). Readability
Tag: Undo
ArrowHead294 (talk | contribs)
mNo edit summary
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
{{dochead}}
{{dochead}}
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).
You can select bi-, tri-, or quad-val by specifying a second argument as <code>2</code> (default), <code>3</code>, or <code>4</code>.
=== Usage ===
=== Usage ===
{| class="wikitable center-all"
{| class="wikitable center-all"
|-
! You type !! You get
! You type !! You get
|-
|-
Line 11: Line 16:
|}
|}


; To include a legend, type
To include a legend, type
* <code><nowiki>{{multival|legend=1|rank=3| 4 -3 -14 -4 }}</nowiki></code>
* <code><nowiki>{{multival|legend=1|rank=3| 4 -3 -14 -4 }}</nowiki></code>


; This produces
This produces
* {{{{ROOTPAGENAME}}|legend=1|rank=3| 4 -3 -14 -4 }}
* {{{{ROOTPAGENAME}}|legend=1|rank=3| 4 -3 -14 -4 }}


Line 21: Line 26:
* [[Template:Mapping]]
* [[Template:Mapping]]
* [[Template:Multimonzo]]
* [[Template:Multimonzo]]
* [[Template:LaTeX mapping operators]] &ndash; For typesetting multimonzos and multivals up to four dimensions in LaTeX.
* [[Template:LaTeX mapping operators]] For typesetting multimonzos and multivals up to four dimensions in LaTeX.