Template:WikiButton: Difference between revisions

Reverting to last working version - update on april 16th broke the template when color is given as a hexadecimal
sims>LostInRiverview
No edit summary
sims>LostInRiverview
(Reverting to last working version - update on april 16th broke the template when color is given as a hexadecimal)
Line 1:
<includeonly>{|class=wikibutton style="{{#if: {{{bgcolor|}}}|background: {{{bgcolor}}}|background: #99BBEE}}; font-color: {{#if:{{{fontcolor|}}}|{{{fontcolor}}}|black}};"
|- align="center"
|<div style="position:relative; height: 90px; width: 90px;">
 
<div style="position: absolute; top: 75px; left: 0px; width: 90px; overflow: hidden; line-height: 12px; z-index: 4; text-align: right;"><table cellspacing="0" cellpadding="1" style="{{#if: {{{boxcolor|}}}|background: {{{boxcolor}}}|background: #99BBEE}};" align="right"><tr><td>&nbsp;[[{{{articlename}}}|<span style="color:{{#if: {{{fontcolor|}}}|color: {{{fontcolor}}}|color: black}};">{{{name}}}</span>]]</td></tr></table></div>
 
<div style="position: absolute; top: 0px; left: 0px; height: 90px; width: 90px; overflow: hidden">
Anonymous user