Difference between revisions of "Template:Header"

From LGPedia
Jump to: navigation, search
(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"|
+
{{{!}}style="border-spacing:8px;margin:0px -8px"
{|width="100%" cellpadding="2" cellspacing="5" style="vertical-align:top;background-color:#f5f5f5"
+
{{!}}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:

Revision as of 22:12, 5 June 2007

Leftcorner.png

{{{1}}}

Rightcorner.png

Usage

Pass either an image or a headline as the first parameter; pass off=yes if you want to turn off the enclosing box below.

image example:

Leftcorner.png
Rightcorner.png
Relationships.jpg

Text example

Leftcorner.png
Rightcorner.png
Blog Girl