Teamplaid:

O Wiktionary
Jump to navigation Jump to search

 •

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

This is the bullet template; it looks like this: [ • ]

It works similarly to the HTML markup sequence: [&nbsp;&bull; ], that is, a non-breaking space, a bullet and a normal space.

This template is used when you want a larger bullet than a bold Middot [·], but something smaller than an en dash [–].

This template's use for dotted lists is now deprecated. use {{Flatlist}} or class="hlist" instead; see WP:HLIST.

Normal usage[deasaich]

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

{{enUici|Salt}}{{•}} {{enUici|Black pepper|Pepper}}

Because the template contains a non-breaking space on the left side, the text will render one space on each side of the bullet, like this:

SaltPepper

The purpose of this is to ensure that, if the line breaks, it will do so on the right side of the bullet.

Salt
Pepper
Here's an example of how it's used

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 bullet will hang at its end • Item6 • C • Item7 • Item8 • Item9 • Item10 • Item11 • Item12 • D • Item13 • Item14 • Item15 • Item16 • Item17 • Item18

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

Incorrect usage[deasaich]

If the template is used slightly wrong, it will, in some cases, still behave well. For instance, if there are no or several spaces after the template, like these examples:

{{enUici|Salt}}{{•}}{{enUici|Black pepper|Pepper}}
{{enUici|Salt}}{{•}}   {{enUici|Black pepper|Pepper}}

Both of them will render exactly as before, with just one space on each side of the bullet, like this:

SaltPepper

And it will still only line break after the bullet, like this:

Salt
Pepper

But putting one or more spaces before the template will cause problems, like these examples:

{{enUici|Salt}} {{•}}{{enUici|Black pepper|Pepper}}
{{enUici|Salt}}   {{•}}{{enUici|Black pepper|Pepper}}
{{enUici|Salt}} {{•}} {{enUici|Black pepper|Pepper}}
{{enUici|Salt}}   {{•}}   {{enUici|Black pepper|Pepper}}

Then it will render with two spaces before the bullet and one after, like this:

Salt  • Pepper

And if it line breaks it might break before the bullet, like this:

Salt
 • Pepper

Technical details[deasaich]

The space before the bullet 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 bullet 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[deasaich]

Dot sizes[deasaich]

· middot
· bold {{Middot}}
small bullet
{{Bullet}}
bold bullet
{{Endash}}
{{Emdash}}

Faic cuideachd - Also see

There are several other templates with similar stream formatting purposes and such (or related) functionality:

  • {{·}} – bold Middot or (·)
  • {{Spaced ndash}} – dash#En dash or "–", a short dash
  • {{\}} – for the occasional slash or "/" in lists (note that the template is a backslash because template names may not contain a slash)

Wrap control templates[deasaich]

  • You might need to handle proper word wrapping (line breaking):
    • {{Nowraplinks}} – Prevents wraps inside links and only allows wraps between the links and in normal text, very useful for link lists and easy to use.
    • {{Nowrap begin}} – Prevents wraps in both text and links. For the really tricky wrapping cases when you need full control, for instance in very complex link lists.
  • For further information, see: Wikipedia:Line-break handling – The how-to guide detailing how to handle line wrapping on Wikipedia.

Template data[deasaich]

This is the TemplateData documentation for this template used by VisualEditor and other tools.

The template makes a bullet. There are no optional or required parameters for this template. 'Bullet' or 'bullet' may be used as alternative template names.

Paramadairean na teamplaide

ParamadairTuairisgeulSeòrsaStaid
Cha deach paramadair a shònrachadh
https://gd.wiktionary.org/wiki/Teamplaid:%E2%80%A2
gd.wiktionary.org
crawl=CC-MAIN-2022-40
49548
application/http; msgtype=response
sha1:3MRH5BUA6VZYWENGXUZRR6SMAX4R6VNF
<urn:uuid:03a217fd-8159-4b7d-8cad-9e6d3fa24691>
2022-09-25T13:52:41Z
208.80.154.224
text/html
sha1:33VNQEZQ5STNCX57ZNKOKI4L5WMB3F5A
<urn:uuid:789c0cdd-97e0-44e6-a138-bfe8e75688ad>
https://gd.wiktionary.org/wiki/Teamplaid:%E2%80%A2
response
<urn:uuid:3af74dbb-1b57-461c-9223-cef6d40d212a>
isPartOf: CC-MAIN-2022-40
publisher: Common Crawl
description: Wide crawl of the web for September/October 2022
operator: Common Crawl Admin (info@commoncrawl.org)
hostname: ip-10-67-67-88
software: Apache Nutch 1.19 (modified, https://github.com/commoncrawl/nutch/)
robots: checked via crawler-commons 1.4-SNAPSHOT (https://github.com/crawler-commons/crawler-commons)
format: WARC File Format 1.1
conformsTo: https://iipc.github.io/warc-specifications/specifications/warc-format/warc-1.1/