Template talk:Expand section
(Redirected from Template talk:Expand section/sandbox)
Latest comment: 29 days ago by Redrose64 in topic Bulleted list error?
This is the talk page for discussing improvements to the Expand section template. |
|
Archives: 1, 2Auto-archiving period: 28 days ![]() |
Space before period
editThis template is invoked at Michael Flynn#Personal life, but for some reason that instance has a space before the period of the second section, reading as "You can help by adding to it ." There's no apparent reason why that space is there (no such issue appears on this template page), and neither purging the page nor a dummy edit fixed it. Anyone know what to do? QuietHere (talk | contributions) 08:37, 17 November 2024 (UTC)
- It's something to do with Template:Protected page maintenance message. --Redrose64 đš (talk) 11:37, 17 November 2024 (UTC)
Dark mode problem
editSee the screenshot for the Short Strand article. â Arthurfragoso (talk) 04:13, 8 January 2025 (UTC)
Bulleted list error?
editThe 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:
This section needs expansion with: * Bullet
|
{{Expand section|1= * Bullet * Points |date=July 2025}}
â ââ Kilvin ⢠đžâ 01:11, 28 July 2025 (UTC)
- @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 asIf you really feel that no introductory phrase is desirable, the two next-best methods are:{{Expand section|1=These areas are deficient: * Bullet * Points |date=July 2025}}
and{{Expand section|1=  * 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){{Expand section|1=<nowiki /> * Bullet * Points |date=July 2025}}