Template:Header

From LGPedia
Revision as of 00:22, 21 January 2008 by Renegade (Talk | contribs) (Bah.)

Jump to: navigation, search

This template generates a header similar to the one previously seen on lonelygirl15.com and several high-profile LGPedia pages.

Usage

{{{Header|HEADLINE OR IMAGE}}

Pass either an image or a headline as the first parameter.

To generate the wrapper previously available automatically, use this code:

<div style="width: 100%; border:1px solid #c0c0c0; background-color: #f5f5f5; color: #000; margin-left: auto; margin-right: auto; margin-top: 1em; padding: 1px;">CONTENT HERE</div>

Additional parameters available

  • width=: Controls header width.
  • font-color=: Controls header font color. (Standard HTML color names or codes.)
  • header-border-color=: Controls header border color. (Standard HTML color names or codes.)
  • KM=yes: If set, the header sports KM red rather than LG blue.

Examples

Text example

{{Header|Blog Girl}}
Leftcorner.png
Rightcorner.png
Blog Girl

Image example

{{Header|[[Image:Relationships.jpg]]}}
Leftcorner.png
Rightcorner.png
Relationships.jpg

KateModern example

{{Header|KateModern|KM=yes}}
KMLeftcorner.png
KMRightcorner.png
KateModern