VOOZH about

URL: https://en.wikipedia.org/wiki/Template:Mdash

⇱ Template:Em dash - Wikipedia


Jump to content
From Wikipedia, the free encyclopedia
(Redirected from Template:Mdash)

👁 Image
Template documentation
[view] [edit] [history] [purge]
Template to output an m-dash character
👁 icon
This template is safe for use in citation templates that produce COinS metadata; see Wikipedia:COinS. If HTML or other markup is added, then its use must be reevaluated.
👁 Warning
This template is used on approximately 18,000 pages and changes may be widely noticed. Test changes in the template's /sandbox or /testcases subpages, or in your own user subpage. Consider discussing changes on the talk page before implementing them.

This template produces an em dash (—), which is longer than both a hyphen (-) and an en dash (–).

Usage

The primary uses of an em dash are:

  • To link clauses, as an alternative to a colon or semicolon (e.g. Three alkali metals are the usual substituents—sodium, potassium, and lithium.)
  • To set off a phrase or list, as an alternative to a pair of commas or parentheses (e.g. Three alkali metals—sodium, potassium, and lithium—are the usual substituents.)

For further detail on dash usage, see MOS:DASH.

TemplateData

This is the TemplateData for this template used by TemplateWizard, VisualEditor and other tools. See a monthly parameter usage report for in articles based on its TemplateData.

TemplateData for Em dash

Generates an em dash (—) character.

Template parameters[Edit template data]

ParameterDescriptionTypeStatus
No parameters specified