Template:Mdash
(Redirected from Template:—)
—
This is the mdash template, it looks like this "—".
It works similarly to the html markup sequence "—
". That is, a long dash (known as an em dash).
{{—}} and {{emdash}} redirect here and can be used as alternative names for this template.
Normal usage
The recommended usage is to use no space before or after the template, like this:
Spices{{mdash}}like [[Black pepper|Pepper]]{{mdash}}are added to food.
Which looks like this:
Spices—like Pepper—are added to food.
Dot size reference list
· | <small> middot |
· | middot |
· | <small> bold middot |
· | bold middot |
• | <small> bullet |
• | bullet |
• | bold bullet |
– | ndash |
— | mdash |
Related pages
There are several other templates with similar functionality:
- {{·}} – Bold middot "·" is mostly used for dotted lists.
- {{•}} – Bullet "•" is mostly used for dotted lists that use small font sizes.
- {{ndash}} – Ndash "–" is a short dash, one half the width of an em dash.
The above documentation is transcluded from Template:Mdash/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |