Template:Header: Difference between revisions
From LGPedia
Jump to navigationJump to search
No edit summary |
Altered to allow the lower box to be turned off. With this change, Template:PageHeader is unnecessary. |
||
| Line 6: | Line 6: | ||
| | | | ||
[[Image:Rightcorner.png|right|100px]] | [[Image:Rightcorner.png|right|100px]] | ||
|} | |}{{ #ifeq: {{{off}}} | yes | <!-- box turned off --> | | ||
{ | |||
{{{!}}style="border-spacing:8px;margin:0px -8px" | |||
{ | {{!}}class="MainPageBG" style="width:55%;border:1px solid #c0c0c0;background-color:#f5f5f5;vertical-align:top;color:#000"{{!}} | ||
<!--The first color variable after the word solid is the outer color of the border, the second variable is the inner color of the border. This last color variable is the background color for the whole column--> | {{{!}}width="100%" cellpadding="2" cellspacing="5" style="vertical-align:top;background-color:#f5f5f5" | ||
<!--The first color variable after the word solid is the outer color of the border, the second variable is the inner color of the border. This last color variable is the background color for the whole column--> }} | |||
<noinclude> | <noinclude> | ||
==Usage== | |||
Pass either an image or a headline as the first parameter; pass <tt>off=yes</tt> if you want to turn off the enclosing box below. | |||
image example: | image example: | ||


