Template:Mset/doc
Jump to navigation
Jump to search
File:Edit-copy green.svg | This is a documentation subpage for Template:Mset. It contains usage information, categories, interlanguage links 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 avoids having to use the special templates {{(}}, {{!}}, and {{)}} and makes the meaning more clear.
Usage
Use this to wrap an expression. For example:
For instance {{math|1={{mset|0 .. 9}} = {{mset|''x'' | 0 ≤ ''x'' ≤ 9}}}}.
produces:
For instance {0 .. 9} = {x | 0 ≤ x ≤ 9}.
See also