Difference between revisions of "Template:Top box"
Jump to navigation
Jump to search
m (HTML validation: attribute valign obsolete) |
m (Simplify CSS) |
||
(12 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
− | {| style="width: 80%; margin | + | {| style="width: 80%; margin: 0 10% 4px; border: 1px solid {{{brcol|#aaa}}}; background-color: {{{bgcol|#f9f9f9}}}; clear: both;" |
− | | | + | | style="width: 80px;" | <div style="text-align: center; margin: 0px 10px; border: 1px solid {{{brcol|#aaa}}}; padding: 0px 5px; background-color: white;">'''{{{id}}}'''</div> |
− | | style="vertical-align: middle; | + | | style="text-align: left; vertical-align: middle;" | {{{text}}} |
− | |} <noinclude> | + | |}<noinclude> |
Options are: | Options are: | ||
Line 9: | Line 9: | ||
* bgcol= background colour, default #f9f9f9 | * bgcol= background colour, default #f9f9f9 | ||
* brcol= border colour, default #aaa | * brcol= border colour, default #aaa | ||
+ | |||
+ | [[Category:Templates]] | ||
</noinclude> | </noinclude> |
Latest revision as of 08:52, 22 April 2019
{{{id}}}
|
{{{text}}} |
Options are:
- id= stuff for white box, should be module name
- text= text to put in the box
- bgcol= background colour, default #f9f9f9
- brcol= border colour, default #aaa