Template:Banner: Difference between revisions

no edit summary
No edit summary
No edit summary
 
Line 1: Line 1:
<div style="clear: both; display: flex; flex-flow: row nowrap; justify-content: space-between; max-width: 100%; height: 50px; background-color: {{{bgcolor|#CCC}}}; color: {{{color|black}}}; font-size: 90%; font-weight: bold;">
<div style="clear: both; display: flex; flex-flow: row nowrap; justify-content: space-between; max-width: 100%; height: 50px; background-color: {{{bgcolor|#CCC}}}; color: {{{color|black}}}; font-size: 90%; font-weight: bold;">
<div style="float: left; order: 1; flex: 2 0; width: 34%; min-width: 50px;">{{#if:{{{logo|}}}|[[File:{{{logo}}}|link=]]|<span style="display: inline-block; width: 100%; height: 50px;">&nbsp;</span>}}</div>
<div style="float: left; order: 1; flex: 2 0; width: 34%; min-width: 200px;">{{#if:{{{logo|}}}|[[File:{{{logo}}}|link=]]|<span style="display: inline-block; width: 200px; height: 50px;">&nbsp;</span>}}</div>
<div style="float: left; order: 2; flex: 1; width: 22%; padding: 5px 0px 0px 30px;">{{#if:{{{product|}}}|{{{product}}}{{#if:{{{version|}}}|&nbsp;{{{version}}}|}}<br />|}}{{#if:{{{gecko|}}}|Based on Gecko&nbsp;{{{gecko}}}<br />|}}</div>
<div style="float: left; order: 2; flex: 1; width: 22%; padding: 5px 0px 0px 30px;">{{#if:{{{product|}}}|{{{product}}}{{#if:{{{version|}}}|&nbsp;{{{version}}}|}}<br />|}}{{#if:{{{gecko|}}}|Based on Gecko&nbsp;{{{gecko}}}<br />|}}</div>
<div style="float: right; order: 3; flex: 1; width: 35%; padding: 5px 0px 0px 0px;">{{#ifeq:{{{type|merge}}}|release|Released on {{{release_date}}}|{{#if:{{{current_channel|}}}|Currently in {{{current_channel}}} channel<br />|}}{{#if:{{{merge_date|}}}{{{merge_week|}}}|Moves to {{{next_channel|another}}} {{#if:{{{merge_date|}}}|on {{{merge_date}}}|{{#if:{{{merge_week|}}}| week of {{{merge_week}}}|next}}}}}}}}</div>
<div style="float: right; order: 3; flex: 1; width: 35%; padding: 5px 0px 0px 0px;">{{#ifeq:{{{type|merge}}}|release|Released on {{{release_date}}}|{{#if:{{{current_channel|}}}|Currently in {{{current_channel}}} channel<br />|}}{{#if:{{{merge_date|}}}{{{merge_week|}}}|Moves to {{{next_channel|another}}} {{#if:{{{merge_date|}}}|on {{{merge_date}}}|{{#if:{{{merge_week|}}}| week of {{{merge_week}}}|next}}}}}}}}</div>
Confirmed users
1,340

edits