spaced En Dash

 –

spaced En Dash Tài liệu bản mẫu

This is the spaced en dash template; it renders like this (without the quote marks): " – " 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). Among 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 class="duhoc-vi 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:
      Salt – Pepper
    A line break will come after one of the dashes, not before, when the spacing is used as suggested, like this:
      Salt – Pepper –
      Curry – Saffron

{{snd}} is a handy synonym.

Here's an example of use for lists
One use of template "spaced en dash" is 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}}, or {{spaced en dash}} and not have to insert the  • ,  · ,  · , or symbol, they can use any of these as a simple macro. The idea being that if you have a table with a list of items, you can insert a spaced short dash (or the other symbols) between items that will appear correct, in that the items always have just one separator between them, and when a list crawls to the next line, the dash hangs onto the prior item instead of rolling over to the next line. Notice on the end of this box, the symbol hangs on the end of the last item that will fit on the line indicating that additional items follow on the next line as part of this list, but the item only stays on the line if the item and the dash will fit. See the column on the right. In code it is Item1{{spaced en dash}} Item2{{spaced en dash}} Item3{{spaced en dash}} Item4{{spaced en dash}} Item5{{spaced en dash}} etc. (with some smaller items squeezed in to show that the list does not have to be the same number of items per line) but in the box they all fold perfectly once it runs out of space on the line to fit the next item and the dash following.

Normally, in a real box these items would be links, but this is an example.

Item1ABItem2Item3Item4Item5extra itemE1234567item that won't attach to prior line unless it fits in the remaining space – QA slightly longer itemKKAn obviously really even longer item that the dash will hang at its endItem6CItem7Item8Item9Item10Item11Item12DItem13Item14Item15Item16Item17Item18

The space on the end makes sure the dash doesn't touch the edge of the box, either

Kích thước Dot

· dấu chấm giữa
· {{middot}} đậm
dấu bullet nhỏ
{{bullet}}
dấu bullet đậm
{{en dash}}
{{em dash}}

Xem thêm

  • {{·}}, which produces a spaced bold interpunct ("middot"): " · "
  • {{•}}, which produces a spaced bullet-point: " • "
  • {{\}}, which produces a spaced (forward-)slash: " / "
  • {{en dash}}, which produces an (unspaced) en dash.
  • {{em dash}}, which produces an (unspaced) em dash.

Inserts a spaced en dash; it renders like this (without the quote marks): " – ".

Tham số bản mẫuQuản lý Dữ liệu bản mẫu

Tham sốMiêu tảKiểuTrạng thái
Không định rõ tham số

Tags:

🔥 Trending searches on Wiki Tiếng Việt:

Nguyễn Hà PhanĐường cao tốc Cầu Giẽ – Ninh BìnhKhmer ĐỏSóc TrăngViệt Nam Dân chủ Cộng hòaKylian MbappéIndonesiaBrighton & Hove Albion F.C.ÝBabyMonsterBạch LộcLịch sử Việt NamCuộc đua xe đạp tranh Cúp truyền hình Thành phố Hồ Chí Minh 2022Võ Thị Ánh XuânHoàng thành Thăng LongMinh MạngDanh sách Tổng thống Hoa KỳĐiện Kính ThiênDanh sách tập Keep RunningĐắk LắkNguyễn Xuân PhúcJennie (ca sĩ)Mã MorseKim Jong-unHổĐài LoanPhật giáo Hòa HảoDanh sách trận chung kết Cúp C1 châu Âu và UEFA Champions LeagueĐế MinhKhóa chặt cửa nào SuzumeBình ThuậnErling HaalandDanh sách nhân vật trong Thanh gươm diệt quỷSon Ye-jinKiều AnhKhởi nghĩa Yên ThếRadio France InternationaleĐồng (đơn vị tiền tệ)Hàn TínV (ca sĩ)Đạt-lai Lạt-maHà Tây (tỉnh)Nhà HánDanh sách quốc gia xã hội chủ nghĩaQuảng NgãiHuếJisooHãng hàng không Quốc gia Việt NamNgày Thống nhấtTrần PhúInstagramCuộc đua xe đạp tranh Cúp truyền hình Thành phố Hồ Chí Minh 2023Hà NộiTruyện KiềuĐinh Tiên HoàngĐơn vị 731Vườn quốc gia Cúc PhươngChiến tranh Nguyên Mông – Đại ViệtApollo 1Nhà LýLật mặt (phim)LượmPhạm Văn ThiềuTrung Dũng (diễn viên)Giải thưởng nghệ thuật BaeksangNam ĐịnhCampuchiaĐỗ Nhật HàLãnh thổ Việt Nam qua từng thời kỳBến TreFacebookMặt trận Dân tộc Giải phóng miền Nam Việt NamTổng công ty Truyền thông đa phương tiện VTCNgày xửa... ngày xưa (nhạc kịch)Phạm Nhật Vượng🡆 More