• Home
  • Random
  • Nearby
  • Log in
  • Settings
Donate Now If Wikipedia is useful to you, please give today.
  • About Wikipedia
  • Disclaimers
Wikipedia

Template:Em dash

  • Template
  • Talk
  • Language
  • Watch
  • Change

—

Template documentation[view] [edit] [history] [purge]


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

change

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

change
· <small> middot
· middot
· <small> bold middot
· bold middot
• <small> bullet
• bullet
• bold bullet
– ndash
— mdash

Related pages

change

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 documentation on top is transcluded from Template:Em 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.
Retrieved from "https://simple.wikipedia.org/w/index.php?title=Template:Em_dash&oldid=5871185"
Last edited on 10 November 2017, at 17:29

Languages

    • العربية
    • অসমীয়া
    • Авар
    • Basa Bali
    • বাংলা
    • Башҡортса
    • Беларуская
    • भोजपुरी
    • Bikol Central
    • Bosanski
    • Català
    • Dansk
    • ދިވެހިބަސް
    • Ελληνικά
    • English
    • Esperanto
    • فارسی
    • Føroyskt
    • Français
    • ગુજરાતી
    • Gungbe
    • 한국어
    • Hrvatski
    • Ilokano
    • Bahasa Indonesia
    • עברית
    • Jawa
    • ಕನ್ನಡ
    • ქართული
    • Latina
    • मैथिली
    • Македонски
    • മലയാളം
    • مازِرونی
    • Bahasa Melayu
    • Мокшень
    • नेपाली
    • नेपाल भाषा
    • 日本語
    • Norsk nynorsk
    • ଓଡ଼ିଆ
    • Oʻzbekcha / ўзбекча
    • ਪੰਜਾਬੀ
    • ភាសាខ្មែរ
    • Polski
    • Português
    • Română
    • Русский
    • Scots
    • සිංහල
    • Slovenščina
    • Словѣньскъ / ⰔⰎⰑⰂⰡⰐⰠⰔⰍⰟ
    • کوردی
    • Српски / srpski
    • Sunda
    • Svenska
    • தமிழ்
    • တႆး
    • తెలుగు
    • ไทย
    • Türkçe
    • Українська
    • اردو
    • Tiếng Việt
    • 粵語
    • 中文
    • Betawi
    Wikipedia
    • Wikimedia Foundation
    • Powered by MediaWiki
    • This page was last changed on 10 November 2017, at 17:29.
    • Content is available under CC BY-SA 4.0 unless otherwise noted.
    • Privacy policy
    • About Wikipedia
    • Disclaimers
    • Code of Conduct
    • Developers
    • Statistics
    • Cookie statement
    • Terms of Use
    • Desktop