Template:Spaced en dash space

From MattWiki
Jump to navigation Jump to search


Documentation icon Template documentation[view] [edit] [history] [purge]
Spaced en dash space
En dash Em dash Figure dash
apostrophe   '
brackets [ ]  ( )  { }  ⟨ ⟩
colon :
comma ,  ،  
dash ‒  –  —  ―
ellipsis   ...  . . .
exclamation mark  !
full stop, period .
hyphen-minus -
question mark  ?
quotation marks ‘ ’  “ ”  ' '  " "
semicolon ;
slash, stroke, solidus /  
Word dividers
interpunct ·
General typography
ampersand &
asterisk *
at sign @
backslash \
caret ^
dagger † ‡
degree °
ditto mark
inverted exclamation mark ¡
inverted question mark ¿
number sign, pound, hash, octothorpe #
numero sign
obelus ÷
multiplication sign ×
ordinal indicator º ª
percent, per mil  % ‰
plus and minus + −
equals sign =
basis point
section sign §
tilde ~
underscore, understrike _
vertical bar, pipe, broken bar |    ¦
Intellectual property
copyright ©
sound-recording copyright
registered trademark ®
service mark
generic currency symbol ¤

฿¢$ƒ£ ¥

Uncommon typography
index, fist
irony punctuation
reference mark
In other scripts

This is the spaced en dash space template; it renders like this (without the quote marks): " – "

It works similarly to the HTML markup sequence  –  i.e. a non-breaking space (which will not line-break and will not collapse together with normal spaces that come before the template), a short dash (known as an en dash), and another non-breaking space (which will not line-break and will not collapse together with words that come after the template).

The recommended usage is to use no space before the template and no space after the template, like this:

January 4, 1909{{spaced en dash space}}February 29, 1971
This will render one space on each side of the dash, like this:
January 4, 1909 – February 29, 1971
A line break will not come before one of the dashes nor will a line break come after one of the dashes as rendered here:
Salt – Pepper – Curry – Saffron

The template is used to conjoin words with an en dash but with a non-breaking space before and after the en dash. Others uses of the template "spaced en dash space" are within other templates, tables, lists, and similar things to provide a separator between items. It is also to be consistent so that the article editor can use their choice of {{bull}}, {{dot}}, {{middot}}, {{spaced en dash}}, or {{spaced en dash space}} and not have to insert the  • ,  · ,  · ,  – , or  –  symbols; they can use any of these templates as a simple macro. See above and right for shortcuts editors can use to easily implement this template in articles.

Dot sizes

· middot
· bold {{middot}}
small bullet
bold bullet
{{en dash}}
{{em dash}}

See also