Minecraft Wiki

The Minecraft Wiki is no longer considered as official by Microsoft and therefore several changes are required to be made, including to the wiki's logo. Please read this announcement for more information.


Minecraft Wiki
Minecraft Wiki
[view | edit | history | purge]Documentation

Allows for easy adding of Nintendo Switch controller buttons to articles. Handy for tutorials and such.


Input Name Code Result
Face Buttons
A Button {{Nsbutton|a}} A button
B Button {{Nsbutton|b}} B button
X Button {{Nsbutton|x}} X button
Y Button {{Nsbutton|y}} Y button
+Control Pad & Directional Buttons
+Control Pad {{Nsbutton|dpad}} +Control Pad
+Control Pad Up {{Nsbutton|dpad-up}} +Control Pad up
+Control Pad Down {{Nsbutton|dpad-down}} +Control Pad down
+Control Pad Left {{Nsbutton|dpad-left}} +Control Pad left
+Control Pad Right {{Nsbutton|dpad-right}} +Control Pad right
Up Button {{Nsbutton|up}} Up button
Down Button {{Nsbutton|down}} Down button
Left Button {{Nsbutton|left}} Left button
Right Button {{Nsbutton|right}} Right button
Control Sticks
Left Stick {{Nsbutton|thumb-left}} Left stick
Right Stick {{Nsbutton|thumb-right}} Right stick
Shoulder Buttons
L Button {{Nsbutton|l}} L button
R Button {{Nsbutton|r}} R button
ZL Button {{Nsbutton|zl}} ZL button
ZR Button {{Nsbutton|zr}} ZR button
SL Button {{Nsbutton|sl}} SL button
SR Button {{Nsbutton|sr}} SR button
System & Other Buttons
+ Button {{Nsbutton|plus}} + button
− Button {{Nsbutton|minus}} - button
HOME Button {{Nsbutton|home}} HOME button
Capture Button {{Nsbutton|capture}} Capture button

As an alternative, {{Nsbtn}} may also be used.


The buttons used in this template come from Xelu's FREE Controllers & Keyboard Prompts Pack, licensed under Creative Commons 0 (CC0), exept for the SL and SR buttons, which come from a comment on the OpenGameArt.org thread for Xelu's FREE Controllers & Keyboard Prompts Pack.

See also

[view | edit | history | purge]The above documentation is transcluded from Template:Nsbutton/doc.