Difference between revisions of "Button"
From Sega Retro
Line 1: | Line 1: | ||
− | <includeonly><span | + | <includeonly><span style="display:none;">{{#vardefine:bgcolour|{{{bgcolour|}}}{{{bgcolor|}}}}}{{#vardefine:fgcolour|{{{textcolour|}}}{{{textcolor|}}}}}{{#switch:{{{game|}}} |
+ | <!--game specific colours--> | ||
+ | |vf3={{#switch:{{{text|}}} | ||
+ | |P|K={{#vardefine:bgcolour|F6F600}}{{#vardefine:fgcolour|000000}} | ||
+ | |G={{#vardefine:bgcolour|00F000}}{{#vardefine:fgcolour|000000}} | ||
+ | |E={{#vardefine:bgcolour|D51C00}}{{#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. | ||
Line 8: | Line 15: | ||
{{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}} | ||
+ | |||
+ | *[[Virtua Fighter 3]]: {{Button|text=P|game=vf3}}{{Button|text=K|game=vf3}}{{Button|text=G|game=vf3}}{{Button|text=E|game=vf3}} | ||
[[Category:Templates]]</noinclude> | [[Category:Templates]]</noinclude> |