Template:Em/doc
Appearance
This is a documentation subpage for Template:Em. It contains usage information, categories and other content that is not part of the original template page. |
Usage
[edit]This is based on {{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 pure 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 |