Modèle:·
·
Fichier:Imbox content.png | This template is used on 400,000+ pages. To avoid large-scale disruption and unnecessary server load, any changes to this template should first be tested in the template's /sandbox or /testcases subpages, or in your own user space. The tested changes can then be added in one single edit to the template. Please consider discussing any changes on the talk page before implementing them. |
This is the bold middot template, it looks like this: " · ". It works similarly to the html+wiki markup sequence [ <b>·</b>
]. That is, a non-breaking space, a bolded middot and a normal space.
This template is used when you want something smaller than a bullet "•", or ndash "–".
This template's use for dotted lists is now deprecated. Use {{Flatlist}} or class="hlist"
instead; see WP:HLIST.
Template Dot is not really intended to be used in article text; it's intended for use in other templates, tables, lists and other equivalent things, in order to include a separator between items such as in infoboxes. It's also to be consistent so that the article editor can use their choice of {{bull}}, {{dot}}, {{middot}}, or {{spaced ndash}} 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 bolded middot (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 dot 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 dot will fit. See the column on the right. In code it's Item1{{dot}} Item2{{dot}} Item3{{dot}} Item4{{dot}} Item5{{dot}} etc. (with some smaller items squeezed in to show that the list doesn't 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 symbol following. | 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 dot doesn't touch the edge of the box, either |
Technical details
The space before the dot is a non-breaking space. That means it will not line break and will not collapse together with normal spaces that come before the template.
The space after the dot is a normal space. That means it wraps (allows line breaks) and it will collapse together with normal spaces that come after the template to form one single space.
Under some circumstances dotted link lists misbehave. They might get unexpected line wraps or they might expand outside the box they are enclosed in. The how-to guide Wikipedia:Line break handling explains when that happens and how to fix it.
Redirects
Dot sizes
· | small middot |
· | middot |
· | small bold middot |
· | bold middot |
• | small bullet |
• | bullet |
• | bold bullet |
– | en dash |
— | em dash |
See also
There are several similar templates:
- {{•}} – Bullet "•" is mostly used for dotted lists that use small font sizes.
- {{mid-dot}} – middot without the bold.
- {{spaced ndash}} – Ndash "–" is a short dash.
- {{\}} – For the occasional slash "/" in lists.
- {{-!}} – Spaced pipe "|"
ar:قالب:• bn:টেমপ্লেট:Middot bg:Шаблон:· ca:Plantilla:· cy:Nodyn:· da:Skabelon:· et:Mall:· eo:Ŝablono:· es:Plantilla:· fr:Modèle:· hi:साँचा:· hsb:Předłoha:· hu:Sablon:· id:Templat:· ia:Patrono:* it:Template:· he:תבנית:· ja:Template:· ko:틀:· ku:Şablon:· lv:Veidne:· ms:Templat:· nn:Mal:· pl:Szablon:· pt:Predefinição:· ro:Format:· ru:Шаблон:· simple:Template:· sl:Predloga:· sq:Stampa:· su:Citakan:· sv:Mall:· tr:Şablon:· vi:Tiêu bản:· uk:Шаблон:· zh-yue:Template:· zh:Template:·
The above documentation is transcluded from Modèle:·/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories and interwikis to the /doc subpage. Subpages of this template. |