Template:Header
From LGPedia
Revision as of 02:56, 1 October 2007 by Renegade (Talk | contribs) (Eliminating the wrapper...was never pretty code in the first place, sucks to implement, and is way too static.)
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
- font-color
- header-border-color
Both take standard HTML color names or codes.
Examples
Text example
{{Header|Blog Girl}}
Image example
{{Header|[[Image:Relationships.jpg]]}}