Template:ProductHead: Difference between revisions

From Melissa Data Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 1: Line 1:
<div style="min-width:640px; margin-bottom:8px; position:relative; display:block; height:100px;">
{| border="0" valign="top" style="border-spacing:0px; min-width:640px; width:100%;"
<div style="float:left;">{{{HeadImage}}}</div>
|-
<div style="float:left; margin-top:0px; margin-bottom:8px; width:100%; left:0px;
|valign="top" width="100%"|
<div style="position:relative; padding:0; margin:0; display:block; text-decoration:none; width:100%;">
<div style="width:100%; height:100px; top:0px; left:0px; background-color:#f2f2f2; border-bottom:8px solid #fff;">{{{HeadImage}}}</div>
<div style="margin-top:0px; margin-bottom:8px; width:100%; left:0px;
background-color:#f2f2f2;
background-color:#f2f2f2;
background-image: -moz-linear-gradient(#f2f2f2, #fff);
background-image: -moz-linear-gradient(#f2f2f2, #fff);
Line 11: Line 14:
<div class="clear-both"></div>
<div class="clear-both"></div>
</div>
</div>
|-
|valign="top" width="100%"|
<div style="position:relative; padding:0; margin:0; display:block; text-decoration:none; width:100%; ">
<div style="width:100%; top:0px; left:0px; background-color:#f2f2f2; border-bottom:8px solid #fff;">
<div style="">
<p style="font-size:20px; font-weight:normal;  margin:0; padding:8px 0 10px 16px;">{{{ProductTitle}}}</p>
</div>
</div>
<div style="float:left; margin-top:0px; width:100%; left:0px;
background-color:#f2f2f2;
background-image: -moz-linear-gradient(#f2f2f2, #fff);
background-image: -o-linear-gradient(#f2f2f2, #fff);
background-image: -webkit-linear-gradient(#f2f2f2, #fff);
background-image: linear-gradient(#f2f2f2, #fff);">
<div class="padded">{{{ProductIcons}}}</div>
</div>
<div class="clear-both"></div>
</div>
|}




Line 19: Line 41:
|HeadImage=<br>
|HeadImage=<br>
|HeadBody=<br>
|HeadBody=<br>
|ProductTitle=<br>
|ProductIcons=<br>
<nowiki>}}</nowiki>
<nowiki>}}</nowiki>
</code>
</code>
[[Category:MD Templates]]
[[Category:MD Templates]]
</noinclude>
</noinclude>

Revision as of 23:25, 1 May 2018

{{{HeadImage}}}
{{{HeadBody}}}

{{{ProductTitle}}}

{{{ProductIcons}}}


Usage

{{ProductHead
|HeadImage=
|HeadBody=
|ProductTitle=
|ProductIcons=
}}