Template:Em/doc

From Wikisource
Jump to navigation Jump to search

Usage[edit]

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.

Template parameters

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
11

Width of blank space.

Numberoptional