Template:Mdash/doc
This is a documentation subpage for Template:Mdash. It contains usage information, categories and other content that is not part of the original template page. |
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.