Template:Spaced en dash/doc

This is the spaced ndash 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 a normal space (which will line-break and will collapse together with normal spaces that come after the template).

Among other uses, this template may be used in lists to provide something stronger than a bold middot "&middot;" or a bullet "&bull;", but shorter than an em dash "&mdash;". For horizontal lists, use flatlist or  instead (see WP:HLIST) Here, the recommended usage is to use no space before the template and one space after the template, like this:
 * Salt – Pepper
 * This will render one space on each side of the dash, like this:
 * Salt – Pepper
 * A line break will come after one of the dashes, not before, when the spacing is used as suggested, like this:
 * Salt – Pepper –
 * Curry – Saffron