Template:Mset/doc

From imedwiki
< Template:Mset
Jump to navigation Jump to search

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,

Page Template:Mono/styles.css has no content.{{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}}


This template is based (in parts) on the Template:Mset/doc from the free encyclopedia wikipedia and is licensed under GNU license for free documentation and the Creative Commons Attribution/Share Alike. On wikipedia there is a List of authors accessible. More about importing from wikipedia on page Imedwiki:Importing from wikipedia.