Template:Banner: Difference between revisions

From MozillaWiki
Jump to navigation Jump to search
(Force space between product and version.)
(Add default colors and make logo image optional.)
Line 1: Line 1:
<div style="height: 50px; background-color: {{{bgcolor}}}; color: {{{color}}}; font-size: 90%; font-weight: bold;">
<div style="height: 50px; background-color: {{{bgcolor|#CCC}}}; color: {{{color|black}}}; font-size: 90%; font-weight: bold;">
<div style="float: left; width: 33.333%;">[[File:{{{logo}}}]]</div>
<div style="float: left; width: 33.333%;">{{#if:{{{logo|}}}|[[File:{{{logo}}}]]|<span style="display: inline-block; width: 324px; height: 50px;">&nbsp;</span>}}</div>
<div style="float: left; width: 33.333%; padding: 5px 0px 0px 0px;">{{#if:{{{product|}}}|{{{product}}}{{#if:{{{version|}}}|&nbsp;{{{version}}}|}}<br />|}}{{#if:{{{gecko|}}}|Based on Gecko&nbsp;{{{gecko}}}<br />|}}</div>
<div style="float: left; width: 33.333%; padding: 5px 0px 0px 0px;">{{#if:{{{product|}}}|{{{product}}}{{#if:{{{version|}}}|&nbsp;{{{version}}}|}}<br />|}}{{#if:{{{gecko|}}}|Based on Gecko&nbsp;{{{gecko}}}<br />|}}</div>
<div style="float: left; width: 33.333%; padding: 5px 0px 0px 0px;">{{#ifeq:{{{type|merge}}}|release|Released on {{{release_date}}}|{{#if:{{{current_channel|}}}|Currently in {{{current_channel}}} channel<br />|}}Moves to {{{next_channel|another}}} channel {{#if:{{{merge_date|}}}|on {{{merge_date}}}|{{#if:{{{merge_week|}}}|during week of {{{merge_week}}}|next}}}}}}</div>
<div style="float: left; width: 33.333%; padding: 5px 0px 0px 0px;">{{#ifeq:{{{type|merge}}}|release|Released on {{{release_date}}}|{{#if:{{{current_channel|}}}|Currently in {{{current_channel}}} channel<br />|}}Moves to {{{next_channel|another}}} channel {{#if:{{{merge_date|}}}|on {{{merge_date}}}|{{#if:{{{merge_week|}}}|during week of {{{merge_week}}}|next}}}}}}</div>
</div>
</div>

Revision as of 21:57, 2 February 2014

 
Moves to another channel next