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|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|}}}|&nbsp;{{{text|}}}&nbsp;}}</span>{{clearvar|bgcolour|fgcolour}}</includeonly><noinclude>
+
}}{{#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;margin-bottom:1px;">{{#ifeq:{{#len:{{{text|}}}}}|1|{{{text|}}}|&nbsp;{{{text|}}}&nbsp;}}</span>{{clearvar|bgcolour|fgcolour}}</includeonly><noinclude>
  
 
Template for buttons.
 
Template for buttons.

Latest revision as of 14:44, 2 March 2023


Template for buttons.

asfasdfd sad asd sA df sdfgdasg adgf A

A ABCDEF  RB 

ABCXYZUpDownLeftRightUp-leftUp-rightDown-leftDown-right START  SELECT  RN