Template:Hover button: Difference between revisions

m
47 revisions imported: Import from https://sims.wikia.com
sims>LostInRiverview
m (LostInRiverview moved page User:LostInRiverview/button to Template:Hover button without leaving a redirect: If anyone has a better name, please name it that)
m (47 revisions imported: Import from https://sims.wikia.com)
 
(6 intermediate revisions by 2 users not shown)
Line 1:
<div class="mpbutton" style="position: relative; background: #ffffff;{{#if:{{{box-height|}}}| height: {{{box-height}}}px;|}}{{#if:{{{box-width|}}}| width: {{{box-width}}}px;|}}"><div style="position: absolute; width: {{#if:{{{size|}}}|{{{size}}}px|180px}}; top:{{#if:{{{v-offset|}}}| -{{{v-offset}}}px| 0px}}; left:{{#if: {{{h-offset|}}}| -{{{h-offset}}}px| 0px}};">[[File:{{{image}}}|{{#if:{{{size|}}}|{{{size}}}px|180px}}|{{#if:{{{linktext|}}}|{{{linktext}}}|{{{link}}}}}|link={{{link}}}]]</div><div class="bluebar" style="position: absolute; text-decoration: none; color: white; bottom: 10px; left: 0px; margin-left: 0px; padding: 1px 2px;{{#if:{{{color-left|}}}| background: linear-gradient(to right, {{{color-left}}}, {{{color-right|{{{color-left}}}}}});|{{#if:{{{color-right|}}}| background: {{{color-right}}};|}}}}">[[{{{link}}}|<span style="text-decoration: none; color: white;">{{#if:{{{linktext|}}}|{{{linktext}}}|{{{link}}}}}</span>]]</div></div><noinclude>{{Documentation}}</noinclude>