Module talk:Sidebar
Text and/or other creative content from this version of Module:Sidebar was copied or moved into incubator:Module:Wp/nod/Sidebar with this edit. The former page's history now serves to provide attribution for that content in the latter page, and it must not be deleted as long as the latter page exists. |
|
||||||
This page has archives. Sections older than 90 days may be automatically archived by Lowercase sigmabot III when more than 4 sections are present. |
Related pages |
---|
Left justified text?
Is there a simple way to use normal left-justified text for the content section? Maury Markowitz (talk) 14:14, 18 July 2022 (UTC)
- @Maury Markowitz, the only way today is to use
|contentstyle=text-align: left
(or the same for|liststyle=
in sidebar with collapsible lists). These parameters are documented in Template:Sidebar#Deprecated parameters. I have considered adding a parameter to support this in the module directly like how the centered text is supported for sidebar with collapsible list titles now. Izno (talk) 06:54, 17 December 2022 (UTC)
Support for plainlist TemplateStyles and mobile disappearing styles
I've made some changes to the module sandbox here that reflect changes made to Module:Navbox/sandbox and which I've started a discussion at Template talk:Navbox#TemplateStyles for plainlist. These changes are describe in parts 1 and 2 there. If you have questions, please feel free to discuss there. Izno (talk) 23:40, 16 December 2022 (UTC)
- Hi, Izno. Thank you for your work on the CSS/TemplateStyles refactoring. Are edits such as Special:Diff/1157915259 useful with regards of this effort?
- I see that Module:Sidebar has support for adding the TemplateStyles based on parameters (
|contentclass=
in the case of {{Atomic radius}}). Will functionadd_list_styles
be eventually removed from Module:Sidebar (assuming all relevant places are replaced with explicit calls to {{plainlist}} et al.)? Or isadd_list_styles
and related code for adding TemplateStyles expected to be left in the module "forever"? —andrybak (talk) 19:57, 31 May 2023 (UTC)- @Andrybak, it's probably not much of a win, if a win at all, today, to make swaps like that. I did do that for a few sidebars several years ago, but having to deal with the hundreds of thousands of navigation templates (Module:Sidebar and Module:Navbox, and Module:Infobox too) made it not a winning strategy to me when there are other much larger gains to be had. Right now, if there is a loss, it's that the addition of plainlist/hlist styles to a page would become slightly less deterministic. Izno (talk) 19:59, 31 May 2023 (UTC)
Headings misaligned with list titles
As you can see on Template:Politics of Serbia and Montenegro. I believe something needs to be done on Module:Sidebar/styles.css to fix this but not quite sure what. -Vipz (talk) 19:49, 3 January 2023 (UTC)
Style parameters used in Template:Sidebar person
It appears that about half of the pages in Category:Sidebars with styles needing conversion are there because they use {{Sidebar person}}, which uses a couple of |style=
parameters. If someone who understands the minimal documentation about templatestyles wants to update that template, it will tidy up a bunch of pages at once. – Jonesey95 (talk) 04:15, 14 March 2023 (UTC)