Template:Header: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
(Cleaning up.) |
||
(3 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
<div style="background-color: | <div style="background-color:white;margin-right:205px;margin-top:0px;height:70px;"> | ||
<div style="height:70px;overflow:hidden"><!-- [[File:Whiteline.png|link=|550px]] --></div> | |||
<div style="overflow:auto;position:relative;top:-70px;margin-left:{{#expr:{{{file size|100}}}+30}}px;padding-top:14px;"><table style="height:50px" border="0"><tr><td valign="middle"> | |||
<div style="font-size:28px;color:#546B99;">{{{title1<includeonly>|</includeonly>}}}</div> | |||
<div style="font-size:15px;font-weight:bold;color:#546B99;margin-top:5px;">{{{title2<includeonly>|</includeonly>}}}</div></td></tr></table></div></div> | |||
<div style="margin-left:22px;margin-top:-90px;min-height:110px;margin-bottom:16px;">{{#if:{{{file<includeonly>|</includeonly>}}} |<table style="height:110px" border="0"><tr><td valign="middle">[[File:{{{file|}}}|{{{file size|100}}}px]]}}</td></tr></table></div><noinclude> | <div style="margin-left:22px;margin-top:-90px;min-height:110px;margin-bottom:16px;">{{#if:{{{file<includeonly>|</includeonly>}}} |<table style="height:110px" border="0"><tr><td valign="middle">[[File:{{{file|}}}|{{{file size|100}}}px]]}}</td></tr></table></div><noinclude> | ||
[[Category:Templates]][[Category:Aesthetics]][[Category:Headers]] | |||
{{documentation}} | {{documentation}} | ||
</noinclude> | </noinclude> | ||
Latest revision as of 16:36, 10 November 2012
{{{title1}}}
{{{title2}}} |
[[File:|100px]] |
- The following documentation is located at Template:Header/doc. [edit]
- Useful links: subpage list • links • redirects • transclusions • errors (parser/module) • sandbox
Description
Use this template to create a header at the top of a page to quickly and stylishly convey information. This template creates blue text.
Syntax
Create this template at the very top of a page. If it collides with other headers, choose the most relevant and important to be the absolute top.
Parameters
Add this code to the page, and fill in the parameters:
{{header | file= <!-- Image shown in the header. --> | file size= <!-- The size of the image. --> | title1 = <!-- First line of text. --> | title2 = <!-- Second line of text. --> }}