Difference between revisions of "Template:QB"

From Wikispooks
Jump to navigation Jump to search
(paler still)
(11 intermediate revisions by 2 users 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 Gold border and light gold 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:
QB|TEXT
+
:<Code><nowiki>{{QB|TEXT}}</nowiki></code>
 +
The result will be as shown below with your text replacing the curly-braced parameter.
 
</noinclude>
 
</noinclude>
<blockquote style="background-color:ivory;border:1pt solid Darkgoldenrod;padding:1%;font-size:10pt">{{{1}}}</blockquote>
+
<blockquote style="background-color:#e6eeff;border:1pt solid #adc7e6;padding:1%;font-size:10pt">{{{1}}}</blockquote>

Revision as of 16:41, 19 July 2017

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}}}