Difference between revisions of "Template:Col-begin"
From PhysWiki
(add class option) |
(add bgColor option) |
||
Line 1: | Line 1: | ||
− | {| class="{{{class|}}}" style="background-color: transparent; width: {{{width|100%}}}"<noinclude> | + | {| class="{{{class|}}}" style="background-color: {{{bgColor|transparent}}}; width: {{{width|100%}}}"<noinclude> |
---- | ---- | ||
Begins with a blank line to ensure the table wiki code is at the beginning of a line. | Begins with a blank line to ensure the table wiki code is at the beginning of a line. | ||
Line 9: | Line 9: | ||
Parameters: | Parameters: | ||
* class (default: "") | * class (default: "") | ||
+ | * bgColor (default: transparent) - remember to set to null when the class defines the background | ||
* width (default: 100%) | * width (default: 100%) | ||