Difference between revisions of "Template:QB"

From Wikispooks
Jump to navigation Jump to search
m (typo)
(13pt instead of 10pt)
 
(9 intermediate revisions by the same user not shown)
Line 1: Line 1:
<noinclude>
+
<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:#f9f9f9;border:1pt solid #9a9a9a;padding:1%;font-size:10pt">{{{1}}}</blockquote>
+
<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}}}