模板:Spaced en dash space/doc

維基百科,自由的百科全書
跳至導覽 跳至搜尋

頁面Module:Message box/mbox.css沒有內容。

頁面Module:Message box/mbox.css沒有內容。

頁面Module:Side box/styles.css沒有內容。

package.lua第80行Lua錯誤:module 'Module:Navbar/configuration' not found

This is the spaced en dash space template; it renders like this (without the quote marks): " – "

It works similarly to the HTML markup sequence  –  i.e. a 不換行空格 (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 another non-breaking space (which will not line-break and will not collapse together with words that come after the template).

The recommended usage is to use no space before the template and no space after the template, like this:

[[盐]]{{snds}}[[黑胡椒|胡椒]]{{snds}}[[咖喱]]{{snds}}[[藏红花]]
This will render one space on each side of the dash, and a line break will not come before one of the dashes nor will a line break come after one of the dashes as rendered here:
 – 胡椒 – 咖喱 – 藏紅花

The template is used to conjoin words with an en dash but with a non-breaking space before and after the en dash. Others uses of the template "spaced en dash space" are within other templates, tables, lists, and similar things to provide a separator between items. It is also to be consistent so that the article editor can use their choice of {{bull}}, {{dot}}, {{middot}}, {{spaced en dash}}, or {{spaced en dash space}} and not have to insert the  · ,  · , ·,  – , or  –  symbols; they can use any of these templates as a simple macro. See above and right for shortcuts editors can use to easily implement this template in articles.

Dot sizes[編輯]

· middot
· bold {{middot}}
small bullet
{{bullet}}
bold bullet
{{en dash}}
{{em dash}}

See also[編輯]