Template:Em
Usage
This is similar to the {{Gap}} template, but the parameter is always interpreted with em as the unit. An em (or em space) was originally the width of the character “M”.
This template uses CSS styling. To insert an actual em space (U+2003) use {{emspace}}.
*Leftward text{{em|.25}}Rightward text. *Leftward text{{em|.5}}Rightward text. *Leftward text{{em}}Rightward text. *Leftward text{{em|2}}Rightward text. *Leftward text{{em|4}}Rightward text.results in:
- Leftward textRightward text.
- Leftward textRightward text.
- Leftward textRightward text.
- Leftward textRightward text.
- Leftward textRightward text.
Note that the default is 1 em.
Adds a blank space of the specified ''em'' width.
Parameter | Description | Type | Status | |
---|---|---|---|---|
1 | 1 | Width of blank space. | Number | optional |
The above documentation is transcluded from Template:Em/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |