![]() | This is an archive of past discussions. Do not edit the contents of this page. If you wish to start a new discussion or revive an old one, please do so on the current talk page. |
Archive 1 | Archive 2 | Archive 3 | Archive 4 |
This template was redirected to {{ wikiquote}} two years ago to handle articles that used it for providing a convenient external link to en:Wikiquote. It was recently changed without fixing those legacy articles, so I've reverted the change back to the redirect. I will look into converting these articles to free up this name, but meanwhile, I would recommend that editors not re-use such legacy templates for new purposes without first addressing the current usage of those templates. Thank you. ~ Jeff Q (talk) 00:17, 4 September 2006 (UTC)
Quotation marks shouldn't be used on blockquoted text. It's considered a redundancy... ?? -- Renice 14:09, 15 October 2006 (UTC)
There's nothing {{ Esoteric}} about the content in this template. It's all quite straightforward. — SMcCandlish [ talk] [ contrib ツ 17:43, 29 January 2007 (UTC)
Instead of <p style="line-height: 1em; text-align: left; padding-left: 2em;"><small>—<cite style="font-style: normal;">
, we should just have <p class="templatequotecite">
or something like that and set the style with CSS. —
Omegatron
06:08, 4 February 2007 (UTC)
<cite>
tag, as it's standard HTML for citing a reference (the quote, in this case). —
Down10
TA
CO
06:34, 8 February 2007 (UTC)style="margin-top:0;"
for some unknown reason. —
Omegatron
23:30, 10 February 2007 (UTC)Ok, let's do this. The template
{{Quote|Phrase|Somebody|Source}}
produces:
Phrase
— Somebody, Source
which is made up of this code:
<blockquote class="templatequote" style="margin-top: 0pt;"> <p>Phrase</p> <p style="line-height: 1em; text-align: left; padding-left: 2em;"> <small> — <cite style="font-style: normal;"> Somebody, Source </cite> </small> </p> </blockquote>
This should ideally be done with simpler code. But like this?
<blockquote class="templatequote"> <p>Phrase</p> <p> — <cite> Somebody, Source </cite> </p> </blockquote>
or like this?
<blockquote class="templatequote"> <p>Phrase</p> <cite> —Somebody, Source </cite> </blockquote>
How does the cite tag work, exactly? — Omegatron 02:50, 21 February 2007 (UTC)
Also, please note that most browsers automatically style the text in a CITE tag as italic, so this should be reverted back to normal text in its CSS.
The style="margin-top:0;"
is because the template was producing two line breaks above the element in articles, which I believe is due to MediaWiki's preordained styling of paragraph margins. I suggest the template look like this:
<blockquote class="templatequote"> <p>Phrase</p> <p class="cited"> —<cite>Somebody, Source</cite> </p> </blockquote>
blockquote.templatequote { margin-top: 0; } blockquote.templatequote p.cited { line-height: 1em; text-align: left; padding-left: 2em; margin-top: 0; } blockquote.templatequote p.cited cite { font-size: smaller; font-style: normal; }
I removed some newlines from the template, which were causing it to not work inside lists:
Here is a quote
— Omegatron 02:40, 21 February 2007 (UTC)
The hyperlink to the author of the quote doesn't seem to work. Whoever groks this template fix it please. Grue 18:34, 27 February 2007 (UTC)
For example:
Error: No text given for quotation (or equals sign used in the actual argument to an unnamed parameter)
Look at the source to see what I'm talking about. This also affects {{ cquote}} and other quotation templates. SharkD ( talk) 03:09, 6 December 2007 (UTC)
|1=text
instead of |text
, i.e.If you're curious (and wish to establish notability), Here is a machine translation of the Japanese Wikipedia article on the subject.
It seems that this template doesn't support having URLs in the attribution parameter:
{{quote|Curiouser and curiouser!|Alice, [http://books.google.com/books?id=Y7sOAAAAIAAJ&pg=PA15 p.15]}}
produces
Curiouser and curiouser!
Is this right? Shreevatsa ( talk) 20:36, 29 July 2009 (UTC)
The equals sign disrupts the template. Use the nowiki markup around the sign to make the text display properly. PYRRHON talk 22:02, 2 December 2009 (UTC)
The template emits a new line at the end which causes trailing referencing to end up on a new line. If the quotation is supposed to stand alone, would it not usually be terminated with a new line in the calling article? Testing with a trailing external link as a substitute for a citation. ( SEWilco 18:18, 9 April 2007 (UTC))
This is an example quotation
{{quote|This is an example quotation.<ref>Example</ref>|Reference<ref>Example</ref>}}
This is an example quotation. [1]
— Reference [2]
This is a notice that I am going to move this template's styling to MediaWiki:Common.css. This will cause the template to temporarily lose styling if an old, cached version of the external stylesheet is used, but this will be quickly resolved. Any objections? — Edward Z. Yang( Talk) 15:40, 29 May 2007 (UTC)
I just modified it to implement a workaround (not a fix) for Bugzilla:6200, so you shouldn't have to type paragraph tags manually anymore. But I think it might be better to do the CSS with a descendant selector? I'm not too familiar with them, though. In other words, I created class="templatequotecite", but if we could select only divs that contain a cite tag instead, that would be better. — Omegatron 23:19, 23 July 2007 (UTC)
I am a three-toed sloth
Yes, I see now. I originally removed all #newlines from the template so that it would work inside other tags like that, but then when I added the div and newlines to work around the paragraph bug, the "inside other tags" bug came back. There might be a way to get both to work, but I don't know what it would be. (Besides getting the software itself fixed, of course, but don't hold your breath for that...) — Omegatron 00:19, 31 July 2007 (UTC)
{{editprotected}}
Let's say I have this:
Asdfffa.
— asdfah, asfhash 25.6
Asdfffa.
— asdfah, asfhash 25.6
Asdf asgh.
— asdfasdhazsh h, aashsh ash 2356.636
As you can see, the bullets do not indent the quotes. I have no idea if
Asdfffa.
— asdfah, asfhash 25.6
Asdf asgh.
— asdfasdhazsh h, aashsh ash 2356.636
even shows up a line space. You've got to fix this. 68.148.164.166 ( talk) 18:37, 3 June 2008 (UTC)
Asdfffa.
— asdfah, asfhash 25.6
I think I have a similar problem. Here's an example in my userspace and an
article containing the workaround. All comments gratefully received, as I've not yet delved into template definitions myself. Thanks. --
trevj (
talk)
10:46, 28 February 2011 (UTC)
{{ editprotected}} Please fix the protection tag, is full instead of semi. Clark89 ( talk) 22:01, 15 October 2008 (UTC)
a slight change to the template would allow indenting of quotes, which would make reading a lot easier. change this:
<blockquote class="templatequote"><div> {{{1|Insert the text of the quote here, without quotation marks.}}} </div>{{#if:{{{2|}}}|<div class="templatequotecite">—<cite>{{{2}}}{{#if:{{{3|}}}|, {{{3}}}}}</cite></div >}}</blockquote>
to this:
<blockquote class="templatequote"><div style="margin-left: {{#expr:{{{indent|0}}} * 25}}px"> {{{1|Insert the text of the quote here, without quotation marks.}}} {{#if:{{{2|}}}|<div class="templatequotecite">—<cite>{{{2}}}{{#if:{{{3|}}}|, {{{3}}}}}</cite></div >}}</div></blockquote>
this adds a style element to the first div, and moves its closing tag to after the citation. the 'indent * 25 pixels' is just an eye estimate. probably a more systematic way of doing it, but I wanted to fly the proposal before fleshing it out exactly. I've tested it briefly without issue. comments? -- Ludwigs2 17:37, 24 March 2009 (UTC)
P.s. by the same token, it would be easy to add options for other styles (such as borders) if that seems like a good idea...-- Ludwigs2 17:44, 24 March 2009 (UTC)
currently, all you can do is this:
level 0 comment
blockquotes are always indented relative to the left edge
— along with its citation
with the revision you could do this:
level 0 comment
this blockquote indents with text.—as does it's citation
or if you wanted to add something to clarify the quote visually:
level 0 comment
this blockquote indents with text, and is marked with a border.—as does it's citation
see what I'm getting at? -- Ludwigs2 21:16, 24 March 2009 (UTC)
{{
editprotected}}
Please revert the last edit. This broke
single line of text;
there is no longer a <p>
element in the source. —
Ms2ger (
talk)
16:07, 3 November 2009 (UTC)
<p>
element in the source.
Rambo's Revenge
(talk)
17:59, 3 November 2009 (UTC)
{{ edit protected}} I create a Template:Quote/sandbox and Template:Quote/testcases, and used them to test some improvements. In no particular order:
source=
named parameter; previously it was only the third unnamed parameter<noinclude>...</noinclude>
tags. Previously, it there was an explicit recursive call at the top, wrapped in <noinclude>...</noinclude>
tags, and the template code itself was wrapped in <includeonly>...</includeonly>
tags. That works for the production template, but breaks the sandbox technique.Assuming no one objects, can this be copied to the production template? — DragonHawk ( talk| hist) 17:10, 24 December 2009 (UTC)
Here external links are not working. Fix please. 100110100 ( talk) 20:51, 6 March 2010 (UTC)
It was in a small font before the Wiki makeover. Why is it now in a larger font? Blackjays1 ( talk) 00:41, 24 May 2010 (UTC)
{{editprotected}}
This needs to change so it can accommodate tables. Cf.:
Taepyeongso#Sinawi
174.3.121.27 (
talk)
00:19, 29 May 2010 (UTC)
![]() | This is an archive of past discussions. Do not edit the contents of this page. If you wish to start a new discussion or revive an old one, please do so on the current talk page. |
Archive 1 | Archive 2 | Archive 3 | Archive 4 |
This template was redirected to {{ wikiquote}} two years ago to handle articles that used it for providing a convenient external link to en:Wikiquote. It was recently changed without fixing those legacy articles, so I've reverted the change back to the redirect. I will look into converting these articles to free up this name, but meanwhile, I would recommend that editors not re-use such legacy templates for new purposes without first addressing the current usage of those templates. Thank you. ~ Jeff Q (talk) 00:17, 4 September 2006 (UTC)
Quotation marks shouldn't be used on blockquoted text. It's considered a redundancy... ?? -- Renice 14:09, 15 October 2006 (UTC)
There's nothing {{ Esoteric}} about the content in this template. It's all quite straightforward. — SMcCandlish [ talk] [ contrib ツ 17:43, 29 January 2007 (UTC)
Instead of <p style="line-height: 1em; text-align: left; padding-left: 2em;"><small>—<cite style="font-style: normal;">
, we should just have <p class="templatequotecite">
or something like that and set the style with CSS. —
Omegatron
06:08, 4 February 2007 (UTC)
<cite>
tag, as it's standard HTML for citing a reference (the quote, in this case). —
Down10
TA
CO
06:34, 8 February 2007 (UTC)style="margin-top:0;"
for some unknown reason. —
Omegatron
23:30, 10 February 2007 (UTC)Ok, let's do this. The template
{{Quote|Phrase|Somebody|Source}}
produces:
Phrase
— Somebody, Source
which is made up of this code:
<blockquote class="templatequote" style="margin-top: 0pt;"> <p>Phrase</p> <p style="line-height: 1em; text-align: left; padding-left: 2em;"> <small> — <cite style="font-style: normal;"> Somebody, Source </cite> </small> </p> </blockquote>
This should ideally be done with simpler code. But like this?
<blockquote class="templatequote"> <p>Phrase</p> <p> — <cite> Somebody, Source </cite> </p> </blockquote>
or like this?
<blockquote class="templatequote"> <p>Phrase</p> <cite> —Somebody, Source </cite> </blockquote>
How does the cite tag work, exactly? — Omegatron 02:50, 21 February 2007 (UTC)
Also, please note that most browsers automatically style the text in a CITE tag as italic, so this should be reverted back to normal text in its CSS.
The style="margin-top:0;"
is because the template was producing two line breaks above the element in articles, which I believe is due to MediaWiki's preordained styling of paragraph margins. I suggest the template look like this:
<blockquote class="templatequote"> <p>Phrase</p> <p class="cited"> —<cite>Somebody, Source</cite> </p> </blockquote>
blockquote.templatequote { margin-top: 0; } blockquote.templatequote p.cited { line-height: 1em; text-align: left; padding-left: 2em; margin-top: 0; } blockquote.templatequote p.cited cite { font-size: smaller; font-style: normal; }
I removed some newlines from the template, which were causing it to not work inside lists:
Here is a quote
— Omegatron 02:40, 21 February 2007 (UTC)
The hyperlink to the author of the quote doesn't seem to work. Whoever groks this template fix it please. Grue 18:34, 27 February 2007 (UTC)
For example:
Error: No text given for quotation (or equals sign used in the actual argument to an unnamed parameter)
Look at the source to see what I'm talking about. This also affects {{ cquote}} and other quotation templates. SharkD ( talk) 03:09, 6 December 2007 (UTC)
|1=text
instead of |text
, i.e.If you're curious (and wish to establish notability), Here is a machine translation of the Japanese Wikipedia article on the subject.
It seems that this template doesn't support having URLs in the attribution parameter:
{{quote|Curiouser and curiouser!|Alice, [http://books.google.com/books?id=Y7sOAAAAIAAJ&pg=PA15 p.15]}}
produces
Curiouser and curiouser!
Is this right? Shreevatsa ( talk) 20:36, 29 July 2009 (UTC)
The equals sign disrupts the template. Use the nowiki markup around the sign to make the text display properly. PYRRHON talk 22:02, 2 December 2009 (UTC)
The template emits a new line at the end which causes trailing referencing to end up on a new line. If the quotation is supposed to stand alone, would it not usually be terminated with a new line in the calling article? Testing with a trailing external link as a substitute for a citation. ( SEWilco 18:18, 9 April 2007 (UTC))
This is an example quotation
{{quote|This is an example quotation.<ref>Example</ref>|Reference<ref>Example</ref>}}
This is an example quotation. [1]
— Reference [2]
This is a notice that I am going to move this template's styling to MediaWiki:Common.css. This will cause the template to temporarily lose styling if an old, cached version of the external stylesheet is used, but this will be quickly resolved. Any objections? — Edward Z. Yang( Talk) 15:40, 29 May 2007 (UTC)
I just modified it to implement a workaround (not a fix) for Bugzilla:6200, so you shouldn't have to type paragraph tags manually anymore. But I think it might be better to do the CSS with a descendant selector? I'm not too familiar with them, though. In other words, I created class="templatequotecite", but if we could select only divs that contain a cite tag instead, that would be better. — Omegatron 23:19, 23 July 2007 (UTC)
I am a three-toed sloth
Yes, I see now. I originally removed all #newlines from the template so that it would work inside other tags like that, but then when I added the div and newlines to work around the paragraph bug, the "inside other tags" bug came back. There might be a way to get both to work, but I don't know what it would be. (Besides getting the software itself fixed, of course, but don't hold your breath for that...) — Omegatron 00:19, 31 July 2007 (UTC)
{{editprotected}}
Let's say I have this:
Asdfffa.
— asdfah, asfhash 25.6
Asdfffa.
— asdfah, asfhash 25.6
Asdf asgh.
— asdfasdhazsh h, aashsh ash 2356.636
As you can see, the bullets do not indent the quotes. I have no idea if
Asdfffa.
— asdfah, asfhash 25.6
Asdf asgh.
— asdfasdhazsh h, aashsh ash 2356.636
even shows up a line space. You've got to fix this. 68.148.164.166 ( talk) 18:37, 3 June 2008 (UTC)
Asdfffa.
— asdfah, asfhash 25.6
I think I have a similar problem. Here's an example in my userspace and an
article containing the workaround. All comments gratefully received, as I've not yet delved into template definitions myself. Thanks. --
trevj (
talk)
10:46, 28 February 2011 (UTC)
{{ editprotected}} Please fix the protection tag, is full instead of semi. Clark89 ( talk) 22:01, 15 October 2008 (UTC)
a slight change to the template would allow indenting of quotes, which would make reading a lot easier. change this:
<blockquote class="templatequote"><div> {{{1|Insert the text of the quote here, without quotation marks.}}} </div>{{#if:{{{2|}}}|<div class="templatequotecite">—<cite>{{{2}}}{{#if:{{{3|}}}|, {{{3}}}}}</cite></div >}}</blockquote>
to this:
<blockquote class="templatequote"><div style="margin-left: {{#expr:{{{indent|0}}} * 25}}px"> {{{1|Insert the text of the quote here, without quotation marks.}}} {{#if:{{{2|}}}|<div class="templatequotecite">—<cite>{{{2}}}{{#if:{{{3|}}}|, {{{3}}}}}</cite></div >}}</div></blockquote>
this adds a style element to the first div, and moves its closing tag to after the citation. the 'indent * 25 pixels' is just an eye estimate. probably a more systematic way of doing it, but I wanted to fly the proposal before fleshing it out exactly. I've tested it briefly without issue. comments? -- Ludwigs2 17:37, 24 March 2009 (UTC)
P.s. by the same token, it would be easy to add options for other styles (such as borders) if that seems like a good idea...-- Ludwigs2 17:44, 24 March 2009 (UTC)
currently, all you can do is this:
level 0 comment
blockquotes are always indented relative to the left edge
— along with its citation
with the revision you could do this:
level 0 comment
this blockquote indents with text.—as does it's citation
or if you wanted to add something to clarify the quote visually:
level 0 comment
this blockquote indents with text, and is marked with a border.—as does it's citation
see what I'm getting at? -- Ludwigs2 21:16, 24 March 2009 (UTC)
{{
editprotected}}
Please revert the last edit. This broke
single line of text;
there is no longer a <p>
element in the source. —
Ms2ger (
talk)
16:07, 3 November 2009 (UTC)
<p>
element in the source.
Rambo's Revenge
(talk)
17:59, 3 November 2009 (UTC)
{{ edit protected}} I create a Template:Quote/sandbox and Template:Quote/testcases, and used them to test some improvements. In no particular order:
source=
named parameter; previously it was only the third unnamed parameter<noinclude>...</noinclude>
tags. Previously, it there was an explicit recursive call at the top, wrapped in <noinclude>...</noinclude>
tags, and the template code itself was wrapped in <includeonly>...</includeonly>
tags. That works for the production template, but breaks the sandbox technique.Assuming no one objects, can this be copied to the production template? — DragonHawk ( talk| hist) 17:10, 24 December 2009 (UTC)
Here external links are not working. Fix please. 100110100 ( talk) 20:51, 6 March 2010 (UTC)
It was in a small font before the Wiki makeover. Why is it now in a larger font? Blackjays1 ( talk) 00:41, 24 May 2010 (UTC)
{{editprotected}}
This needs to change so it can accommodate tables. Cf.:
Taepyeongso#Sinawi
174.3.121.27 (
talk)
00:19, 29 May 2010 (UTC)