Template talk:Talk quote block: Difference between revisions
Undid revision 893916245 by 41.114.74.40 (talk) rvv |
→Quoted URLs with query strings break the template: new section |
||
Line 59: | Line 59: | ||
I noticed that when this template is used with the Visual Editor (even in wikitext source mode), the background coloring doesn't show up in the "Show preview" rendering. Presumably this is due to the use of [[Wikipedia:TemplateStyles|Template Styles]], specifically [[Template:Talk quote block/styles.css]]. Regardless the ''reason'', it's still fairly disconcerting. Is there any way we could get the styles to be applied correctly in the preview? -- [[User:FeRDNYC|FeRDNYC]] ([[User talk:FeRDNYC|talk]]) 06:49, 18 October 2018 (UTC) |
I noticed that when this template is used with the Visual Editor (even in wikitext source mode), the background coloring doesn't show up in the "Show preview" rendering. Presumably this is due to the use of [[Wikipedia:TemplateStyles|Template Styles]], specifically [[Template:Talk quote block/styles.css]]. Regardless the ''reason'', it's still fairly disconcerting. Is there any way we could get the styles to be applied correctly in the preview? -- [[User:FeRDNYC|FeRDNYC]] ([[User talk:FeRDNYC|talk]]) 06:49, 18 October 2018 (UTC) |
||
== Quoted URLs with query strings break the template == |
|||
I'm having trouble quoting URLs that contain query strings, like: <nowiki>http://example.com/over/there?name=ferret</nowiki> |
|||
This is particularly a problem when quoting Wikipedia diff URLs, like: <nowiki>https://en.wikipedia.org/enwiki/w/index.php?title=User:IamNotU/sandbox&diff=904787385&oldid=904785977</nowiki> |
|||
For example, this: |
|||
<code><nowiki>{{tq2| |
|||
This here article: https://en.wikipedia.org/wiki/1927_Chicago_mayoral_election |
|||
}} |
|||
</nowiki></code> |
|||
Shows up ok as: |
|||
{{tq2| |
|||
This here article: https://en.wikipedia.org/wiki/1927_Chicago_mayoral_election |
|||
}} |
|||
While this: |
|||
<code><nowiki>{{tq2| |
|||
This here diff: https://en.wikipedia.org/enwiki/w/index.php?title=User:IamNotU/sandbox&diff=904787385&oldid=904785977 |
|||
}} |
|||
</nowiki></code> |
|||
Doesn't display at all: |
|||
{{tq2| |
|||
This here diff: https://en.wikipedia.org/enwiki/w/index.php?title=User:IamNotU/sandbox&diff=904787385&oldid=904785977 |
|||
}} |
|||
The same goes if I use square brackets for the URLs. Am I doing something wrong? As a workaround, I used: |
|||
<code><nowiki>{{tq2| |
|||
This here diff: [[Special:Diff/904785977/904787385|https://en.wikipedia.org/enwiki/w/index.php?title=User:IamNotU/sandbox&diff=904787385&oldid=904785977]] |
|||
}} |
|||
</nowiki></code> |
|||
Which displays ok, though it's inconvenient and looks different (doesn't have the external link pointer): |
|||
{{tq2| |
|||
This here diff: [[Special:Diff/904785977/904787385|https://en.wikipedia.org/enwiki/w/index.php?title=User:IamNotU/sandbox&diff=904787385&oldid=904785977]] |
|||
}} |
|||
Can this be fixed? --[[User:IamNotU|IamNotU]] ([[User talk:IamNotU|talk]]) 15:12, 4 July 2019 (UTC) |
Revision as of 15:12, 4 July 2019
Edit of 30 May 2012
I believe that this edit broke the template, see WT:N#Proposal to remove "and list" from a sentence in the lede of WP:N, which has two examples where the background has been reduced to a single line, and the text is now pushed down onto the second line without a background color. Unscintillating (talk) 00:31, 31 May 2012 (UTC)
- I have reverted my previous edit. Both edits discussed at Wikipedia:Village pump (technical)#Two paragraphs in wikitext rendered as one. The wikitext parser gets confused when the closing blockquote tag does not start on a new line if the template is called with a wikilist (and no final newline) in the calling parameter. — Richardguk (talk) 01:37, 31 May 2012 (UTC)
oldid/newid
Is it possible to accommodate a diff with both oldid
and newid
parameters for instances where an editor posts a comment and then makes corrections/edits to their comment, so that the link can show the final version was posted by the quoted user? Currently, there's only provision for the oldid
so you have to choose between specifying the first edit (which does not reflect the final version that the editor intended) or the last one (which only shows the last edit marked up). —sroc 💬 02:36, 27 February 2014 (UTC)
- Well, it is possible to use the
diff=
parameter to give the URL of a diff, so you can to link to any diff you like. For example: The timestamp links to a diff that includes both your comment and a post from an earlier commenter on this page. 02:36, 27 February 2014 (UTC)
- Here's the code:
{{talkquote|...|ts=02:36, 27 February 2014 (UTC)|diff=//en.wikipedia.org/enwiki/w/index.php?title=Template_talk:Talkquote&diff=597315913&oldid=495219808}}
– PartTimeGnome (talk | contribs) 22:15, 27 February 2014 (UTC)- Perfect. Thanks! —sroc 💬 15:11, 7 March 2014 (UTC)
RfC: Change the TQ template font colour
There is an RfC at Template talk:Tq#RfC: Change the TQ template font colour proposing the change the formatting of both {{tq}} and {{talkquote}} to unify their format/colours and distinguish from the colour of the {{xt}} template. Comments would be most welcome there. —sroc 💬 18:42, 15 April 2014 (UTC)
Contents
Am I doing something wrong here? For some reason the contents box is recognizing my talkquote sections as headings in the page itself. But it only does it for the first talkquote and not the second. I'm confused.
Also, while I'm already here. Is there a reason spans nuke a talkquote? Is there additional markup needed to use a span within a talkquote? TimothyJosephWood 14:57, 17 April 2016 (UTC)
Play nice with ordered and unordered lists
Lorem ipsum
Is there a way to get this template to function when used at the beginning of a list item? For instance * {{talkquote|Lorem ipsum}}
will turn the bullet (or number) into a regular indent, rather than showing the bullet/number. It's fine if you put something between the bullet and template, but it'd be nice if it didn't need the hack. czar 23:05, 6 February 2017 (UTC)
Color
It'd be nice to have a few different color options—say blue/red/yellow—in lieu of just the green when comparing quotes czar 22:24, 9 June 2017 (UTC)
Requested move 16 January 2018
- The following is a closed discussion of a requested move. Please do not modify it. Subsequent comments should be made in a new section on the talk page. Editors desiring to contest the closing decision should consider a move review. No further edits should be made to this section.
The result of the move request was: Moved. No opposition and it has been relisted. (non-admin closure) –Ammarpad (talk) 13:06, 31 January 2018 (UTC)
— Rationale: I have never once remembered which of these templates is the block and which is inline. Moving the templates (and keeping the redirects) would make it easier for editors to save those extra few seconds of brainpower without adversely affecting editors with a better memory than mine.
Note: If this gains consensus, I would anticipate that
- {{talkquote}} and its aliases {{talk quote}} and {{tq2}} would be updated to point directly to Template:Talk quote block
- {{talk quotation}} and its aliases {{tq}} and {{tqi}} would be updated to point directly to Template:Talk quote inline
- The navbox {{Quotation templates}} would be updated to refer to the new names
— OwenBlacker (talk; please {{ping}} me in replies) 18:38, 16 January 2018 (UTC)--Relisting. samee talk 19:21, 23 January 2018 (UTC)
- Support This drives me nuts, too. — SMcCandlish ☏ ¢ 😼 19:10, 19 January 2018 (UTC)
- Support as per nom. Definitely clearer than the status quo; and the short versions ({{tq}}) aren't changed. power~enwiki (π, ν) 21:17, 24 January 2018 (UTC)
- SUPPORT – It's a little thing, but it's so annoying. 142.161.81.20 (talk) 08:05, 29 January 2018 (UTC)
- Support Don't generally get them confused (using aliases of tq and tq2 only), but it is still confusing as hell. Galobtter (pingó mió) 06:34, 31 January 2018 (UTC)
Documentation updated
I noticed that Template:Talk quote inline/doc had been updated to reflect the new canonical name ({{Talk quote inline}}), but Template:Talk quote block/doc had not, and still referred to the template as {{talkquote}}. Should be all fixed up now. -- FeRDNYC (talk) 06:36, 18 October 2018 (UTC)
Colors don't preview in Visual Editor
I noticed that when this template is used with the Visual Editor (even in wikitext source mode), the background coloring doesn't show up in the "Show preview" rendering. Presumably this is due to the use of Template Styles, specifically Template:Talk quote block/styles.css. Regardless the reason, it's still fairly disconcerting. Is there any way we could get the styles to be applied correctly in the preview? -- FeRDNYC (talk) 06:49, 18 October 2018 (UTC)
Quoted URLs with query strings break the template
I'm having trouble quoting URLs that contain query strings, like: http://example.com/over/there?name=ferret
This is particularly a problem when quoting Wikipedia diff URLs, like: https://en.wikipedia.org/enwiki/w/index.php?title=User:IamNotU/sandbox&diff=904787385&oldid=904785977
For example, this:
{{tq2|
This here article: https://en.wikipedia.org/wiki/1927_Chicago_mayoral_election
}}
Shows up ok as:
This here article: https://en.wikipedia.org/wiki/1927_Chicago_mayoral_election
While this:
{{tq2|
This here diff: https://en.wikipedia.org/enwiki/w/index.php?title=User:IamNotU/sandbox&diff=904787385&oldid=904785977
}}
Doesn't display at all:
The same goes if I use square brackets for the URLs. Am I doing something wrong? As a workaround, I used:
{{tq2|
This here diff: [[Special:Diff/904785977/904787385|https://en.wikipedia.org/enwiki/w/index.php?title=User:IamNotU/sandbox&diff=904787385&oldid=904785977]]
}}
Which displays ok, though it's inconvenient and looks different (doesn't have the external link pointer):
This here diff: https://en.wikipedia.org/enwiki/w/index.php?title=User:IamNotU/sandbox&diff=904787385&oldid=904785977
Can this be fixed? --IamNotU (talk) 15:12, 4 July 2019 (UTC)