• Home
  • Random
  • Nearby
  • Log in
  • Settings
Donate Now If Wikipedia is useful to you, please give today.
  • About Wikipedia
  • Disclaimers
Wikipedia

Template:Em dash

  • Template
  • Talk
  • Language
  • Watch
  • View source
(Redirected from Template:Mdash)

—

Template documentation[view] [edit] [history] [purge]
Not to be confused with Template:En dash.
Template to output an m-dash character
This template is safe for use in citation templates that produce COinS metadata; see Wikipedia:COinS. If HTML or other markup is added, then the template must be reevaluated.
WarningThis template is used on approximately 16,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.
Shortcuts
  • {{emdashTemplate:Emdash}}
  • {{--Template:--}}
  • {{mdashTemplate:Mdash}}

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 Template:Em dash in articles based on its TemplateData.

TemplateData for Em dash

Generates an em dash (—) character.

Generates an em dash (—) character.

Template parameters[Edit template data]

ParameterDescriptionTypeStatus
No parameters specified
The above documentation is transcluded from Template:Em dash/doc. (edit | history)
Editors can experiment in this template's sandbox (edit | diff) and testcases (create) pages.
Add categories to the /doc subpage. Subpages of this template.
Retrieved from "https://en.wikipedia.org/w/index.php?title=Template:Em_dash&oldid=792252222"
Last edited on 25 July 2017, at 12:32

Languages

    • العربية
    • অসমীয়া
    • Авар
    • Basa Bali
    • বাংলা
    • Башҡортса
    • Беларуская
    • भोजपुरी
    • Bikol Central
    • Bosanski
    • Català
    • Dansk
    • ދިވެހިބަސް
    • Ελληνικά
    • Esperanto
    • فارسی
    • Føroyskt
    • Français
    • ગુજરાતી
    • Gungbe
    • 한국어
    • Hrvatski
    • Ilokano
    • Bahasa Indonesia
    • עברית
    • Jawa
    • ಕನ್ನಡ
    • ქართული
    • Latina
    • मैथिली
    • Македонски
    • മലയാളം
    • مازِرونی
    • Bahasa Melayu
    • Мокшень
    • नेपाली
    • नेपाल भाषा
    • 日本語
    • Norsk nynorsk
    • ଓଡ଼ିଆ
    • Oʻzbekcha / ўзбекча
    • ਪੰਜਾਬੀ
    • ភាសាខ្មែរ
    • Polski
    • Português
    • Română
    • Русский
    • Scots
    • සිංහල
    • Simple English
    • Slovenščina
    • Словѣньскъ / ⰔⰎⰑⰂⰡⰐⰠⰔⰍⰟ
    • کوردی
    • Српски / srpski
    • Sunda
    • Svenska
    • தமிழ்
    • တႆး
    • తెలుగు
    • ไทย
    • Türkçe
    • Українська
    • اردو
    • Tiếng Việt
    • 粵語
    • 中文
    • Betawi
    Wikipedia
    • Wikimedia Foundation
    • Powered by MediaWiki
    • This page was last edited on 25 July 2017, at 12:32 (UTC).
    • Content is available under CC BY-SA 4.0 unless otherwise noted.
    • Privacy policy
    • About Wikipedia
    • Disclaimers
    • Contact Wikipedia
    • Code of Conduct
    • Developers
    • Statistics
    • Cookie statement
    • Terms of Use
    • Desktop