Template:Pullquote: Difference between revisions
Jump to navigation
Jump to search
m (docs: who knew there were 140 standardized HTML colors?) |
m (docs: wording) |
||
Line 23: | Line 23: | ||
|color=blue}} | |color=blue}} | ||
{{Pullquote|P.S.: If the template is being confused by a certain symbol in the text you're passing it, you have to set the parameter explicitly using its number: <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}} | {{Pullquote|P.S.: If the template is being confused by a certain symbol in the text you're passing it, such as an equals sign, you have to set the parameter explicitly using its number: <code><nowiki>{{Pullquote|1=E = mc<sup>2</sup>, but templates are confusing.|2=Albert Einstein}}</nowiki></code> yields<br /><br />{{Pullquote|1=E = mc<sup>2</sup>, but templates are confusing.|2=Albert Einstein}} Square brackets are also known to require this workaround. Note that if you number one parameter you have to number the subsequent parameters too.}} | ||
[[Category:Message box templates]]</noinclude> | [[Category:Message box templates]]</noinclude> |
Revision as of 13:48, 12 December 2023
“ | This is a fun way to mark a block of quoted text. Taken 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.: If the template is being confused by a certain symbol in the text you're passing it, such as an equals sign, you have to set the parameter explicitly using its number: {{Pullquote|1=E = mc<sup>2</sup>, but templates are confusing.|2=Albert Einstein}} yields
|
„ | ||||||