Difference between revisions of "Template:RBTop"
Jump to navigation
Jump to search
m |
m (updating the styles) |
||
Line 1: | Line 1: | ||
− | <includeonly>{| | + | <includeonly>{| style="margin: {{{Margin|5px}}}; border-collapse:collapse; width:{{{Width|315px}}}; float: {{{Align|Right}}}; border: {{{Border|1px}}} {{{BorderStyle|solid}}} {{{BorderColor|#000000}}}; color: {{{TextColor|#000000}}}; background:{{{BackColor|#ffffff}}}; {{{ExtraCSS|}}}"</includeonly> |
<noinclude> | <noinclude> | ||
===Intro=== | ===Intro=== | ||
Line 9: | Line 9: | ||
All possible parameters, vertical format: | All possible parameters, vertical format: | ||
− | * | + | * Margin (Default:5px) = The distance between the table and the content around it. Larger numbers leave more whitespace around the RealmBox. |
− | |||
* Width (Default:315px) = The width of the realmbox. It will increase automatically if you place any large images in any of the blocks. | * Width (Default:315px) = The width of the realmbox. It will increase automatically if you place any large images in any of the blocks. | ||
* Align (Default:Right) = The alignment of the realmbox on the page. If it is right or left, text will flow around it. | * Align (Default:Right) = The alignment of the realmbox on the page. If it is right or left, text will flow around it. | ||
+ | * BorderStyle = The style of table borders. Use "hidden" to create a RealmBox without any border lines at all. | ||
* BorderColor (Default:#000000) = The color of the table lines. | * BorderColor (Default:#000000) = The color of the table lines. | ||
+ | * Border (Default:1px) = The size of the table borders. | ||
* BackColor (Default:#FFFFFF) = The background color of the entire realmbox. | * BackColor (Default:#FFFFFF) = The background color of the entire realmbox. | ||
* TextColor (Default:#000000) = The color of the text to use in the cells. | * TextColor (Default:#000000) = The color of the text to use in the cells. | ||
Line 32: | Line 33: | ||
<pre> | <pre> | ||
{{{RBTop | {{{RBTop | ||
− | | | + | |Margin = |
− | |||
|Width = | |Width = | ||
|Align = | |Align = | ||
+ | |Border = | ||
+ | |BorderStyle = | ||
|BorderColor = | |BorderColor = | ||
|BackColor = | |BackColor = |
Revision as of 19:10, 2 December 2008
Intro
This template is part of the RealmBox Project.
This is the opening element of the realmbox. It must be the first block used.
Parameters
All possible parameters, vertical format:
- Margin (Default:5px) = The distance between the table and the content around it. Larger numbers leave more whitespace around the RealmBox.
- Width (Default:315px) = The width of the realmbox. It will increase automatically if you place any large images in any of the blocks.
- Align (Default:Right) = The alignment of the realmbox on the page. If it is right or left, text will flow around it.
- BorderStyle = The style of table borders. Use "hidden" to create a RealmBox without any border lines at all.
- BorderColor (Default:#000000) = The color of the table lines.
- Border (Default:1px) = The size of the table borders.
- BackColor (Default:#FFFFFF) = The background color of the entire realmbox.
- TextColor (Default:#000000) = The color of the text to use in the cells.
- ExtraCSS (Default:blank) = Any extra CSS elements desired to modify the table layout. Make sure to include the closing semicolon.
Usage
You can copy/paste the following text to use this as part of your realmbox.
Typical Usage
For normal, basic usage of the template, most users will only use the following parameters:
{{RBTop}}
Complete List
Power users who want complete control, or have an elaborate design, may wish to copy this complete parameter list. Make sure to delete the parameters you are not using.
{{{RBTop |Margin = |Width = |Align = |Border = |BorderStyle = |BorderColor = |BackColor = |TextColor = |ExtraCSS = }}}