Jump to content

Template talk:Blockquote

Page contents not supported in other languages.
From Wikipedia, the free encyclopedia

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]

Font-size of .templatequotecite in mobile view

[edit]

Can someone decrease font-size for the "— Template Quote Cite"-functionality so it matches the font-size of the quote itself. As of now, the correct font-size is only being displayed in desktop view, but not in mobile view. Infogiraffic (talk) 21:11, 2 January 2025 (UTC)[reply]