Difference between revisions of "Template:Header mega"
Jump to navigation
Jump to search
SuperHamster (talk | contribs) (Adding option for no file link) |
SuperHamster (talk | contribs) (Parameterizing image width) |
||
(4 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
__NOTOC__{{notitle}} |
__NOTOC__{{notitle}} |
||
− | <div class="plainlinks" id="megaheader{{#ifeq:{{{short}}}|yes|-short|}}"> |
+ | <div class="plainlinks" id="megaheader{{#ifeq:{{{short}}}|yes|-short|}}" style="height: {{{height|500px}}};"> |
<h1 style="position:absolute; top:0.5em; left:1em; padding:0.25em; text-align:left; color:#FFF !important; letter-spacing:2px; z-index:100; line-height:1; font-weight:600; border-bottom:0; background-color:rgba(50,50,50,0.85);">{{{title|{{PAGENAME}}}}}</h1>{{#if:{{{additional|}}}| |
<h1 style="position:absolute; top:0.5em; left:1em; padding:0.25em; text-align:left; color:#FFF !important; letter-spacing:2px; z-index:100; line-height:1; font-weight:600; border-bottom:0; background-color:rgba(50,50,50,0.85);">{{{title|{{PAGENAME}}}}}</h1>{{#if:{{{additional|}}}| |
||
<div style="position:absolute; top:9em; left:2.5em; text-align:left; color:#FFF !important; z-index:100; line-height:1; font-weight:600; border-bottom:0;"> |
<div style="position:absolute; top:9em; left:2.5em; text-align:left; color:#FFF !important; z-index:100; line-height:1; font-weight:600; border-bottom:0;"> |
||
{{{additional}}}</div>}}{{#if:{{{credit|}}}| |
{{{additional}}}</div>}}{{#if:{{{credit|}}}| |
||
<div style="position:absolute; bottom:20px; right:20px; text-align:right; z-index:100; line-height:1; font-size:70%; font-weight:450; border-bottom:0;"> |
<div style="position:absolute; bottom:20px; right:20px; text-align:right; z-index:100; line-height:1; font-size:70%; font-weight:450; border-bottom:0;"> |
||
− | [[:File:{{{file}}}|<span style="color:#FFF;">{{{credit|Image credit}}}</span> |
+ | [[:File:{{{file}}}|<span style="color:#FFF;">{{{credit|Image credit}}}</span>]]</div>}} |
− | {{Image|file={{{file|Dido background.jpg}}}|width=1920px|percentage=100%|padding=no|align=none}} |
+ | {{Image|file={{{file|Dido background.jpg}}}|width={{{width|1920px}}}|percentage=100%|padding=no|align=none}} |
</div><noinclude>[[Category:Visual identity templates]]</noinclude> |
</div><noinclude>[[Category:Visual identity templates]]</noinclude> |