Template talk:Bulleted list

Page contents not supported in other languages.
From Wikipedia, the free encyclopedia
WikiProject iconLists Template‑class
WikiProject iconThis template is within the scope of WikiProject Lists, an attempt to structure and organize all list pages on Wikipedia. If you wish to help, please visit the project page, where you can join the project and/or contribute to the discussion.
TemplateThis template does not require a rating on the project's quality scale.

Why use this template over asterisks?[edit]

* one * two * three

You can use asterisks to make a bulleted list.

  • Here's an example
  • Second bullet

Why use the template instead?

  • this looks
  • the same

- Paul2520 (talk) 04:54, 5 August 2014 (UTC)[reply]

Paul2520 did you try the example in the documentation? Frietjes (talk) 14:00, 5 August 2014 (UTC)[reply]
@Frietjes: Wow, I can't believe I missed that. Thank you for pointing it out! Paul2520 (talk) 14:27, 5 August 2014 (UTC)[reply]

Doesn't bullet in Wikipedia Beta[edit]

I didn't know about this template, which I find doesn't work as advertised in Wikipedia Beta, at least on smartphones. Copied from Talk:Charles Dutoit # Bullets in infobox:

In Wikipedia Beta on a smartphone or other small mobile device, the "Associated acts" list in the infobox is so narrow that it's almost only one word per line, and the names seem to run together. I've added bullets (U+2022) to keep them visually separate. See this screenshot (that I made in my own phone just now from Wikipedia Beta) to see how they ran together.
This is even more true with lists of people's names in other languages, where the reader may be at a loss to tell where one name ends and another begins. We really need a template for this.

Then I tried using {{Blist}} there instead. See this screenshot (likewise my own work on my own phone just now). Instead of bullets, the individual entries are separated by slightly wider vertical white space: better than nothing, but IMO not as good as bullets.
--Thnidu (talk) 19:09, 23 July 2017 (UTC)[reply]

Doesn't bullet inside a plain list[edit]

I can't get the bullets to show if the list is inside {{unbulleted list}}. I guess the no-bullets style cascades down to the inner list, but I can't override it with list_style_type.

  • Here's an unbulleted list
    • This sub-list should have a bullet, but doesn't

Hairy Dude (talk) 16:20, 27 May 2019 (UTC) Additionally the inner list has no indentation on the non-mobile site. Hairy Dude (talk) 16:21, 27 May 2019 (UTC)[reply]

Clarity and examples[edit]

With respect, this was not very clear to me. I know some html. I think what we need is some examples of what our list possibilities are. Gladiator-Citizen (talk) 05:56, 10 October 2019 (UTC)[reply]

Agreed: Collation#Labeling of ordered items specifies that bullet style may be Arabic, Roman, or letters, but Template:Bulleted list lacks a § Template data with a table of parameters seen in other templates (Template:Citation needed for example). — Christopher, Sheridan, OR (talk) 18:02, 1 February 2021 (UTC)[reply]

Indentation[edit]

If an image is placed to the left of this template, the bullets are indented left of ordinary text. Example:

Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, etc.
Bulleted list:

  • one
  • two
  • three

More ordinary text ...

That doesn't look right to me. Is it fixable? Angusta (talk) 08:07, 13 February 2021 (UTC)[reply]

Style problem[edit]

|style=list-style-type:'☐' fails to perform as expected (same goes for changing it to |list_style= or |item_style=, and/or wrapping the quote chars in nowiki, and/or changing the quotes to double-quote glyphs. In every case, the module is converting them to &-codes (' for single quotes, etc.). But the quoting is syntactically required; just doing |style=list-style-type:☐ is invalid markup, since ☐ or some other character to use is not one of the pre-defined values like square or trad-chinese-informal.  — SMcCandlish ¢ 😼  08:49, 23 November 2023 (UTC)[reply]

PS: The code for the |list_style_type= parameter, which does not have this problem, can probably be directly borrowed from {{Ordered list}}. It's weird that it doesn't already work, since both templates are #invoke:list instances.  — SMcCandlish ¢ 😼 
No because the bullet is fake: https://en.wikipedia.org/w/skins/Vector/resources/skins.vector.styles/images/bullet-icon.svg?d4515 An image trumps a character.[1] Template:Ordered list uses characters, which is why it can be styled. Rjjiii (talk) 09:12, 23 November 2023 (UTC)[reply]
Indeed list-style-type CSS is documented to be usable for the bullet-symbol of unordered lists.[2] Looking at the underlying Module:List, its support is controlled by:
if listType == 'ordered' or listType == 'horizontal_ordered' then 
		data.listStyleType = args.list_style_type or args['list-style-type']
Pinging Mr. Stradivarius, who made that design decision via this edit. DMacks (talk) 09:39, 23 November 2023 (UTC)[reply]
There must be a way around this image-trumping-a-character problem, maybe by assigning a specific class to the list. Semantically speaking, there doesn't appear to be any rational use case for an <ol>...</ol> using something like list-style-type:'☐', which would render all the list items beginning with the same character, i.e. unordered. The use case is actually for unordered lists to begin with, where markup like this could be used to represent a ballot listing or something else that might be using box characters.  — SMcCandlish ¢ 😼  09:46, 23 November 2023 (UTC)[reply]
Other use-cases for custom bullet in unordered lists include an expandable tree-list, such as seen in {{Category tree}}, and documenting a filesystem, where one might want a folder icon. DMacks (talk) 10:00, 23 November 2023 (UTC)[reply]