1,970
edits
No edit summary |
No edit summary |
||
Line 35: | Line 35: | ||
|Content4 = This is Content4}} | |Content4 = This is Content4}} | ||
</nowiki> | </nowiki> | ||
<p style="clear:both;"> | |||
==Usage== | ==Usage== | ||
Using this template is as simple as defining the Headers, Titles, and Contents. | Using this template is as simple as defining the Headers, Titles, and Contents. When using this template, the following variables are available: | ||
<onlyinclude> | *Align - Align the box to to the page. Can be "left" or "right". | ||
*Border Width - Width of the border in px units (like 2px). | |||
*Border Color - Color of the border. Can be an HTML color name (like "red", "green", or "blue"), Hex code (like "#3399CC"), or RGB color value (like "RGB(000,127,255)") | |||
*Header Color | |||
*Name - The name at the top of the box. | |||
*Image - File name on the wiki (like "picture.jpg"). '''NOT''' a URL! | |||
*Image Caption - Caption text displayed under the image. | |||
*Image Size - the '''WIDTH''' of the image in px units (like 200px). | |||
</p> | |||
<onlyinclude><includeonly> | |||
<div style="width:300px;float:{{{Align|right}}};clear:{{{Align|right}}};margin:1em 0 1em 1em;border:{{{Border Width|2px}}} solid {{{Border Color|#336699}}};background:#FFFFFF;-moz-border-radius:15px;border-radius:15px;padding:10px 10px 10px 10px;"> | <div style="width:300px;float:{{{Align|right}}};clear:{{{Align|right}}};margin:1em 0 1em 1em;border:{{{Border Width|2px}}} solid {{{Border Color|#336699}}};background:#FFFFFF;-moz-border-radius:15px;border-radius:15px;padding:10px 10px 10px 10px;"> | ||
{{#if: {{{Header Color|}}}|}} | {{#if: {{{Header Color|}}}|}} | ||
Line 53: | Line 63: | ||
}} | }} | ||
</div> | </div> | ||
</onlyinclude> | </includeonly></onlyinclude> |