Jump to content
Wikipedia The Free Encyclopedia

Template:En dash

From Wikipedia, the free encyclopedia

Template documentation[view] [edit] [history] [purge]
Not to be confused with Template:Em dash.
Template to output an n-dash character
Warning This template is used on approximately 43,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.
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.

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

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.

AltStyle によって変換されたページ (->オリジナル) /