Template:Nsbutton
Shortcut
Allows for easy adding of Nintendo Switch controller buttons to articles. Handy for tutorials and such.
Usage
Input Name | Code | Result |
---|---|---|
Face Buttons | ||
A Button | {{Nsbutton|a}}
|
![]() |
B Button | {{Nsbutton|b}}
|
![]() |
X Button | {{Nsbutton|x}}
|
![]() |
Y Button | {{Nsbutton|y}}
|
![]() |
+Control Pad & Directional Buttons | ||
+Control Pad | {{Nsbutton|dpad}}
|
![]() |
+Control Pad Up | {{Nsbutton|dpad-up}}
|
![]() |
+Control Pad Down | {{Nsbutton|dpad-down}}
|
![]() |
+Control Pad Left | {{Nsbutton|dpad-left}}
|
![]() |
+Control Pad Right | {{Nsbutton|dpad-right}}
|
![]() |
Up Button | {{Nsbutton|up}}
|
![]() |
Down Button | {{Nsbutton|down}}
|
![]() |
Left Button | {{Nsbutton|left}}
|
![]() |
Right Button | {{Nsbutton|right}}
|
![]() |
Control Sticks | ||
Left Stick | {{Nsbutton|thumb-left}}
|
![]() |
Right Stick | {{Nsbutton|thumb-right}}
|
![]() |
Shoulder Buttons | ||
L Button | {{Nsbutton|l}}
|
![]() |
R Button | {{Nsbutton|r}}
|
![]() |
ZL Button | {{Nsbutton|zl}}
|
![]() |
ZR Button | {{Nsbutton|zr}}
|
![]() |
SL Button | {{Nsbutton|sl}}
|
![]() |
SR Button | {{Nsbutton|sr}}
|
![]() |
System & Other Buttons | ||
+ Button | {{Nsbutton|plus}}
|
![]() |
− Button | {{Nsbutton|minus}}
|
![]() |
HOME Button | {{Nsbutton|home}}
|
![]() |
Capture Button | {{Nsbutton|capture}}
|
![]() |
As an alternative, {{Nsbtn}}
may also be used.
License
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.