Template:Button/doc: Difference between revisions

From MiiWiki
Jump to navigationJump to search
No edit summary
m (Thinking on this, with the touchscreen being how everything is done on phone (and mario kart tour only getting partial coverage) this isn't really needed)
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 sortable"
{|class="wikitable sortable"
!System  
!System  
Line 155: Line 155:
|}
|}
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.
*<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.
*<code>Phone</code> for system name will be supported for ''[[Mario Kart Tour]]'' and ''[[Miitomo]]'', with <code>touch</code> and <code>tilt</code> are accepted for <code>button</code>.
*For Wii U games that use a Wii remote, use <code>Wii</code> for 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>

Revision as of 10:39, 6 August 2022

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.
  • Right stick, ZL, and ZR are only available on 3DS if it is a New 3DS. The standard 3DS should still be used for system name.
  • For Wii U games that use a Wii remote, use Wii for system name.