Difference between revisions of "Button"
From NEC Retro
Line 1: | Line 1: | ||
− | <includeonly><span style="display: | + | <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}} | ||
+ | }} | ||
+ | }}{{#if:{{#var:bgcolour}}||{{#vardefine:bgcolour|D51C00}}}}{{#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|}}}| {{{text|}}} }}</span>{{clearvar|bgcolour|fgcolour}}</includeonly><noinclude> | ||
Template for buttons. | Template for buttons. | ||
Line 8: | Line 15: | ||
{{I}}{{II}}{{III}}{{IV}}{{V}}{{VI}}{{up}}{{down}}{{left}}{{right}}{{upleft}}{{upright}}{{downleft}}{{downright}}{{select}}{{run}} | {{I}}{{II}}{{III}}{{IV}}{{V}}{{VI}}{{up}}{{down}}{{left}}{{right}}{{upleft}}{{upright}}{{downleft}}{{downright}}{{select}}{{run}} | ||
+ | |||
+ | {{Punch}}{{Kick}} | ||
[[Category:Templates]]</noinclude> | [[Category:Templates]]</noinclude> |
Latest revision as of 12:08, 5 October 2023
Template for buttons.
asfasdfd sad asd sA df sdfgdasg adgf A
A ABCDEF RB
ⅠⅡⅢⅣⅤⅥ↑↓←→↖↗↙↘ SELECT RUN
PK