Template talk:Quotation

From Fanlore
Jump to navigation Jump to search

Code Conflict

There is a conflict between the quotation box and the info box. See here for example: http://fanlore.org/wiki/Original_Slash --Kyuuketsukirui 17:00, 14 October 2008 (UTC)


I have a problem with this on http://fanlore.org/wiki/The_X-Files/Fox_Mulder#Fanon_about_the_character -- I used the template several times in that section, and they all rendered correctly, until on the last one where it refused to give me a line break and it all turned out as one paragraph.

Crump: Hey, uh... The Jew stuff? No offense. I mean, uh...a man can't help who he's born to. Mulder: (sarcastic) That was an apology, right? Gee, I don't know if I can see to drive my eyes are tearing up so bad.

There are two returns before "Mulder," but neither showed up. But if I put three returns, they show up as three returns.--Punk 18:52, 14 October 2008 (UTC)

Did you try adding bgcolor to it to see if it'll work with color with the changes? --Seperis 22:59, 15 October 2008 (UTC)


Uhm, I would actually really, really discourage using this template. I've seen it screw up formatting whenever I encountered it (okay, granted, this hasn't been too often)-- it gives these huge blank spaces, distancing it from the text body, and I don't understand why. Why not simply use this format -
:''me! mememe!!! which turns out as

me! mememememe!

...which is exactly what we want here, no? And if you prefer it without italics -- it's...even simpler? Or am I just not getting the point of this template? What does it do that the innocuous little colon can't?--lian 05:07, 30 October 2008 (UTC)

I agree the template needs work, but one thing I like about it is that it so clearly marks text as a quote, which helps guarantee that no one will try to edit it. I think a colon wouldn't be quite as clear an indicator. (FWIW, I like it better without italics, since italics could override original formatting.) I don't know how to tweak the css within the wiki, but it looks to me like this needs to have top and bottom margins set to stop it from (apparently) doubling those up, and maybe have the font color changed since the original colored background didn't work out. (I am all for having quotations be very visibly different from other text.) --Arduinna 18:57, 1 November 2008 (UTC)
Actually, one of the problems with the template is that it doesn't recognize paragraphs within it unless they have a break before and after, so it needs to be {{
START QUOTE
}} but it doesn't need a break before or after the curly braces, and removing them gets rid of the big gaps which the wiki interprets as an extra [p] that's needed. if that makes sense. --Betty 20:54, 1 November 2008 (UTC)

New template

The box thing runs right into the info box as here: A GW Love Affair, Ashkara. And I know it had this problem before, but the huge indent and the three full lines of space after the previous line is just so ugly and annoying. --MegR 11:38, 10 October 2009 (UTC)

I really prefer the box thing, but I've had the line/interesection bug with other wikis before as well, and I have no idea how to fix it :/ I logged it as a bug and would suggest just not using the template for the conflicting quote sections for the meantime? --lian 13:33, 11 October 2009 (UTC)
In my opinion the box thing is what makes the quotation template useful, especially for large text quotes (see Slash), because without a visual reminder people tend to edit these quotes without noticing that the text they are editing is a quote. I removed the quotation template from the examples you linked above because there are other ways to display the text without the huge indent and lines of space after the quote. --Doro 18:18, 17 October 2009 (UTC)
Honestly, I feel it's a quotation template, for quotations, so that it is clear there is something being quoted, and if it doesn't work for most quotations it doesn't really work. It's great that it works on that one page with unusually long quotations, but the majority of quotations aren't going to be that epic. And I'm not opposed to the box, and I can put up with the run on into the info box, but the huge indent and empty space is unnecessary if there's a box *as well*.--MegR 13:58, 18 October 2009 (UTC)
I see it the other way around. The template works for most quotations with just a few exceptions where it might be better without a border around the quotation. However, I agree that the empty space is unnecessary. The easy way to make it go away is to remove all breaks before or after the curly braces. Then it looks like this: Character Bashing. --Doro 15:11, 18 October 2009 (UTC)

Formatting

Are you experimenting with the template or is it going to stay this way? It's used on a freaking huge number of pages and changing it so late in the game is messing with the layout and the structure of the pages. The border is very useful for all these massive quotes (see for example History of Slash Fandom) because it indicates that this is a text that shouldn't be edited. --Doro 13:06, 2 April 2011 (UTC)

I've actually made a change to it (made it a blockquote rather than a dl, and given it a specific width so the borders do not extend past other templates), and the border is (still) there. Try refreshing the page, as sometimes browsers do not refresh the CSS unless told to. --Awils1 13:16, 2 April 2011 (UTC)
Yay, that worked! I was panicking there for a moment because I was thinking of all the editing. ^^°
No problem! It was an easy fix, and I'm happy personally to not see any run on elements now :) Images are next on the agenda! --Awils1 13:56, 2 April 2011 (UTC)
FYI, History of Slash Fandom actually looks really weird now, at least in Firefox; the border extends way to the right of the infobox, but the text doesn't.--æþel 16:44, 2 April 2011 (UTC)
Yeah, on specific screen-widths it looks wonky. I'm working on a fix -- I checked on some, but obviously not enough. --Awils1 07:27, 3 April 2011 (UTC)

