Template:Mset
From Wikipedia, the free encyclopedia
Page Module:Documentation/styles.css has no content.
File:Test Template Info-Icon - Version (2).svg Template documentation[view] [edit] [history] [purge]
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 Template:Tl template. It clarifies the template's output and avoids a need to use the magic word Script error: No such module "Template link general". or the character-substituting templates Template:Tl and Template:Tl.
Such notation is not only used with sets, but also Schläfli symbols and perhaps others.
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
- Template:Tl, which formats its argument as mathematics.
- the "magic word" Template:Tlx.
- Template:Tl
- Template:Tl
- Template:Tl