Template:Button/doc: Difference between revisions

From MiiWiki
Jump to navigationJump to search
(splitting into doc subpage)
 
mNo edit summary
 
(5 intermediate revisions by 2 users not shown)
Line 2: Line 2:
Use by typing <code><nowiki>{{Button|system name|button name|hover/screen reader text (defaults to just the button's name)}}</nowiki></code> (case insensitive).
Use by typing <code><nowiki>{{Button|system name|button name|hover/screen reader text (defaults to just the button's name)}}</nowiki></code> (case insensitive).
===Systems and buttons===
===Systems and buttons===
A button image indicates that that button is on that system. A check mark means that the system has that button, but the image has not been uploaded yet. An x means that that system does not have that button.
A button image indicates that that button is on that system. A check mark means that the system has that button, but the wiki does not have an image for that button yet. An x means that that system does not have that button.
{|class="wikitable"
{|class="wikitable sortable"
!System
!System  
!A
![[Wii]]
!B
![[Nintendo 3DS|3DS]]
!X
![[Wii U]]
!Y
![[Nintendo Switch|Switch]]
!L
!R
!D-pad
!Start
!Select
!Touch
!Microphone
!Z
!C
!Control stick
!Tilt
!Swing
!Right stick
!ZL
!ZR
!SL
!SR
!HOME
!1
!2
|-
|-
![[Wii]]
!A
|{{button|wii|a}}
|{{button|wii|a}}  
|{{Button|wii|b}}
|{{Button|3ds|a}}
|{{N}}
|{{button|wii u|a}}
|{{N}}
|{{Button|Switch|a}}
|{{N}}
|-
|{{N}}
!B
|{{button|wii|d-pad}}
|{{button|wii|b}}  
|{{button|wii|start}}
|{{Button|3ds|b}}
|{{button|wii|select}}
|{{button|wii u|b}}
|{{N}}
|{{Button|Switch|b}}
|{{N}}
|-
|{{button|wii|z}}
!X
|{{button|wii|c}}
|{{n}}
|{{button|wii|control stick}}
|{{Button|3ds|x}}
|{{button|wii u|x}}
|{{Button|Switch|x}}
|-
!Y
|{{n}}
|{{Button|3ds|y}}
|{{button|wii u|y}}
|{{Button|Switch|y}}
|-
!L
|{{n}}
|{{button|3ds|L}}  
|{{button|wii u|l}}
|{{Button|Switch|l}}
|-
!R
|{{n}}  
|{{button|3ds|r}}  
|{{button|wii u|r}}
|{{Button|Switch|R}}
|-
!D-pad
|{{button|wii|d-pad}}
|{{Button|3ds|d-pad}}
|{{button|wii u|d-pad}}
|{{Button|Switch|d-pad}}
|-
!Start
|{{button|wii|start}}
|{{button|3ds|start}}  
|{{button|wii u|start}}
|{{Button|Switch|start}}
|-
!Select
|{{button|wii|select}}  
|{{button|3ds|select}}  
|{{button|wii u|select}}
|{{Button|Switch|select}}
|-
!Touch
|{{n}}  
|{{button|3ds|touch}}  
|{{button|wii u|touch}}  
|{{y}}
|{{y}}
|-
!Microphone
|{{n}}
|{{y}}
|{{button|wii u|microphone}}
|{{n}}
|-
!Z
|{{button|wii|z}}
|{{n}}
|{{n}}
|{{n}}
|-
!C
|{{button|wii|c}}
|{{n}}
|{{n}}
|{{n}}
|-
!Control stick
|{{button|wii|control stick}}
|{{Button|3ds|control stick}}
|{{button|wii u|control stick}}
|{{Button|Switch|control stick}}
|-
!Tilt
|{{y}}
|{{Button|3ds|tilt}}
|{{y}}
|{{y}}
|{{y}}
|{{N}}
|{{N}}
|{{N}}
|{{N}}
|{{N}}
|{{button|wii|home}}
|{{button|wii|1}}
|{{button|wii|2}}
|-
|-
![[3DS]]
!Swing
|{{y}}
|{{n}}
|{{n}}
|{{y}}
|{{y}}
|{{y}}
|{{y}}
|{{y}}
|{{Button|3dS|L}}
|{{Button|3ds|r}}
|{{y}}
|{{Button|3ds|start}}
|{{Button|3ds|select}}
|{{Button|3ds|touch}}
|{{y}}
|{{N}}
|{{N}}
|{{y}}
|{{y}}
|{{N}}
|{{y}}
|{{y}}
|{{y}}
|{{N}}
|{{N}}
|{{Button|3ds|home}}
|{{N}}
|{{N}}
|-
|-
![[Wii U]]
!Right stick
|{{Button|wii u|a}}
|{{n}}
|{{Button|wii u|b}}
|{{y}}
|{{Button|wii u|x}}
|{{button|wii u|right stick}}  
|{{Button|wii u|y}}
|{{Button|Switch|Right stick}}
|{{Button|wii u|l}}
|-
|{{Button|wii u|r}}
!ZL
|{{Button|wii u|d-pad}}
|{{n}}
|{{Button|wii u|start}}
|{{y}}  
|{{Button|wii u|select}}
|{{button|wii u|zl}}  
|{{Button|wii u|touch}}
|{{Button|Switch|zl}}
|{{Button|wii u|microphone}}
|-
!ZR
|{{n}}
|{{y}}  
|{{button|wii u|zr}}  
|{{Button|Switch|ZR}}
|-
!SL
|{{n}}
|{{n}}
|{{n}}  
|{{Button|Switch|sl}}
|-
!SR
|{{n}}
|{{n}}
|{{n}}  
|{{Button|Switch|sr}}
|-
!HOME
|{{button|wii|home}}
|{{button|3ds|home}}  
|{{Button|Wii u|home}}
|{{Button|Switch|home}}
|-
!1
|{{button|wii|1}}
|{{n}}
|{{n}}  
|{{n}}
|{{n}}
|{{N}}
|{{Button|wii u|control stick}}
|{{y}}
|{{N}}
|{{Button|wii u|right stick}}
|{{Button|wii u|zl}}
|{{Button|wii u|zr}}
|{{N}}
|{{N}}
|{{Y}}
|{{N}}
|{{N}}
|-
|-
![[Switch]]
!2
|{{y}}
|{{button|wii|2}}  
|{{y}}
|{{n}}  
|{{y}}
|{{n}}  
|{{y}}
|{{n}}
|{{y}}
|{{y}}
|{{y}}
|{{y}}
|{{y}}
|{{y}}
|{{N}}
|{{N}}
|{{N}}
|{{y}}
|{{y}}
|{{y}}
|{{y}}
|{{y}}
|{{y}}
|{{y}}
|{{y}}
|{{Y}}
|{{N}}
|{{N}}
|}
|}
Notes:
Notes:
*For DS games, use the corresponsing <code>3DS</code> button
*For DS games, use the corresponding <code>3DS</code> button.
*<code>Right stick</code>, <code>ZL</code>, and <code>ZR</code> are only available on 3DS if it is a New 3DS. The standard <code>3DS</code> should still be used for system name.
*For 3DS games,<code>Right stick</code>, <code>ZL</code>, and <code>ZR</code> are only present on New 3DS models.
*<code>Phone</code> for system name will be supported for ''[[Mario Kart Tour]]'', but only <code>touch</code> and <code>tilt</code> are accepted for <code>button</code>.
*Wii U games that use a Wii Remote still use <code>Wii</code> as the system name.
*For Wii U games that use a Wii remote, use <code>Wii</code> for system name.
<noinclude>[[Category:Template documentation]]</noinclude>
<noinclude>[[Category:Template documentation]]</noinclude>

Latest revision as of 20:10, 27 March 2023

Usage

Use by typing {{Button|system name|button name|hover/screen reader text (defaults to just the button's name)}} (case insensitive).

Systems and buttons

A button image indicates that that button is on that system. A check mark means that the system has that button, but the wiki does not have an image for that button yet. An x means that that system does not have that button.

System Wii 3DS Wii U Switch
A a a a a
B b b b b
X x x x
Y y y y
L L l l
R r r R
D-pad d-pad d-pad d-pad d-pad
Start start start start start
Select select select select select
Touch touch touch
Microphone microphone
Z z
C c
Control stick control stick control stick control stick control stick
Tilt tilt
Swing
Right stick right stick Right stick
ZL zl zl
ZR zr ZR
SL sl
SR sr
HOME home home home home
1 1
2 2

Notes:

  • For DS games, use the corresponding 3DS button.
  • For 3DS games,Right stick, ZL, and ZR are only present on New 3DS models.
  • Wii U games that use a Wii Remote still use Wii as the system name.