Edge Rewrite
// HTMLRewriter · presentation

This page was redesigned at the edge.

Cloudflare fetched the original article and streamed it through HTMLRewriter to apply an entirely new visual system without rebuilding the source page.

Jump to content

Template talk:Plainlist

Page contents not supported in other languages.
Add topic
From Wikipedia, the free encyclopedia
(Redirected from Template talk:Endplainlist)
Latest comment: 4 months ago by Juwan in topic On list-style inheriting

Class

[edit]

Hello

I think there is a mistake in the code for the div class.

The code is presently div class="plainlist {{{class|}}}", but shouldn't it be div class="{{{class|plainlist}}}" ?

This is probably the reason for Joeyconnick's problems in the topic above.

Kind regards,  Şÿℵדαχ₮ɘɼɾ๏ʁ 13:53, 19 May 2025 (UTC)Reply

Why would you want to override the plainlist class? It would defeat the purpose of this template. --Redrose64 🌹 (talk) 22:45, 19 May 2025 (UTC)Reply

Edit request 23 December 2025

[edit]

Description of suggested change: Please sync code from sandbox that adds the Module:check for unknown parameters.


Diff: (compare page here)

... </div>}}<noinclude></div> ....
+
... </div>}}{{#invoke:Check for unknown parameters|check|unknown={{main other|[[Category:Pages using plainlist with unknown parameters|_VALUE_{{PAGENAME}}]]}}|preview=Page using [[Template:Plainlist]] with unknown parameter "_VALUE_"|ignoreblank=y| class | style | indent | 1 }}<noinclude></div> ....

Zackmann (Talk to me/What I been doing) 01:02, 23 December 2025 (UTC)Reply

 Done * Pppery * it has begun... 21:02, 24 December 2025 (UTC)Reply

Indented nested lists

[edit]

Would it be reasonable to allow for nested lists to be visually indented? Something like .plainlist li ol, .plainlist li ul { padding-left: 1em; } would do it, I think. Note, per bolding, this should target lists that are children of list items, not the other way around.  HTGS (talk) 07:16, 5 March 2026 (UTC)Reply

They already are indented. --Redrose64 🌹 (talk) 18:09, 5 March 2026 (UTC)Reply
Why am I not seeing that? Eg:
  • Level 1
    • Level 2
    • Level 2
  • Level 1
 HTGS (talk) 09:03, 6 March 2026 (UTC)Reply
Oh, sorry, misunderstood. I just read Would it be reasonable to allow for nested lists to be visually indented? But how often is such nesting needed? --Redrose64 🌹 (talk) 11:16, 6 March 2026 (UTC)Reply
Probably not often. And I don’t think it should be encouraged broadly, but I’ve been looking at some history sidebars like Template:History of Azerbaijan which use some absurd wikitext to get a pseudo list layout, obviously against accessibility guidelines. Perhaps even another class could be created for plain lists that allow nesting if we wanted to make sure nesting is deliberate and necessary?  HTGS (talk) 22:00, 6 March 2026 (UTC)Reply
this is actually something that I find myself needing quite a lot in infoboxes!  Juwan  🕊️🌈 22:46, 13 March 2026 (UTC)Reply

On list-style inheriting

[edit]

the following piece of code may be the cause of a behaviour that has bugged me for some time. given a a table or div that has the text aligned in the center/right, the plainlist needs to manually be set to be centered (list_style=text-align: center;).

.plainlist ol,
.plainlist ul {
	list-style: none;
}

 Juwan  🕊️🌈 23:10, 13 March 2026 (UTC)Reply