Template:Mset/doc: Difference between revisions
From Vigyanwiki
m (→See also: clean up per WP:CAT#T and WP:AWBREQ add template:Sandbox other) |
m (1 revision imported) |
(No difference)
|
Latest revision as of 09:24, 27 July 2022
This is a documentation subpage for Template:Mset. It may contain usage information, categories and other content that is not part of the original template page. |
The mset template wraps its argument or arguments in curly brackets. If two arguments are supplied, a pipe mark is placed between them. These are used to delimit a set.
The template is designed for use inside the {{math}} template. It clarifies the template's output and avoids a need to use the magic word {{!}}
or the character-substituting templates {{(}} and {{)}}.
Usage
Use this template to wrap an expression. For example,
- {{math |1={{mset|0 .. 9}} = {{mset|''n'' | 0 ≤ ''n'' ≤ 9}}}}
produces:
- {0 .. 9} = {n | 0 ≤ n ≤ 9}
See also
- {{math}}, which formats its argument as mathematics.
- the "magic word"
{{!}}
. - {{abs}}
- {{norm}}
- {{braces}}