Template:Hover button: Difference between revisions

m
47 revisions imported: Import from https://sims.wikia.com
sims>LostInRiverview
mNo edit summary
m (47 revisions imported: Import from https://sims.wikia.com)
 
(42 intermediate revisions by 2 users not shown)
Line 1:
<div class="testclassmpbutton" 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|150}}}|{{{size}}}px|180px}}; lefttop: {{#if:{h{{v-offset|0}}}| -{{{v-offset}}}px| 0px}}; topleft:{{#if: {{{vh-offset|0}}}| -{{{h-offset}}}px| 0px}};">[[File:{{{image}}}|{{#if:{{{size|150}}}|{{{size}}}px|180px}}|{{#if:{{{linktext|}}}|{{{linktext}}}|{{{link}}}}}|link={{{link}}}]]</div><div class="greenbarbluebar" style="position: absolute; text-decoration: none; color: white; bottom: 10px; rightleft: 0px; margin-left: 2px0px; padding: 1px 3px2px;{{#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}}}}}</divspan>]]</div></div><noinclude>{{Documentation}}</noinclude>