Module talk:Sidebar/Archive 6: Difference between revisions

Content deleted Content added
m Archiving 1 discussion(s) from Module talk:Sidebar) (bot
m Archiving 1 discussion(s) from Module talk:Sidebar) (bot
Line 39:
 
:This cannot be overridden and that will not change. <code>nomobile</code> is used because the old class <code>vertical-navbox</code> is already hard-coded to be removed on mobile, but I wanted to change that class name to reflect the name of this module and because it was shorter for the purposes of TemplateStyles, so I added <code>nomobile</code> as a result. [[User:Izno|Izno]] ([[User talk:Izno|talk]]) 17:24, 12 April 2022 (UTC)
 
== List in the below parameter can break the next list ==
 
See [[Template:Sidebar with collapsible lists/testcases#List in the below parameter can break the next list]]. In example 2, why should omitting the blank line cause breakage of the list bullets? In HTML terms, they're bare {{tag|li}} elements without enclosing {{tag|ul}} tags. --[[User:Redrose64|<span style="color:#a80000; background:#ffeeee; text-decoration:inherit">Red</span>rose64]] &#x1f339; ([[User talk:Redrose64|talk]]) 19:15, 17 May 2022 (UTC)
 
:I've seen similar behavior (I was fighting with another module the other day over it), and I think it's when an element doesn't get closed the way it's supposed to, so then the parser tries its best to make sense of the remaining soup. I wouldn't be surprised in this case if it's caused by the fact we're using a table, but I don't actually know. [[User:Izno|Izno]] ([[User talk:Izno|talk]]) 19:25, 17 May 2022 (UTC)