Template talk:Expand section

Dark mode problem

[edit]

See the screenshot for the Short Strand article. — Arthurfragoso (talk) 04:13, 8 January 2025 (UTC)[reply]

Bulleted list error?

[edit]

The documentation states that A bulleted list with lines beginning '*' can be given. However, unless I use <br> after the equal sign, it renders like this:

{{Expand section|1=
* Bullet
* Points
|date=July 2025}}

‍ –‍ Kilvin👾01:11, 28 July 2025 (UTC)[reply]

@Kilvin the Futz-y Enterovirus: This is not an issue specific to Template:Expand section, but occurs with any template that accepts parameters. In general, a parameter value should never begin with a list; the newline before the first asterisk is lost as part of the whitespace trimming. The workaround is to add anything that isn't counted as either the start of a list, or as whitespace.
Anyway, I don't think that A bulleted list with lines beginning '*' can be given. is intended to be read as if a list may be the entire content of the parameter, but that a list may be part of the parameter's value. The best method is to add some introductory text before the list, such as
{{Expand section|1=These areas are deficient:
* Bullet
* Points
|date=July 2025}}
If you really feel that no introductory phrase is desirable, the two next-best methods are:
{{Expand section|1=&#32;
* Bullet
* Points
|date=July 2025}}
and
{{Expand section|1=<nowiki />
* Bullet
* Points
|date=July 2025}}
both of which display nothing, but ensure that the newline isn't lost. --Redrose64 🌹 (talk) 18:48, 28 July 2025 (UTC)[reply]

AI

[edit]

Just a heads up that this template, thanks to Newcomer Tasks including it, is frequently removed with LLM edits of dubious quality (thanks to Newcomer Tasks gamifying edit quantity). Gnomingstuff (talk) 02:11, 14 October 2025 (UTC)[reply]