Template:Multival

From Xenharmonic Wiki
Revision as of 15:44, 23 September 2026 by FloraC (talk | contribs) (No longer need the functionality of a legend. Match it with Template: Multimonzo)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
Template documentation[view] [edit] [history] [purge]

This template eases using wedgie notation: it puts the right brackets (⟨⟨ and ]]) around its arguments (it also removes surrounding space).

You can select bi-, tri-, or quad-val by specifying a second argument as 2 (default), 3, or 4.

Usage

You type You get
{{multival| 1 4 10 4 13 12 }} ⟨⟨1 4 10 4 13 12]]
{{multival|rank=3| 4 -3 -14 -4 }} ⟨⟨⟨4 -3 -14 -4]]]

See also