Many thanks to our Patrons who cover ~2/3 of our hosting bill. Please join them if you can.
Difference between revisions of "Template:QB"
Jump to navigation
Jump to search
m (Add to Category:Convenience Templates) |
(13pt instead of 10pt) |
||
(8 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
− | <noinclude>[[Category: | + | <noinclude>[[Category:Box Templates]]''This template is the recommended way to format large quotes. Do not use [[Template:Quote box]], which is included only for compatibility of imports. This template needs a semantic upgrade.'' |
+ | |||
This to place a centered block of text with grey border and light grey background. It has just the one parameter which is the text to be placed. | This to place a centered block of text with grey border and light grey background. It has just the one parameter which is the text to be placed. | ||
Copy and past the following to use the template, then replace 'TEXT' with the text to be highlighted: | Copy and past the following to use the template, then replace 'TEXT' with the text to be highlighted: | ||
Line 5: | Line 6: | ||
The result will be as shown below with your text replacing the curly-braced parameter. | The result will be as shown below with your text replacing the curly-braced parameter. | ||
</noinclude> | </noinclude> | ||
− | <blockquote style="background-color:# | + | <blockquote style="background-color:#e6eeff;border:1pt solid #adc7e6;padding:1%;font-size:13pt">{{{1}}}</blockquote> |
Latest revision as of 13:50, 29 June 2021
This template is the recommended way to format large quotes. Do not use Template:Quote box, which is included only for compatibility of imports. This template needs a semantic upgrade.
This to place a centered block of text with grey border and light grey background. It has just the one parameter which is the text to be placed. Copy and past the following to use the template, then replace 'TEXT' with the text to be highlighted:
{{QB|TEXT}}
The result will be as shown below with your text replacing the curly-braced parameter.
{{{1}}}