Difference between revisions of "Button"
From Sega Retro
Line 6: | Line 6: | ||
|E={{#vardefine:bgcolour|D51C00}}{{#vardefine:fgcolour|FFFFFF}} | |E={{#vardefine:bgcolour|D51C00}}{{#vardefine:fgcolour|FFFFFF}} | ||
}} | }} | ||
− | }}{{#if:{{#var:bgcolour}}||{{#vardefine:bgcolour| | + | }}{{#if:{{#var:bgcolour}}||{{#vardefine:bgcolour|2080FF}}}}{{#if:{{#var:fgcolour}}||{{#vardefine:fgcolour|FFFFFF}}}}</span><span title="{{{name|}}}" style="display: inline-block; background-color:#{{#var:bgcolour}}; color:#{{#var:fgcolour}}; text-align:center; min-width:15px; font-size:12px; line-height:15px; box-shadow: 1px 1px #000; border-radius:100px; font-weight:{{{weight|bold}}}; vertical-align:middle; margin-left:1px; margin-right:1px;">{{#ifeq:{{#len:{{{text|}}}}}|1|{{{text|}}}| {{{text|}}} }}</span>{{clearvar|bgcolour|fgcolour}}</includeonly><noinclude> |
Template for buttons. | Template for buttons. |