Difference between revisions of "Button"
From Sega Retro
Line 1: | Line 1: | ||
− | <includeonly><span style="display: inline-block; background-color:#{{{bgcolour|}}}{{{bgcolor|}}}; color:#{{{textcolour|}}}{{{textcolor|}}}; 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></includeonly><noinclude> | + | <includeonly><span title="{{{name|}}}" style="display: inline-block; background-color:#{{{bgcolour|}}}{{{bgcolor|}}}; color:#{{{textcolour|}}}{{{textcolor|}}}; 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></includeonly><noinclude> |
Template for buttons. | Template for buttons. | ||
Line 5: | Line 5: | ||
asfasdfd sad asd s{{Button|text=A|bgcolour=D51C00|textcolour=FFFFFF}} df sdfgdasg adgf {{Button|text=A|bgcolour=D51C00|textcolour=FFFFFF}} | asfasdfd sad asd s{{Button|text=A|bgcolour=D51C00|textcolour=FFFFFF}} df sdfgdasg adgf {{Button|text=A|bgcolour=D51C00|textcolour=FFFFFF}} | ||
− | {{Button|text=A|bgcolour=D51C00|textcolour=FFFFFF}}{{Button|text=ABCDEF|bgcolour=D51C00|textcolour=FFFFFF}}{{Button|text=RB|bgcolour=D51C00|textcolour=FFFFFF}} | + | {{Button|text=A|bgcolour=D51C00|textcolour=FFFFFF}}{{Button|text=ABCDEF|bgcolour=D51C00|textcolour=FFFFFF}}{{Button|text=RB|bgcolour=D51C00|textcolour=FFFFFF|name=Right back at you}} |
{{A}}{{B}}{{C}}{{X}}{{Y}}{{Z}}{{up}}{{down}}{{left}}{{right}}{{upleft}}{{upright}}{{downleft}}{{downright}}{{start}}{{select}}{{run}} | {{A}}{{B}}{{C}}{{X}}{{Y}}{{Z}}{{up}}{{down}}{{left}}{{right}}{{upleft}}{{upright}}{{downleft}}{{downright}}{{start}}{{select}}{{run}} | ||
[[Category:Templates]]</noinclude> | [[Category:Templates]]</noinclude> |