Template:Button: Difference between revisions
From the Super Mario Wiki, the Mario encyclopedia
Jump to navigationJump to search
(Added the N64 D-pad + Added one alias for the DS microphone.) |
Raymondsze (talk | contribs) No edit summary Tag: Mobile edit |
||
(8 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
<includeonly | <includeonly><span style="cursor:help">{{#switch:{{lc:{{{1}}}-{{{2}}}}} | ||
|nes-a=[[File:NES A.svg|{{{size|x16px}}}|link=|class=invert-dark|A Button]] | |nes-a=[[File:NES A.svg|{{{size|x16px}}}|link=|class=invert-dark|A Button]] | ||
|nes-b=[[File:NES B.svg|{{{size|x16px}}}|link=|class=invert-dark|B Button]] | |nes-b=[[File:NES B.svg|{{{size|x16px}}}|link=|class=invert-dark|B Button]] | ||
Line 45: | Line 45: | ||
|n64-start=[[File:N64 Start.png|{{{size|16x13px}}}|link=|START Button]] | |n64-start=[[File:N64 Start.png|{{{size|16x13px}}}|link=|START Button]] | ||
|n64-dpad=[[File:N64 D-pad Wii U Virtual Console.png|{{{size|x16px}}}|link=|+Control Pad]] | |n64-dpad=[[File:N64 D-pad Wii U Virtual Console.png|{{{size|x16px}}}|link=|+Control Pad]] | ||
|n64-dpadleftright=[[File:N64 D-pad leftright Wii U Virtual Console.png|{{{size|x16px}}}|link=|+Control Pad left/right]] | |||
|n64-dpadupdown=[[File:N64 D-pad updown Wii U Virtual Console.png|{{{size|x16px}}}|link=|+Control Pad up/down]] | |||
|n64-dpaddown=[[File:N64 D-pad down Wii U Virtual Console.png|{{{size|x16px}}}|link=|+Control Pad down]] | |||
|gbc-a=[[File:GBC A.PNG|{{{size|x20px}}}|link=|class=invert-dark|A Button]] | |gbc-a=[[File:GBC A.PNG|{{{size|x20px}}}|link=|class=invert-dark|A Button]] | ||
|gbc-b=[[File:GBC B.PNG|{{{size|x20px}}}|link=|class=invert-dark|B Button]] | |gbc-b=[[File:GBC B.PNG|{{{size|x20px}}}|link=|class=invert-dark|B Button]] | ||
Line 238: | Line 241: | ||
|switch-joy-con-l=[[File:Joy-Con L Icon.svg|{{{size|x16px}}}|link=|class=invert-dark|Joy-Con (L)]] | |switch-joy-con-l=[[File:Joy-Con L Icon.svg|{{{size|x16px}}}|link=|class=invert-dark|Joy-Con (L)]] | ||
|switch-joy-con-r=[[File:Joy-Con R Icon.svg|{{{size|x16px}}}|link=|class=invert-dark|Joy-Con (R)]] | |switch-joy-con-r=[[File:Joy-Con R Icon.svg|{{{size|x16px}}}|link=|class=invert-dark|Joy-Con (R)]] | ||
|switch-joy-con-sideways|switch-joy-con-horizontal=[[File:Joy-Con horizontal L-R hybrid.svg|{{{size|x16px}}}|link=|class=invert-dark|Joy-Con (horizontal)]] | |||
|switch-pro=[[File:Nintendo Switch Pro Controller.svg|{{{size|x16px}}}|link=|class=invert-dark|Nintendo Switch Pro Controller]] | |switch-pro=[[File:Nintendo Switch Pro Controller.svg|{{{size|x16px}}}|link=|class=invert-dark|Nintendo Switch Pro Controller]] | ||
|switch-controlpad=[[File:Switch | |switch-controlpad=[[File:Switch Controlpad.svg|{{{size|x16px}}}|link=|class=invert-dark|+Control Pad]] | ||
|switch-padup=[[File:Switch Controlpadup.svg|{{{size|x16px}}}|link=|class=invert-dark|+Control Pad up]] | |switch-padup=[[File:Switch Controlpadup.svg|{{{size|x16px}}}|link=|class=invert-dark|+Control Pad up]] | ||
|switch-padright=[[File:Switch Controlpadright.svg|{{{size|x16px}}}|link=|class=invert-dark|+Control Pad right]] | |switch-padright=[[File:Switch Controlpadright.svg|{{{size|x16px}}}|link=|class=invert-dark|+Control Pad right]] | ||
Line 246: | Line 250: | ||
|switch-padleftright|switch-padrightleft=[[File:Switch Controlpadleftright.svg|{{{size|x16px}}}|link=|class=invert-dark|+Control Pad left or right]] | |switch-padleftright|switch-padrightleft=[[File:Switch Controlpadleftright.svg|{{{size|x16px}}}|link=|class=invert-dark|+Control Pad left or right]] | ||
|switch-padupdown|switch-paddownup=[[File:Switch Controlpadupdown.svg|{{{size|x16px}}}|link=|class=invert-dark|+Control Pad up or down]] | |switch-padupdown|switch-paddownup=[[File:Switch Controlpadupdown.svg|{{{size|x16px}}}|link=|class=invert-dark|+Control Pad up or down]] | ||
|#default={{#switch:{{lc:{{{1}}}}} | |#default=<templatestyles src="Button/styles.css"/>{{#switch:{{lc:{{{1}}}}} | ||
|long=<span class=" | |long=<span class="long button" title="{{{title|{{{2|}}} Button}}}" style="font-size:{{{size|smaller}}}">{{{2|}}}</span> | ||
|{{#if:{{{1|}}}|{{#switch:{{{2|{{lc:{{{1}}}}}}}} | |{{#if:{{{1|}}}|{{#switch:{{{2|{{lc:{{{1}}}}}}}} | ||
|pad=[[File:Def Pad.svg|{{{size|x16px}}}|link=|+Control Pad]] | |pad=[[File:Def Pad.svg|{{{size|x16px}}}|link=|+Control Pad]] | ||
Line 263: | Line 267: | ||
|l=[[File:Def L.svg|{{{size|x16px}}}|link=|L Button]] | |l=[[File:Def L.svg|{{{size|x16px}}}|link=|L Button]] | ||
|r=[[File:Def R.svg|{{{size|x16px}}}|link=|R Button]] | |r=[[File:Def R.svg|{{{size|x16px}}}|link=|R Button]] | ||
|#default=<span class=" | |#default=<span class="round button" title="{{{title|{{{2|{{{1|}}}}}} Button}}}" style="font-size:{{{size|smaller}}}">{{{2|{{{1|}}}}}}</span> | ||
}}}}}}}}</span></includeonly><noinclude> | }}}}}}}}</span></includeonly><noinclude> | ||
==Usage== | ==Usage== | ||
Line 461: | Line 465: | ||
|<code><nowiki>{{button|n64|Dpad}}</nowiki></code> | |<code><nowiki>{{button|n64|Dpad}}</nowiki></code> | ||
|{{button|n64|Dpad}} | |{{button|n64|Dpad}} | ||
|[[:File:N64 D-pad Wii U Virtual Console.png|[link]]] | |||
|- | |||
|<code><nowiki>{{button|n64|Dpaddown}}</nowiki></code> | |||
|{{button|n64|Dpaddown}} | |||
|[[:File:N64 D-pad Wii U Virtual Console.png|[link]]] | |||
|- | |||
|<code><nowiki>{{button|n64|Dpadupdown}}</nowiki></code> | |||
|{{button|n64|Dpadupdown}} | |||
|[[:File:N64 D-pad Wii U Virtual Console.png|[link]]] | |||
|- | |||
|<code><nowiki>{{button|n64|Dpadleftright}}</nowiki></code> | |||
|{{button|n64|Dpadleftright}} | |||
|[[:File:N64 D-pad Wii U Virtual Console.png|[link]]] | |[[:File:N64 D-pad Wii U Virtual Console.png|[link]]] | ||
|- | |- | ||
Line 1,254: | Line 1,270: | ||
|{{button|switch|joy-con-r}} | |{{button|switch|joy-con-r}} | ||
|[[:File:Joy-Con R Icon.svg|[link]]] | |[[:File:Joy-Con R Icon.svg|[link]]] | ||
|- | |||
|<code><nowiki>{{button|switch|joy-con-horizontal}}</nowiki><br><nowiki>{{button|switch|joy-con-sideways}}</nowiki></code> | |||
|{{button|switch|joy-con-horizontal}} | |||
|[[:File:Joy-Con horizontal L-R hybrid.svg|[link]]] | |||
|- | |- | ||
|<code><nowiki>{{button|switch|pro}}</nowiki></code> | |<code><nowiki>{{button|switch|pro}}</nowiki></code> | ||
Line 1,261: | Line 1,281: | ||
|<code><nowiki>{{button|switch|controlpad}}</nowiki></code> | |<code><nowiki>{{button|switch|controlpad}}</nowiki></code> | ||
|{{button|switch|controlpad}} | |{{button|switch|controlpad}} | ||
|[[:File:Switch | |[[:File:Switch Controlpad.svg|[link]]] | ||
|- | |- | ||
|<code><nowiki>{{button|switch|Padup}}</nowiki></code> | |<code><nowiki>{{button|switch|Padup}}</nowiki></code> |
Latest revision as of 15:55, September 14, 2024
Usage
This template is not case-sensitive.
Code | Button | Image |
---|---|---|
Nintendo Entertainment System | ||
{{button|nes|A}}
|
[link] | |
{{button|nes|B}}
|
[link] | |
{{button|nes|start}}
|
[link] | |
{{button|nes|select}}
|
[link] | |
{{button|nes|Pad}}
|
[link] | |
Game Boy | ||
{{button|gb|A}}
|
[link] | |
{{button|gb|B}}
|
[link] | |
{{button|gb|start}}
|
[link] | |
{{button|gb|select}}
|
[link] | |
{{button|gb|Pad}}
|
[link] | |
Super Nintendo Entertainment System | ||
{{button|snes|Mouse}}
|
[link] | |
{{button|snes|A}}
|
[link] | |
{{button|snes|B}}
|
[link] | |
{{button|snes|X}}
|
[link] | |
{{button|snes|Y}}
|
[link] | |
{{button|snes|L}}
|
[link] | |
{{button|snes|R}}
|
[link] | |
{{button|snes|start}}
|
[link] | |
{{button|snes|select}}
|
[link] | |
{{button|snes|Pad}}
|
[link] | |
Philips CD-i | ||
{{button|cdi|1}}
|
[link] | |
{{button|cdi|2}}
|
[link] | |
{{button|cdi|pad}}
|
[link] | |
{{button|cdi|pause}}
|
[link] | |
{{button|cdi|play}}
|
[link] | |
{{button|cdi|stop}}
|
[link] | |
{{button|cdi|lefttrack}}
|
[link] | |
{{button|cdi|righttrack}}
|
[link] | |
Nintendo 64 | ||
{{button|n64|A}}
|
[link] | |
{{button|n64|B}}
|
[link] | |
{{button|n64|L}}
|
[link] | |
{{button|n64|R}}
|
[link] | |
{{button|n64|Z}}
|
[link] | |
{{button|n64|Stick}}
|
[link] | |
{{button|n64|Stickup}}
|
[link] | |
{{button|n64|Stickright}}
|
[link] | |
{{button|n64|Stickdown}}
|
[link] | |
{{button|n64|Stickleft}}
|
[link] | |
{{button|n64|C}}
|
[link] | |
{{button|n64|Cup}}
|
[link] | |
{{button|n64|Cright}}
|
[link] | |
{{button|n64|Cdown}}
|
[link] | |
{{button|n64|Cleft}}
|
[link] | |
{{button|n64|Start}}
|
[link] | |
{{button|n64|Dpad}}
|
[link] | |
{{button|n64|Dpaddown}}
|
[link] | |
{{button|n64|Dpadupdown}}
|
[link] | |
{{button|n64|Dpadleftright}}
|
[link] | |
Game Boy Color | ||
{{button|gbc|A}}
|
[link] | |
{{button|gbc|B}}
|
[link] | |
{{button|gbc|start}}
|
[link] | |
{{button|gbc|select}}
|
[link] | |
{{button|gbc|Pad}}
|
[link] | |
Game Boy Advance | ||
{{button|gba|Tilt}}
|
[link] | |
{{button|gba|A}}
|
[link] | |
{{button|gba|B}}
|
[link] | |
{{button|gba|start}}
|
[link] | |
{{button|gba|select}}
|
[link] | |
{{button|gba|Pad}}
|
[link] | |
{{button|gba|R}}
|
[link] | |
{{button|gba|L}}
|
[link] | |
{{button|gba|Padup}}
|
[link] | |
{{button|gba|Paddown}}
|
[link] | |
{{button|gba|Padleft}}
|
[link] | |
{{button|gba|Padright}}
|
[link] | |
{{button|gba|Padupdown}}
|
[link] | |
{{button|gba|Padleftright}}
|
[link] | |
Nintendo GameCube | ||
{{button|gcn|A}}
|
[link] | |
{{button|gcn|B}}
|
[link] | |
{{button|gcn|C}}
|
[link] | |
{{button|gcn|Pad}}
|
[link] | |
{{button|gcn|Padup}}
|
[link] | |
{{button|gcn|Paddown}}
|
[link] | |
{{button|gcn|Padleft}}
|
[link] | |
{{button|gcn|Padright}}
|
[link] | |
{{button|gcn|Padupdown}}
|
[link] | |
{{button|gcn|Padleftright}}
|
[link] | |
{{button|gcn|L}}
|
[link] | |
{{button|gcn|R}}
|
[link] | |
{{button|gcn|Start}}
|
[link] | |
{{button|gcn|Stick}}
|
[link] | |
{{button|gcn|X}}
|
[link] | |
{{button|gcn|Y}}
|
[link] | |
{{button|gcn|Z}}
|
[link] | |
{{button|gcn|Mic}}
|
[link] | |
iQue Player | ||
{{button|ique|A}}
|
[link] | |
{{button|ique|B}}
|
[link] | |
{{button|ique|L}}
|
[link] | |
{{button|ique|Z}}
|
[link] | |
{{button|ique|R}}
|
[link] | |
{{button|ique|Stick}}
|
[link] | |
{{button|ique|Cup}}
|
[link] | |
{{button|ique|Cdown}}
|
[link] | |
{{button|ique|Cleft}}
|
[link] | |
{{button|ique|Cright}}
|
[link] | |
{{button|ique|Start}}
|
[link] | |
Nintendo DS | ||
{{button|ds|A}}
|
[link] | |
{{button|ds|B}}
|
[link] | |
{{button|ds|X}}
|
[link] | |
{{button|ds|Y}}
|
[link] | |
{{button|ds|L}}
|
[link] | |
{{button|ds|R}}
|
[link] | |
{{button|ds|Pad}}
|
[link] | |
{{button|ds|Start}}
|
[link] | |
{{button|ds|Select}}
|
[link] | |
{{button|ds|Stylus}}
|
[link] | |
{{button|ds|Mic}} {{button|ds|Microphone}}
|
[link] | |
Wii | ||
{{button|wii|Wiimote}}
|
[link] | |
{{button|wii|Nunchuk}}
|
[link] | |
{{button|wii|A}}
|
[link] | |
{{button|wii|B}}
|
[link] | |
{{button|wii|Home}}
|
[link] | |
{{button|wii|+}}
|
[link] | |
{{button|wii|-}}
|
[link] | |
{{button|wii|1}}
|
[link] | |
{{button|wii|2}}
|
[link] | |
{{button|wii|Pad}}
|
[link] | |
{{button|wii|Padup}}
|
[link] | |
{{button|wii|Padright}}
|
[link] | |
{{button|wii|Paddown}}
|
[link] | |
{{button|wii|Padleft}}
|
[link] | |
{{button|wii|Padleftright}}
|
[link] | |
{{button|wii|Padupdown}}
|
[link] | |
{{button|wii|Power}}
|
[link] | |
{{button|wii|C}}
|
[link] | |
{{button|wii|Z}}
|
[link] | |
{{button|wii|Stick}}
|
[link] | |
{{button|wii|CCStickR}}
|
[link] | |
{{button|wii|CCStickL}}
|
[link] | |
{{button|wii|CCA}}
|
[link] | |
{{button|wii|CCB}}
|
[link] | |
{{button|wii|x}}
|
[link] | |
{{button|wii|y}}
|
[link] | |
{{button|wii|L}}
|
[link] | |
{{button|wii|R}}
|
[link] | |
{{button|wii|ZL}}
|
[link] | |
{{button|wii|ZR}}
|
[link] | |
Nintendo 3DS | ||
{{button|3ds|Tilt}}
|
[link] | |
{{button|3ds|A}}
|
[link] | |
{{button|3ds|B}}
|
[link] | |
{{button|3ds|X}}
|
[link] | |
{{button|3ds|Y}}
|
[link] | |
{{button|3ds|L}}
|
[link] | |
{{button|3ds|R}}
|
[link] | |
{{button|3ds|Pad}}
|
[link] | |
{{button|3ds|Padup}}
|
[link] | |
{{button|3ds|Paddown}}
|
[link] | |
{{button|3ds|Padleft}}
|
[link] | |
{{button|3ds|Padright}}
|
[link] | |
{{button|3ds|Padleftright}}
|
[link] | |
{{button|3ds|Padupdown}}
|
[link] | |
{{button|3ds|start}}
|
[link] | |
{{button|3ds|select}}
|
[link] | |
{{button|3ds|home}}
|
[link] | |
{{button|3ds|Stick}}
|
[link] | |
{{button|3ds|Stylus}}
|
[link] | |
{{button|3ds|CStick}}
|
[link] | |
{{button|3ds|ProRightStick}}
|
[link] | |
{{button|3ds|ZL}}
|
[link] | |
{{button|3ds|ZR}}
|
[link] | |
Nvidia Shield TV | ||
{{button|nvshield|A}}
|
[link] | |
{{button|nvshield|B}}
|
[link] | |
{{button|nvshield|X}}
|
[link] | |
{{button|nvshield|Y}}
|
[link] | |
{{button|nvshield|LeftStick}}
|
[link] | |
{{button|nvshield|RightStick}}
|
[link] | |
{{button|nvshield|Pad}}
|
[link] | |
{{button|nvshield|Padup}}
|
[link] | |
{{button|nvshield|Paddown}}
|
[link] | |
{{button|nvshield|Padleft}}
|
[link] | |
{{button|nvshield|Padright}}
|
[link] | |
{{button|nvshield|LeftBumper}}
|
[link] | |
{{button|nvshield|RightBumper}}
|
[link] | |
{{button|nvshield|LeftTrigger}}
|
[link] | |
{{button|nvshield|RightTrigger}}
|
[link] | |
{{button|nvshield|Home}}
|
[link] | |
{{button|nvshield|Start}}
|
[link] | |
{{button|nvshield|Back}}
|
[link] | |
Wii U | ||
{{button|wiiu|A}}
|
[link] | |
{{button|wiiu|B}}
|
[link] | |
{{button|wiiu|X}}
|
[link] | |
{{button|wiiu|Y}}
|
[link] | |
{{button|wiiu|L}}
|
[link] | |
{{button|wiiu|R}}
|
[link] | |
{{button|wiiu|ZL}}
|
[link] | |
{{button|wiiu|ZR}}
|
[link] | |
{{button|wiiu|Pad}}
|
[link] | |
{{button|wiiu|Padup}}
|
[link] | |
{{button|wiiu|Paddown}}
|
[link] | |
{{button|wiiu|Padleft}}
|
[link] | |
{{button|wiiu|Padright}}
|
[link] | |
{{button|wiiu|Padleftright}}
|
[link] | |
{{button|wiiu|Padupdown}}
|
[link] | |
{{button|wiiu|Minus}}
|
[link] | |
{{button|wiiu|Plus}}
|
[link] | |
{{button|wiiu|Home}}
|
[link] | |
{{button|wiiu|TV}}
|
[link] | |
{{button|wiiu|Stick}}
|
[link] | |
{{button|wiiu|Rightstick}}
|
[link] | |
{{button|wiiu|Leftstick}}
|
[link] | |
{{button|wiiu|Power}}
|
[link] | |
{{button|wiiu|Stylus}}
|
[link] | |
{{button|wiiu|Touchscreen}}
|
[link] | |
{{button|wiiu|NFC}}
|
[link] | |
{{button|wiiu|GamePad}}
|
[link] | |
{{button|wiiu|Mic}}
|
[link] | |
Nintendo Switch | ||
{{button|switch|A}}
|
[link] | |
{{button|switch|B}}
|
[link] | |
{{button|switch|X}}
|
[link] | |
{{button|switch|Y}}
|
[link] | |
{{button|switch|L}}
|
[link] | |
{{button|switch|R}}
|
[link] | |
{{button|switch|ZL}}
|
[link] | |
{{button|switch|ZR}}
|
[link] | |
{{button|switch|Pad}}
|
[link] | |
{{button|switch|Up}}
|
[link] | |
{{button|switch|Right}}
|
[link] | |
{{button|switch|Down}}
|
[link] | |
{{button|switch|Left}}
|
[link] | |
{{button|switch|Leftright}}
|
[link] | |
{{button|switch|Updown}}
|
[link] | |
{{button|switch|plus}}
|
[link] | |
{{button|switch|minus}}
|
[link] | |
{{button|switch|PlusMinus}}
|
[link] | |
{{button|switch|stick}}
|
[link] | |
{{button|switch|stickbutton}}
|
[link] | |
{{button|switch|rightstick}}
|
[link] | |
{{button|switch|rightstickbutton}}
|
[link] | |
{{button|switch|leftstick}}
|
[link] | |
{{button|switch|leftstickbutton}}
|
[link] | |
{{button|switch|jc-right}}
|
[link] | |
{{button|switch|jc-bottom}}
|
[link] | |
{{button|switch|jc-top}}
|
[link] | |
{{button|switch|jc-left}}
|
[link] | |
{{button|switch|SL}}
|
[link] | |
{{button|switch|SR}}
|
[link] | |
{{button|switch|home}}
|
[link] | |
{{button|switch|capture}}
|
[link] | |
{{button|switch|joy-con}}
|
[link] | |
{{button|switch|joy-con-l}}
|
[link] | |
{{button|switch|joy-con-r}}
|
[link] | |
{{button|switch|joy-con-horizontal}}
|
[link] | |
{{button|switch|pro}}
|
[link] | |
{{button|switch|controlpad}}
|
[link] | |
{{button|switch|Padup}}
|
[link] | |
{{button|switch|Padright}}
|
[link] | |
{{button|switch|Paddown}}
|
[link] | |
{{button|switch|Padleft}}
|
[link] | |
{{button|switch|Padleftright}}
|
[link] | |
{{button|switch|Padupdown}}
|
[link] | |
Default | ||
{{button|A}}
|
[link] | |
{{button|B}}
|
[link] | |
{{button|X}}
|
[link] | |
{{button|Y}}
|
[link] | |
{{button|L}}
|
[link] | |
{{button|R}}
|
[link] | |
{{button|Z}}
|
[link] | |
{{button|long|Start}}
|
||
{{button|long|Select}}
|
||
{{button|Pad}}
|
[link] | |
{{button|Padup}}
|
[link] | |
{{button|Padright}}
|
[link] | |
{{button|Paddown}}
|
[link] | |
{{button|Padleft}}
|
[link] | |
{{button|Padupdown}}
|
[link] | |
{{button|Padleftright}}
|
[link] | |
{{button|Stick}}
|
[link] |