I noticed that external links in the parameter |description=
of the template {{
Listen}} are not shown as such (
). Examining that template showed that it uses {{
Side box}} where class="plainlinks" is used. Is this behaviour deliberate or an unintended side effect? --
Michael Bednarek (
talk)
05:49, 30 June 2010 (UTC)
When I was looking at {{ Interwiki category}}, I wanted above parameter like below. It would be useful. Here's the sandbox. -- fryed-peach ( talk) 17:33, 9 August 2011 (UTC)
![]() | This
edit request has been answered. Set the |answered= or |ans= parameter to no to reactivate your request. |
Replace
metadata
with
{{#ifeq:{{lc:{{{metadata|}}}}}|no||metadata}}
so this template can be used for content like it says on the tin. — Lfdder ( talk) 11:16, 23 August 2013 (UTC)
I've written a Lua version of this template at
Module:Side box. You can test it out using {{
side box/sandbox}}, and there are test cases at
Module:Side box/testcases (
run) and
Template:Side box/testcases. It should be a one-for-one switch, apart from the |metadata=
parameter now accepting "no", "n", "false", and "0" to suppress the "metadata" class. This particular template isn't too resource-hungry, but it needs to be converted to Lua to allow some of its resource-hungry daughter templates, such as {{
listen}}, to be converted as well. Does anyone have any objections to be updating the template? —
Mr. Stradivarius
♪ talk ♪
07:10, 2 June 2014 (UTC)
![]() | This
edit request has been answered. Set the |answered= or |ans= parameter to no to reactivate your request. |
This template should have its own class. Currently, it uses mbox and mbox-text classes, which blocks setting the width:auto for any use case. -- Rezonansowy ( talk | contribs) 15:50, 30 November 2014 (UTC) Rezonansowy ( talk | contribs) 15:50, 30 November 2014 (UTC)
|style = width: auto !important
and it will override the width: 100%;
all by itself. If I'm misunderstanding you, then please show me where you want to use this feature and tell me why it is needed and I'll try to help you make it happen (even though this is a Lua module which I'm not very good with yet, I've set up a sandbox to play with and try and make needed adjustments). — {{U|
Technical 13}} (
e •
t •
c)
16:42, 24 January 2015 (UTC)This template/module doesn't appear to offer a belowstyle parameter – is this correct/intentional? If so, any particular reason why..? If not intentional, may it be added..? Sardanaphalus ( talk) 12:22, 15 January 2015 (UTC)
PS As text isn't necessarily what might be placed in the middle of the box, could the text parameter be renamed content (or content made an alias for text, or...) and textstyle renamed contentstyle (or...), please..?
It doesn't seem to be working with tables. [ Derek Leung | LM ] 16:15, 13 May 2015 (UTC)
![]() | This
edit request has been answered. Set the |answered= or |ans= parameter to no to reactivate your request. |
There's an issue with night mode skins where background is overwritten without changing text color leaving white text on white background. Please change in Module:Side box:
css{border = '1px solid #aaa', ['background-color'] = '#f9f9f9'}
to
css{border = '1px solid #aaa', ['background-color'] = '#f9f9f9', color = '#000'}
— Dispenser 22:27, 16 February 2017 (UTC)
![]() | This
edit request to
Template:Sidebox has been answered. Set the |answered= or |ans= parameter to no to reactivate your request. |
A protected redirect, Template:Sidebox , needs redirect category ( rcat) templates added. Please modify it as follows:
#REDIRECT [[Template:Side box]]
#REDIRECT [[Template:Side box]] {{Redirect category shell| {{R from move}} {{R from modification}} {{R from template shortcut}} }}
The {{ Redirect category shell}} template is used to sort redirects into one or more categories. When {{ pp-protected}} and/or {{ pp-move}} suffice, the Redirect category shell template will detect the protection level(s) and categorize the redirect automatically. (Also, the categories will be automatically removed or changed when and if protection is lifted, raised or lowered.) Thank you in advance! Paine Ellsworth put'r there 09:21, 14 May 2017 (UTC)
Hi, I suggest adding something like this to the documentation
{{Side box |metadata=No | above = '''''above''''' content appears here, in a separate row above the main text area | image = {{smaller|('''''image''''')}} | text = '''''text''''' content, the box's main content, appears here | imageright = {{longitem|font-size:90%|('''''image<br/>right'''''{{hsp}})}} | below = '''''below''''' content appears here, in a separate row below the main text area }}
to display which code generates the example box on the right. This will also make copy-pasting the code easy. AadaamS ( talk) 18:05, 17 March 2018 (UTC)
copies and adaptations you may only make copies or adaptations of the software for archival purposes or when copying or adaptation is an essential step in the authorized use of the software. you must you all copies or adaptations. you may not copy the software onto any public network. — Preceding unsigned comment added by 2604:2000:E8CC:700:D0B2:B41F:F1D7:BA99 ( talk) 08:23, 25 August 2018 (UTC)
Hello,
At line 109 in
Module:Side box there is the following code:textCell:addClass('mbox-text plainlist')
Please can a parameter be added to disable the 'plainlist' class so that lists with bullet points or numbers can appear in this template?
Thanks, DesertPipeline ( talk) 03:52, 26 June 2021 (UTC)
![]() | This
edit request to
Module:Side box has been answered. Set the |answered= or |ans= parameter to no to reactivate your request. |
|plainlist=
which, when set to "no", will suppress the "plainlist" class on the main text cell, allowing lists to be displayed normally. The parameter will default to "yes", i.e. the behaviour of existing uses of {{
Side box}} will not change. For background, compare
Wikipedia:Help desk#Bullet points not working within Template:Side box?.|class=none
parameter or similar which can override plainlist? Having a specific override parameter |plainlist=
would be unnecessary then. This would be useful if you wanted e.g. a |class=hlist
or something and avoids any need to add a further parameter later.
User:GKFX
talk
16:27, 3 July 2021 (UTC)
|class=
, when non-empty, would set the classes of the main text cell to only the classes specified (with "none" as a special case)? Or should it always keep mbox-text
? Or something else? –
Rummskartoffel
19:22, 3 July 2021 (UTC)|textclass=
parameter through {{
Sister project}}
and made an example by implementing it on
Trial of Socrates (which seemed to be what you were trying to accomplish). —
Uzume (
talk)
07:51, 12 July 2021 (UTC)
If I place the box on the right of a page, the text flows around it, but if I place in on the left, it doesn't. — kwami ( talk) 20:56, 10 October 2021 (UTC)
The page Crime in Sweden
visited on mobile
[1] displays the box, with the above
and below
texts, but not the image. --
62.98.162.83 (
talk)
07:50, 20 January 2022 (UTC)
I'm not sure how to fix this but
this edit broke {{
algebraic notation}}. When used with |pos=toc
, it used to look like
this, in a box next to the TOC.
Now it's just vertical text. But it doesn't stop there; on desktop if you zoom in enough (Ctrl + +), it goes back to normal. ~~
lol1VNIO🎌 (
talk •
contribs)
16:18, 10 July 2022 (UTC)
Bullet points in the "text" field don't seem to work. HLHJ ( talk) 23:53, 29 October 2022 (UTC)
|textclass=
parameter. For example,{{side box|textclass=vlist|text= Some text * foo * bar }}
{{side box|textclass=vlist|text=  * Some text * foo * bar }}
I think changing the default after a decade is likely to have a somewhat deleterious effect considering that there are presently 1038789 transclusions of this template. Apologies if I'm a little out of the loop here as I haven't thought about this template in years, but the
test cases page suggests that a year ago
Rummskartoffel (
talk ·
contribs)
introduced a test case for a plainlist=no
parameter. This doesn't ever seem to have actually been implemented in the code. I think that's probably the right approach if someone wants to look into it. If you need help please feel free to ping me.
Chris Cunningham (user:thumperward) (
talk)
12:25, 30 October 2022 (UTC)