From Wikipedia, the free encyclopedia
(Redirected from Template:Snd)–
This template should not be used in citation templates such as Citation Style 1 and Citation Style 2, because it includes markup that will pollute the COinS metadata they produce; see Wikipedia:COinS. This template is used on approximately 265,000 pages.This template produces a spaced en dash ({{snd}}
for short): –
. 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).
Typical uses of dashes are to mark a break in a sentence, or to set off an explanatory remark (similar to parentheses), or to show spans of time or ranges of values. The spaced en dash is generally preferred in modern "Commonwealth English" typography, while older British and recent American typography generally uses an unspaced em dash for the same purpose. See MOS:DASH.
UsageAmong other uses, this template may be used in lists to provide something stronger than a bold middot "·" or a bullet "•", but shorter than an em dash "—". For horizontal lists, use {{flatlist}} or {{Hlist}} 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]]{{spaced en dash}} [[Pepper]]
This will render one space on each side of the dash, like this:
A line break will come after one of the dashes, not before, when the spacing is used as suggested, like this:
Normally, in a real box these items would be links, but this is an example.
Item1 – A – B – Item2 – Item3 – Item4 – Item5 – extra item – E – 1 – 2 – 3 – 4 – 5 – 6 – 7 – item that won't attach to prior line unless it fits in the remaining space – Q – A slightly longer item – KK – An obviously really even longer item that the dash will hang at its end – Item6 – C – Item7 – Item8 – Item9 – Item10 – Item11 – Item12 – D – Item13 – Item14 – Item15 – Item16 – Item17 – Item18The space on the end makes sure the dash doesn't touch the edge of the box, either.
ParametersInserts a spaced en dash; it renders like this (without the quote marks): " – ".
Template parameters[Edit template data]
Parameter Description Type Status No parameters specified Dot sizes See alsoRetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.3