Increase left+right padding/margin to help browsers wrap hlists more reliably?
It appears that a margin-right:0.5em Adding some left+right padding/margin reduces or removes errors when hlists wrap within Sidebars – see e.g. {{History of science sidebar}}'s recent history – so could someone speaking Lua please add the equivalent of the following to this module..? Sardanaphalus (talk) 14:10, 13 August 2014 (UTC) PS I think this might resolve much in the above.
-- [[User:Edokter]] {{talk}}
|answered=
Siddrth.reddy (talk) 14:00, 19 September 2014 (UTC)
Currently, I think {{Sidebar with collapsible lists}} requires a list[N]name to match expanded exactly if list[N] is to be shown expanded. Can someone with the Lua know-how make this requirement case-insensitive, please – not least because a few of these templates I've passed by previously seem to've been set up as if it is – ? Sardanaphalus (talk) 18:15, 15 October 2014 (UTC)
expanded
collapsed
|ab=
{{{ab|}}}
{{{ab|{{{aB|{{{Ab|{{{AB|}}}}}}}}}}}}
{{lc:}}
Please replace the cellspacing attribute on the table with an appropriate CSS. There're still some obsolete atributes, including cellspacing. See the error list, thank you in advance! See Template_talk:Infobox#Protected_edit_request_on_30_October_2014 for more info. Rezonansowy (talk | contribs) 21:17, 31 October 2014 (UTC)
Hello – could the code be amended, please, so that it can handle {{Sidebar |child as {{Navbox}} handles {{Navbox |child?I suspect a line such as border = trim(args.border or args[1] or '') (from Module:Navbox) will be needed somewhere, but, in lieu-a of learning Lua, that's about as far as my guessing extends.Sardanaphalus (talk) 12:31, 13 January 2015 (UTC)
{{Sidebar |child
{{Navbox |child
border = trim(args.border or args[1] or '')
PS The same modification for {{Infobox}} as well..?
{{infobox}}
|child=yes
{{Infobox |child
There's content1style, content2style etc, but not, so far as I can see, content1class, content2class, etc. Since, for example, the lists supplied as a Sidebar's contents are not necessarily all "hlist" or all "plainlist" in nature, could these parameters be included, please? Sardanaphalus (talk) 10:40, 18 January 2015 (UTC) (i.e. so code such as below left rather than below right may be used:)
{{Sidebar | name = ...... | class = plainlist ............ | heading1 = ...... | content1class = hlist | content1 = ...... | heading2 = ...... | content2 = ...... | heading3 = ...... | content3 = ...... | heading4 = ...... | content4class = hlist | content4 = ...... | heading5 = ...... | content5 = ...... (etc) }}
{{Sidebar | name = ...... | class = plainlist ............ | heading1 = ...... | content1 = {{startflatlist}} ...... {{endflatlist}} | heading2 = ...... | content2 = ...... | heading3 = ...... | content3 = ...... | heading4 = ...... | content4 = {{startflatlist}} ...... {{endflatlist}} | heading5 = ...... | content5 = ...... (etc) }}
{{Sidebar | name = ...... | class = plainlist
............
| heading1 = ...... | content1 = {{startflatlist}} ...... {{endflatlist}}
| heading2 = ...... | content2 = ......
| heading3 = ...... | content3 = ......
| heading4 = ...... | content4 = {{startflatlist}} ...... {{endflatlist}}
| heading5 = ...... | content5 = ......
(etc)
}}
See the Discrimination sidebar at Genocide for example. The first header is noticeably smaller than the second header, at least in regard to the part that is colored. Could someone fix this? Kaldari (talk) 18:40, 29 April 2016 (UTC)
for example, the sidebar in Politics of Angola has bad margins and the embedded content is the wrong size. Frietjes (talk) 00:17, 3 June 2017 (UTC)
Code like
{{sidebar | title = Top level title | content1 = {{sidebar | child = yes | title = First subsection | heading1 = Heading 1.1 | content1 = Content 1.1 }} | content2 = {{sidebar | child = yes | title = Second subsection | heading1 = Heading 2.1 | content1 = Content 2.1 }} |belowstyle = |below = Below text }}
produces stripped-tag errors <th>. Maybe this is caused by a line in Module:Sidebar like
<th>
:wikitext('</th></tr>') -- @todo replace this with unclosed again once mw.html gets it
--RolandUnger (talk) 05:55, 25 July 2017 (UTC)
I'm wondering if there is a way to import some of the logic from Module:InfoboxImage into this module. Specifically the tracking that is done with Category:Pages using infoboxes with thumbnail images. Would be awesome to get a Category:Pages using sidebars with thumbnail images. Anyone have thoughts on the matter? --Zackmann08 (Talk to me/What I been doing) 16:41, 19 September 2017 (UTC)