Pergi ke kandungan

Templat:Em/doc

Daripada Wikisumber

Usage

[sunting]

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 templat

Templat ini lebih menyukai pemformatan parameter dalam baris.

ParameterKeteranganJenisStatus
11

Width of blank space.

Angkapilihan