Template:Pullquote: Difference between revisions
Jump to navigation
Jump to search
m (we did later bring over Quotebox, which supports text wrapping) |
m (line height adjustment (for better-looking quote marks); not sure I will be using it, though) |
||
Line 1: | Line 1: | ||
<includeonly><table align="center" style="border-collapse:collapse;border-style:none;background-color:transparent;max-width:40em;width:{{{width|auto}}};margin:0 {{{inset|10%}}};"> | <includeonly><table align="center" style="border-collapse:collapse;border-style:none;background-color:transparent;max-width:40em;width:{{{width|auto}}};margin:0 {{{inset|10%}}};"> | ||
<tr> | <tr> | ||
<td valign="top" style="color:{{{color|silver}}};font-size:{{{size|3.6em}}};font-family:serif;font-weight:bold;text-align:left;padding:10px 0;">“</td> | <td valign="top" style="color:{{{color|silver}}};font-size:{{{size|3.6em}}};font-family:serif;font-weight:bold;text-align:left;padding:10px 0;line-height:0.5em;">“</td> | ||
<td valign="top" style="padding:0 1em;text-align:{{{align|left}}}">{{{1|Insert the text of the quote here, without quotation marks.</noinclude>}}}</td> | <td valign="top" style="padding:0 1em;text-align:{{{align|left}}}">{{{1|Insert the text of the quote here, without quotation marks.</noinclude>}}}</td> | ||
<td valign="bottom" style="color:{{{color|silver}}};font-size:{{{size|3.6em}}};font-family:serif;font-weight:bold;text-align:right;padding:10px 0;">„</td> | <td valign="bottom" style="color:{{{color|silver}}};font-size:{{{size|3.6em}}};font-family:serif;font-weight:bold;text-align:right;padding:10px 0;line-height:0.75em;">„</td> | ||
</tr><tr> | </tr><tr> | ||
<td colspan="3" style="padding:1ex 0 0 0;"> {{#if:{{{2|<noinclude>Origin</noinclude>}}}| | <td colspan="3" style="padding:1ex 0 0 0;"> {{#if:{{{2|<noinclude>Origin</noinclude>}}}| |
Revision as of 10:12, 31 July 2020
“ | This is a fun way to mark a block of quoted text. Stolen from Wikipedia, where it was called Cquote (Centered quote), and reminiscent of the "pull quote" tradition in periodicals, where an excerpted quotation appears in an inset box in the article to draw the reader's eye. | „ |
“ | It could be annoying if a whole article was written this way, couldn't it? But it's fun for short quotations. It's not intended to be set on the side, as in a newspaper (that would be the Quotebox template), but rather to demand your full attention, perhaps at the top of an article. | „ |
“ | Here are the parameters you can use with this template:
|
„ |
“ | P.S.: In order to use an equals sign, you have to specify the text body explicitly as parameter 1: {{Pullquote|1=E = mc<sup>2</sup>, but templates are confusing.|2=Albert Einstein}} yields
|
„ | ||||||