Template:WikiButton: Difference between revisions

Jump to navigation Jump to search
Content added Content deleted
sims>Nikel23
(Adding a conditional -if- if the font color is not specified. Not setting a default value is ok, apparently? It had always been broken anyway.)
sims>LostInRiverview
mNo edit summary
Line 1: Line 1:
<includeonly>{|class=wikibutton style="{{#if: {{{bgcolor|}}}|background: {{{bgcolor}}}|background: #99BBEE}}; font-color: {{#if: {{{fontcolor|}}}|{{{fontcolor}}} }};"
<includeonly>{|class=wikibutton style="{{#if: {{{bgcolor|}}}|background: {{{bgcolor}}}|background: #99BBEE}}; font-color: {{#if: {{{fontcolor|}}}|{{{fontcolor}}}|black}};"
|- align="center"
|- align="center"
|<div style="position:relative; height: 90px; width: 90px;">
|<div style="position:relative; height: 90px; width: 90px;">