Template:ProductHead: Difference between revisions

From Melissa Data Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
 
(12 intermediate revisions by the same user not shown)
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:none; border-bottom:8px solid #fff;">{{{HeadImage}}}</div>
<div class="clear-both"></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 class="padded" style="padding:12px 0 10px 30px; overflow:auto;">{{{HeadBody}}}</div>
</div>
<div style="float:left; margin-top:0px; 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 7: Line 18:
background-image: -webkit-linear-gradient(#f2f2f2, #fff);
background-image: -webkit-linear-gradient(#f2f2f2, #fff);
background-image: linear-gradient(#f2f2f2, #fff);">
background-image: linear-gradient(#f2f2f2, #fff);">
<div class="padded">{{{HeadBody}}}</div>
<div class="padded" style="padding-top:20px;">{{{ProductIcons}}}</div>
</div>
</div>
<div class="clear-both"></div>
<div class="clear-both"></div>
 
</div>
 
|}
<noinclude>
<noinclude>
== Usage ==
== Usage ==
Line 18: Line 29:
|HeadImage=<br>
|HeadImage=<br>
|HeadBody=<br>
|HeadBody=<br>
|ProductIcons=<br>
<nowiki>}}</nowiki>
<nowiki>}}</nowiki>
</code>
</code>
[[Category:MD Templates]]
[[Category:MD Templates]]
</noinclude>
</noinclude>

Latest revision as of 15:45, 3 May 2018

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

Usage

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