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

Template:En dash

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

–

Template documentation[view] [edit] [history] [purge]
Not to be confused with Template:Em dash.
Template to output an n-dash character
WarningThis template is used on approximately 45,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.
iconThis 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.
Shortcuts
  • {{ndashTemplate:Ndash}}
  • {{endashTemplate:Endash}}
  • {{nsndnsTemplate:Nsndns}}

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

Usage

The primary uses of an en dash are:

  • To indicate a range of numbers or dates (e.g. 1914–1918)
  • To show a relationship between things (e.g. a New York–London flight)

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

TemplateData for En dash

This template produces an en dash (–) character. It has the same effect as the HTML escape sequence –.

This template produces an en dash (–) character. It has the same effect as the HTML escape sequence –.

Template parameters[Edit template data]

ParameterDescriptionTypeStatus
No parameters specified

Syntax:{{en dash}}

See also

  • {{Non breaking en dash}}
  • {{Spaced en dash space}}
  • {{Spaced en dash}}
  • {{Em dash}}
The above documentation is transcluded from Template:En dash/doc. (edit | history)
Editors can experiment in this template's sandbox (create | mirror) 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:En_dash&oldid=774811039"