Template talk:Quote box

From Wikipedia, the free encyclopedia
Jump to: navigation, search


I'm not sure if this is the correct place to request this. The quote box width when viewed on Official Mobile English Wikipedia needs to be forced to 100%. This is a highly used template, so this issue needs to be fixed. BaldBoris 06:42, 16 February 2013 (UTC)

We're doing a pass over style issues right now and are noticing this; note that on desktop the use of percentage widths like '25%' is horrible as well if the window size is small; nobody should ever be setting a width like that because it's not really usable at various sizes. Template may need some cleaning to discard this parameter so people stop abusing it? Anyway.... we'll see if we can force something. --brion (talk) 18:48, 9 June 2014 (UTC)
Ok we're putting in a quick fix: https://gerrit.wikimedia.org/r/#/c/138389/1 --brion (talk) 18:55, 9 June 2014 (UTC)

putting a dash before the source[edit]

The mock-up at the top of Template:Quote box shows "--the source". Should the template automatically insert a dash (right now it does not) or should we continue to write source=—the source when we want a dash? Outside Wikipedia, having a dash is commonplace, so its absence looks odd to my eye. —rybec 02:15, 7 March 2013 (UTC)

It's vs. its[edit]

There is one instance in the template where "it's" should be changed to "its". Lou Sander (talk) 13:38, 7 June 2013 (UTC)

The documentation section (in green) is not protected. Just click on the edit there and fix it. Templates are often protected, but protected documentation is very rare. --  Gadget850 talk 14:02, 7 June 2013 (UTC)


I think it would be helpful if a border color parameter was added to this template, since it already has a background color parameter. — Confession0791 talk 01:31, 31 July 2013 (UTC)

Use |style=, for example |style=border-style:solid; border-color:#ff0000 #0000ff;. --  Gadget850 talk 01:53, 31 July 2013 (UTC)

Two different Quote Boxes - opinions...[edit]

We have two different types of quote boxes in this section. I have seen the top quote box variation on several pages:

...but the template described for this page demands the lower quote box style:

We assume that Skylab is on the planet Earth, somewhere.

Charles S. Harlan, Skylab mission controller[2]

I haven't seen the top template page style yet, only used in the articles. I believe that the first one is easier on the eyes, and appropriate for non-scientific articles and styles. The second I believe would be appropriate for scientific issues. Is there a history of this issue? Comments please? Dinkytown talk 21:03, 19 October 2013 (UTC)


  1. ^ Læstadius, p 54.
  2. ^ Cite error: The named reference lewis1984 was invoked but never defined (see the help page).

fontsize glitch[edit]

I've noticed that this template displays differently based on if the "fontsize" switch is present but left empty or if it's not included at all. I see that the documentation claims the default is 88% and the field isn't necessary, but this doesn't appear to be true. Chris Troutman (talk) 07:13, 12 March 2014 (UTC)

I see the problem and it applies to all the parameters. I have a fix for fontsize in the sandbox and will work the others. --  Gadget850 talk 10:34, 12 March 2014 (UTC)
Should be fixed now. If you did not include the parameter, the it went to the default; if you included the parameter but the value was blank, then a blank passed to the CSS and it inherited the body CSS. --  Gadget850 talk 13:24, 12 March 2014 (UTC)
Thanks! Chris Troutman (talk) 18:41, 12 March 2014 (UTC)
@Gadget850: why did you remove salign? Frietjes (talk) 18:07, 13 March 2014 (UTC)
fixed version in the sandbox. Frietjes (talk) 18:39, 13 March 2014 (UTC)

Recent edits[edit]

Hi Gadget850, I noticed today that the position of the sources had changed from left to right in some quote boxes, and came here to see if there had been a change. I've therefore reverted some of your edits, because I don't know how to isolate the one that made the difference. SlimVirgin (talk) 18:23, 13 March 2014 (UTC)

Just noting that I see the page is protected, so I hope I'm allowed to revert in the way I did. I'm not sure of the rules about templates and protection. SlimVirgin (talk) 18:28, 13 March 2014 (UTC)
@SlimVirgin: see above, instead of rolling it back, you could just do this (sync with sandbox version). Frietjes (talk) 18:39, 13 March 2014 (UTC)
Thank you. I worry about editing these things in case I break them completely. :) SlimVirgin (talk) 18:45, 13 March 2014 (UTC)
understood. there are actually more problems with the updated version, with colours being parsed as list items (requires this fix or similar). Frietjes (talk) 18:57, 13 March 2014 (UTC)
I see you're a template editor. If you know what you're doing, unlike me, perhaps the protection could be changed to let you edit it. You could request it at RfPP, or maybe if no one objects here Gadget or I could change it. SlimVirgin (talk) 19:04, 13 March 2014 (UTC)
yes, I could fix it in a few seconds if the protection level were reduced to template editor ... Frietjes (talk) 19:14, 13 March 2014 (UTC)
I see you asked at RfPP and it's been done. Thanks for offering to fix it. SlimVirgin (talk) 19:43, 13 March 2014 (UTC)
yes, should now be fixed. Frietjes (talk) 19:46, 13 March 2014 (UTC)
Thank you! SlimVirgin (talk) 19:57, 13 March 2014 (UTC)

Font parameter[edit]

Two of the examples use the "font" parameter. It's not listed as one of the parameters and it seems to have no effect:

| font = Times

Might want to take those out. I would, but I don't have permissions to edit the template. — Frεcklεfσσt | Talk 13:09, 25 April 2014 (UTC)

I went ahead and removed them, but for future reference template documentation is usually transcluded from /doc subpages (e.g. Template:Quote box/doc), which are almost never protected. If you see the standard green documentation box, you can probably edit the documentation without an admin's help, and the documentation box includes edit links for that purpose. :) {{Nihiltres|talk|edits}} 14:42, 25 April 2014 (UTC)
Thanks much! — Frεcklεfσσt | Talk 15:37, 25 April 2014 (UTC)

Feature request: multiple quotes[edit]

Hi guys. As a biographer and whatnot, I love {{quote box}}, and it's one of the best layout templates I've seen. I am converting all relevant quotes to it. Can we please add support for multiple quotes per box? I have a frequent need for that, like quote1= (which can be a synonym for quote=) and quote2=. Thanks. — Smuckola (Email) (Talk) 00:28, 23 July 2014 (UTC)

Collapsible option[edit]

I just added |tclass= and |qclass= to make this work, but it would be good to be able to just say |collapsed=true and have the three necessary classes added automatically. any objection to making this work or alternative suggestions? Frietjes (talk) 14:31, 17 September 2014 (UTC)

Interaction with floating images[edit]

I had to do this to keep the quote box from spilling under the image. any other ideas? Frietjes (talk) 13:59, 4 October 2014 (UTC)

Seems to be the only reliable way to resolve the problem, as far as I can tell. Thanks! Plastikspork ―Œ(talk) 21:43, 4 October 2014 (UTC)
{{Stack}} would probably have fixed it as well. But it now uses a naked <div> and styling which is not the best method. --  Gadget850 talk 22:14, 4 October 2014 (UTC)
See the talk page for the article in question. Thanks! Plastikspork ―Œ(talk) 22:25, 4 October 2014 (UTC)
thank you. indeed stack would work since it wraps the object inside a table. Frietjes (talk) 16:51, 5 October 2014 (UTC)