Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.
Revision as of 09:02, 15 June 2025 by imported>JivanZa
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Template documentation (for the above template, sometimes hidden or invisible) [view] [edit] [history] [refresh]

Template:Documentation header Template:Shortcut Allows for easy adding of Template:W controller buttons to articles. Handy for tutorials and such.

Usage

Nintendo Switch

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

Template:Tcode is a shortcut for this template.

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 is from a comment on the OpenGameArt.org thread for Xelu's FREE Controllers & Keyboard Prompts Pack.

See also

fr:Modèle:Nsbutton ja:テンプレート:Nsbutton pt:Predefinição:Nsbutton ru:Шаблон:Nsbutton th:แม่แบบ:Nsbutton

uk:Шаблон:Nsbutton
The above text is transcluded from Template:MC/Nsbutton/doc; you can change it or view its history.
If you're done making changes, please refresh the text.
Please add categories and interwikis to Template:MC/Nsbutton/doc. (View all subpages of this page.)