Jump to content

Template talk:Blockquote

Page contents not supported in other languages.
From Wikipedia, the free encyclopedia
(Redirected from Template talk:Quote)

Quoting from plays or interviews

[edit]

Say I want to quote from a play or interview, e.g.:

Bob: Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Vitae aliquet nec ullamcorper sit amet risus nullam eget felis. Consectetur purus ut faucibus pulvinar elementum integer enim neque volutpat. In ante metus dictum at tempor commodo ullamcorper. Sed risus pretium quam vulputate dignissim suspendisse in est. Vel turpis nunc eget lorem dolor sed viverra ipsum nunc. Dictumst vestibulum rhoncus est pellentesque elit ullamcorper dignissim cras tincidunt.
Dr. Arrow: Diam volutpat commodo sed egestas. Id venenatis a condimentum vitae sapien. Mollis aliquam ut porttitor leo. Eget est lorem ipsum dolor sit. Tortor at risus viverra adipiscing at in tellus integer feugiat. Nulla porttitor massa id neque aliquam vestibulum morbi. Et malesuada fames ac turpis egestas integer eget aliquet. Mattis rhoncus urna neque viverra justo. Ut tristique et egestas quis ipsum suspendisse ultrices gravida. Dictum fusce ut placerat orci nulla. Aliquam ultrices sagittis orci a scelerisque purus. Purus sit amet luctus venenatis lectus magna fringilla urna. Aliquam ultrices sagittis orci a scelerisque purus semper eget.

Any way to do this while keeping the indentation decent, instead of messed up like in the above example (where I used Template:Poetically break lines)? –Sincerely, A Lime 19:07, 24 May 2024 (UTC)[reply]

What is wrong with how it displays above? It looks OK to me. You could also use {{Hanging indent}} inside of {{Blockquote}}, as below:
Bob: Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Vitae aliquet nec ullamcorper sit amet risus nullam eget felis. Consectetur purus ut faucibus pulvinar elementum integer enim neque volutpat. In ante metus dictum at tempor commodo ullamcorper. Sed risus pretium quam vulputate dignissim suspendisse in est. Vel turpis nunc eget lorem dolor sed viverra ipsum nunc. Dictumst vestibulum rhoncus est pellentesque elit ullamcorper dignissim cras tincidunt.
Dr. Arrow: Diam volutpat commodo sed egestas. Id venenatis a condimentum vitae sapien. Mollis aliquam ut porttitor leo. Eget est lorem ipsum dolor sit. Tortor at risus viverra adipiscing at in tellus integer feugiat. Nulla porttitor massa id neque aliquam vestibulum morbi. Et malesuada fames ac turpis egestas integer eget aliquet. Mattis rhoncus urna neque viverra justo. Ut tristique et egestas quis ipsum suspendisse ultrices gravida. Dictum fusce ut placerat orci nulla. Aliquam ultrices sagittis orci a scelerisque purus. Purus sit amet luctus venenatis lectus magna fringilla urna. Aliquam ultrices sagittis orci a scelerisque purus semper eget.
Is that what you want? – Jonesey95 (talk) 21:21, 24 May 2024 (UTC)[reply]
Definitely looks better that way on mobile! I suppose I can live with it. –Sincerely, A Lime 00:09, 25 May 2024 (UTC)[reply]

Paragraph breaks and multiline

[edit]

At the moment, 2-paragraph quotes without a source are often collapsed into a single paragraph, which I regard as a bug. The conditions for when it works and doesn't work are very unusual. More precisely, 2-paragraph quotes are collapsed into a single paragraph unless any one of the following conditions are true:

  1. |author=anything and |multiline=yes
  2. The quote is provided as the first unnamed template parameter (not via |1= or |text=) and the quote is followed by a trailing line break
  3. |author=anything and the quote is followed by a trailing line break

3-paragraph quotes appear to work fine. I haven't tested other source parameters beyond |author=.

Test cases
Markup Renders as
{{Blockquote|First parameter

Paragraph 2}}

First parameter Paragraph 2

{{Blockquote|text=text parameter

Paragraph 2}}

text parameter Paragraph 2

{{Blockquote|multiline=yes|First parameter

Paragraph 2 multiline}}

First parameter Paragraph 2 multiline

{{Blockquote|multiline=yes|text=text parameter

Paragraph 2 multiline}}

text parameter Paragraph 2 multiline

{{Blockquote|First parameter

Paragraph 2 | author=Author}}

First parameter Paragraph 2

— Author
{{Blockquote|text=text parameter

Paragraph 2 | author=Author}}

text parameter Paragraph 2

— Author
{{Blockquote|multiline=yes|First parameter

Paragraph 2 multiline | author=Author}}

First parameter

Paragraph 2 multiline

— Author
{{Blockquote|multiline=yes|text=text parameter

Paragraph 2 multiline | author=Author}}

text parameter

Paragraph 2 multiline

— Author
{{Blockquote|First parameter

Paragraph 2 trailing line break
}}

First parameter

Paragraph 2 trailing line break

{{Blockquote|1=Named parameter 1

Paragraph 2 trailing line break
}}

Named parameter 1 Paragraph 2 trailing line break

{{Blockquote|text=text parameter

Paragraph 2 trailing line break
}}

text parameter Paragraph 2 trailing line break

{{Blockquote|multiline=yes|First parameter

Paragraph 2 multiline trailing line break
}}

First parameter

Paragraph 2 multiline trailing line break

{{Blockquote|multiline=yes|text=text parameter

Paragraph 2 multiline trailing line break
}}

text parameter Paragraph 2 multiline trailing line break

{{Blockquote|First parameter

Paragraph 2  trailing line break
| author=Author}}

First parameter

Paragraph 2 trailing line break

— Author
{{Blockquote|text=text parameter

Paragraph 2  trailing line break
| author=Author}}

text parameter Paragraph 2 trailing line break

— Author
{{Blockquote|multiline=yes|First parameter

Paragraph 2 multiline  trailing line break
| author=Author}}

First parameter

Paragraph 2 multiline trailing line break

— Author
{{Blockquote|multiline=yes|text=text parameter

Paragraph 2 multiline  trailing line break
| author=Author}}

text parameter

Paragraph 2 multiline trailing line break

— Author

Prior concerns about line breaks and |multiline= were discussed and left apparently unresolved at Template talk:Blockquote/Archive 3 § multiline parameter not working?

Daask (talk) 17:49, 17 September 2024 (UTC)[reply]

The redirect Template:Cita has been listed at redirects for discussion to determine whether its use and function meets the redirect guidelines. Readers of this page are welcome to comment on this redirect at Wikipedia:Redirects for discussion/Log/2024 September 20 § Template:Cita until a consensus is reached. Daask (talk) 13:40, 20 September 2024 (UTC)[reply]