Template:Pullquote: Difference between revisions
Jump to navigation
Jump to search
m ("100%" simply makes the right close-quote disappear) |
m (/cat) |
||
Line 25: | Line 25: | ||
{{Pullquote|P.S.: In order to use an equals sign, you have to specify the text body explicitly as parameter 1: <nowiki>{{Pullquote|1=E = mc<sup>2</sup>, but templates are confusing.|2=Albert Einstein}}</nowiki> yields<br /><br />{{Pullquote|1=E = mc<sup>2</sup>, but templates are confusing.|2=Albert Einstein}}This is simply because the template thinks the first equals sign it encounters is referring to a parameter being set, and it gets confused. Note that you also have to assign parameter 2, the source, manually in this case.}} | {{Pullquote|P.S.: In order to use an equals sign, you have to specify the text body explicitly as parameter 1: <nowiki>{{Pullquote|1=E = mc<sup>2</sup>, but templates are confusing.|2=Albert Einstein}}</nowiki> yields<br /><br />{{Pullquote|1=E = mc<sup>2</sup>, but templates are confusing.|2=Albert Einstein}}This is simply because the template thinks the first equals sign it encounters is referring to a parameter being set, and it gets confused. Note that you also have to assign parameter 2, the source, manually in this case.}} | ||
[[Category: | [[Category:Message box templates]]</noinclude> |
Revision as of 22:22, 8 December 2015
“ | 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 Rquote template, which we don't have here), 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
|
„ | ||||||