19,292
edits
(+docs; Great Scott! Pull quotes within pull quotes, Marty! We've created a time paradox!) |
m ("100%" simply makes the right close-quote disappear) |
||
Line 18: | Line 18: | ||
:'''Parameter 2''': The source. Who said it? | :'''Parameter 2''': The source. Who said it? | ||
:'''color''': The color of the quote marks! The default is "silver"; here, we used "color=blue". | :'''color''': The color of the quote marks! The default is "silver"; here, we used "color=blue". | ||
:'''width''': The overall width of the box as a percentage of the screen; default is "auto". This doesn't seem to work, however. | :'''width''': The overall width of the box as a percentage of the screen; default is "auto". This parameter doesn't seem to work properly, however. | ||
:'''inset''': How far over to put the quote box. It doesn't seem to accomplish much good to set this. Default is 10%. | :'''inset''': How far over to put the quote box. It doesn't seem to accomplish much good to set this. Default is 10%. | ||
:'''size''': The font size, in the unit that you specify (default is 3.6em). | :'''size''': The font size, in the unit that you specify (default is 3.6em). | ||
|color=blue | |color=blue}} | ||
{{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:Basic formatting templates]]</noinclude> | [[Category:Basic formatting templates]]</noinclude> |