Second Parameter for Attribution

I added a second parameter to this template for attributing a quote (see Template:Quotation#Example). I think it would be useful on pages with several quotes in a row where it's hard to match the quote with the ref. Does it look OK? --sparc 21:41, 26 February 2017 (UTC)

I tried it out here: https://fanlore.org/wiki/Courts_of_Honor#1986. It's easier to read for sure. It doesn't work with Quotation2 which I use the different color to break up walls of text and to alert readers someone new is talking, but maybe that is unnecessary when the speaker is right there. One thing: using this quote style means it doesn't show up in the refs at the bottom. Is this a problem, or would that be a redundancy? --MPH (talk) 14:11, 27 February 2017 (UTC)
I've added the parameter to the Quotation2 template too. I think a separate footnote is still appropriate in cases on long cites and cases where there are external links/WebCites/that kind of thing. I included both here [1]. But when the cite is just a wikilink, I think putting it in the quote box is similar to an inline citation. I'm not sure there's a benefit to duplicating the info in the footnote as well in those cases.--sparc 19:38, 27 February 2017 (UTC)

Fixing the info box intersection

It's been brought up a few times over the years on the above talk page (do talk pages on fanlore ever get archived, by the way?) but that thing where the border of the quote extends into the infobox is still happening.

Here's an example of what it looks like right now on Curving Like the Ocean Toward You on my (admittedly very small) screen.

Here's an example of how it should look, ideally. I mocked this up very easily by using chrome's inspect element to change the blockquote.quotation's css from display: block; to display: flex;.

I don't know if this is the best choice but display: inline-block; seemed like it might cause problems — here's Yesterday Upon The Stair with flex vs inline-block.

This is, I realize, a fairly minor problem to have with the site, it's just me nitpicking formatting, but I think it really does interfere with the readability of a page to have quote boxes be like they are now and I find myself reworking articles I'm writing just to try and avoid having a quote box anywhere near something it might intersect with — I believe it also happens with pictures. Can we get a fix of some kind for this? — Hoopla (talk) 13:57, 6 October 2018 (UTC)

Can I fix this?

I made Template:NQuote and it seems to be working well! However, this template still intersects with things weird and I'd like to to add style="display:flex;" to fix this template too. It's used on lots of pages, though, so it seems like the thing to do is... get permission? So, can I? Does that seem like a good idea to everyone? - Hoopla (talk) 18:32, 2 December 2018 (UTC)

This is a good question. I'm in favor of implementing it, unless someone else has concerns I'm not seeing. (I understand the hesitancy over changing a much-used template like this, but it feels like a bug fix more than anything.) I love Template:NQuote, and I think it's fantastic for what it does, but it would be great to have the more established box do proper wraps as well b/c sometimes switching to nested quotes doesn't make sense. --Punkpixieprince (talk) 04:17, 12 March 2019 (UTC)
Bringing this back up again because it's been so long -- I agree that the changes proposed above look much better. I'd like to implement this change if there are still no objections. --sparc 23:55, 3 February 2021 (UTC)
Just for clarification, how is this used? Is it in place of {{ Quotation| }}? --MPH (talk) 00:15, 4 February 2021 (UTC)
It will update how any use of {{Quotation| }} appears in articles when quotes are next to infoboxes/images. Compare how this page currently looks to Hoopla's image upthread. The {{Quotation| }} code in articles will stay the same. --sparc 19:39, 4 February 2021 (UTC)
The two images actually look identical to me, but I'll take your word for it. :-) Is this new template something editors need to proactively do going forward? --MPH (talk) 20:03, 4 February 2021 (UTC)
That's good, it probably depends on your browser! For me, the quote boxes currently overlap behind the infoboxes instead of stopping where the text does, which is a little sloppy-looking. But no, it's just a visual change, editors won't need to do anything differently. --sparc 20:43, 4 February 2021 (UTC)
Since there have been no objections, I have updated the template with display: flex;. --sparc 19:22, 8 February 2021 (UTC)

Bringing this up again

I wanted to bring up how the quotation template is interacting with infoboxes since this change has been made. We have a number of pages with large quotes near the top of the page, particularly on meta pages but there are other examples. Shipping is a page with a quote, image and infobox all in line together. And the formatting just looks weird to me, on desktop, with all the white space around the quote. Here's a meta example. Is there anyway to resolve this without causing Quotation to overlap with the infoboxes again? What I mean is, is there a way to edit individual quotations so they're coded as display: block; instead of display:flex;? I don't think there is, but I said I'd ask in case someone can spot a solution. -- Auntags (talk) 00:30, 21 November 2021 (UTC)

Fixed spacing issue

I fixed an issue that was causing the Quotation1 template to display with odd spacing on the pages where it was used; there were some extra line breaks added between the </noinclude> and the <includeonly> that then showed up whenever the template was called, introducing extra spaces before the template. Just a heads up to anyone who edits this, you need to keep those both on the same line.

Also, I noticed that the flex-direction:column; addition that Azdaema made has not been added to Template:Quotation2 - presumably we want them to match? --enchantedsleeper (talk) 22:50, 11 April 2021 (UTC)