Difference between revisions of "Template:Box-R"

From Wikispooks
Jump to navigation Jump to search
m
Line 18: Line 18:
 
{{{2}}}
 
{{{2}}}
 
{| style="width:100%; background:ivory; margin-top:1.2em; border:1px solid #ccc;"
 
{| style="width:100%; background:ivory; margin-top:1.2em; border:1px solid #ccc;"
| style="font-size:110%; padding:2px 0; margin:0; text-align:center; color:#000;" |  
+
| style="font-size:100%; padding:2px 0; margin:0; text-align:center; color:#000;" |  
 
{{{3}}}
 
{{{3}}}
 
|}
 
|}
 
</div>
 
</div>

Revision as of 12:13, 9 October 2010

This to place a text block that floats to the right. It has three parameters for text:

  1. Header
  2. Text
  3. Footer

Copy and past the following to use the template, then replace 'HEADER', 'TEXT' and 'FOOTER' with the text to be highlighted:

{{Box-R|HEADER|TEST|FOOTER}}

The result will be as shown below with your text replacing the curly-braced parameter.

NOTE: If the header or footer (ie parameters 1 or 3) are left blank, the result will be a coloured line with no text.


{{{1}}}

{{{2}}}

{{{3}}}