|
|
(7 versions intermédiaires par 3 utilisateurs non affichées) |
Ligne 1 : |
Ligne 1 : |
| <includeonly>{{#invoke:Button|main}}</includeonly><noinclude>__NOTOC__ | | <includeonly>{{#invoke:Button|main}}</includeonly><noinclude> |
| Helper template that displays controller buttons.
| | |
| | | Template invocation of [[Module:Button]]. |
| === Usage ===
| | |
| Typically, <code><nowiki>{{Button|name|console}}</nowiki></code>
| | {{:Module:Button/doc}} |
| | | |
| {| class="wikitable sitecolor-generic"
| | |
| | style="vertical-align:top" |<code>name</code>
| | [[Catégorie:Modèles d'intégration]] |
| | style="vertical-align:top" |First positional only, required
| |
| | colspan="4" |The name of the button. See valid buttons below.
| |
| |-
| |
| | style="vertical-align:top" |<code>console</code>
| |
| | style="vertical-align:top" |Second positional, optional
| |
| | colspan="4" |Wii U or Switch (defaults to Wii U).
| |
| |-
| |
| |}
| |
| == List of buttons ==
| |
| Some example buttons are as follows, though more may be available than what is shown here:
| |
| | |
| === Wii U ===
| |
| * ''[https://splatoonwiki.org/w/index.php?title=Special%3APrefixIndex&prefix=Wii_U_Icon_&namespace=6 Files beginning with Wii_U_Icon_]''
| |
| | |
| For example, <code><nowiki>{{Button|A}}</nowiki></code> or <code><nowiki>{{Button|A|Wii U}}</nowiki></code> or <code><nowiki>{{Button|A|Splatoon}}</nowiki></code> {{Button|A|Splatoon}}
| |
| | |
| {| class="wikitable" style="text-align:center"
| |
| |style="text-align:right;" | '''Name'''
| |
| |A||B||X||Y||Left Stick or LS||Right Stick or RS||D-Pad or DPad||Home
| |
| |-
| |
| |style="text-align:right;" | '''Output'''
| |
| |{{Button|A}}
| |
| |{{Button|B}}
| |
| |{{Button|X}}
| |
| |{{Button|Y}}
| |
| |{{Button|LS}}
| |
| |{{Button|RS}}
| |
| |{{Button|DPad}}
| |
| |{{Button|Home}}
| |
| |-
| |
| |style="text-align:right;" | '''Name'''
| |
| |L||R||ZL||ZR||Minus||Plus||Gamepad
| |
| |-
| |
| |style="text-align:right;" | '''Output'''
| |
| |{{Button|L}}
| |
| |{{Button|R}}
| |
| |{{Button|ZL}}
| |
| |{{Button|ZR}}
| |
| |{{Button|Minus}}
| |
| |{{Button|Plus}}
| |
| |{{Button|Gamepad}}
| |
| |}
| |
| | |
| === Switch ===
| |
| * ''[https://splatoonwiki.org/w/index.php?title=Special%3APrefixIndex&prefix=Switch_Icon_&namespace=6 Files beginning with Switch_Icon_]''
| |
| | |
| For example, <code><nowiki>{{Button|A|Switch}}</nowiki></code> or <code><nowiki>{{Button|A|Splatoon 2}}</nowiki></code> {{Button|A|Splatoon 2}}
| |
| | |
| {| class="wikitable" style="text-align:center"
| |
| |style="text-align:right;" | '''Name'''
| |
| |A||B||X||Y||L||R||ZL||ZR||Pro
| |
| |-
| |
| |style="text-align:right;" | '''Output'''
| |
| |{{Button|A|Switch}}
| |
| |{{Button|B|Switch}}
| |
| |{{Button|X|Switch}}
| |
| |{{Button|Y|Switch}}
| |
| |{{Button|L|Switch}}
| |
| |{{Button|R|Switch}}
| |
| |{{Button|ZL|Switch}}
| |
| |{{Button|ZR|Switch}}
| |
| |{{Button|Pro|Switch}}
| |
| |-
| |
| |style="text-align:right;" | '''Name'''
| |
| |SL||SR||Minus||Plus||Home||Capture||Gyro Pitch||Gyro Roll||Gyro Yaw
| |
| |-
| |
| |style="text-align:right;" | '''Output'''
| |
| |{{Button|SL|Switch}}
| |
| |{{Button|SR|Switch}}
| |
| |{{Button|Minus|Switch}}
| |
| |{{Button|Plus|Switch}}
| |
| |{{Button|Home|Switch}}
| |
| |{{Button|Capture|Switch}}
| |
| |{{Button|Gyro Pitch|Switch}}
| |
| |{{Button|Gyro Roll|Switch}}
| |
| |{{Button|Gyro Yaw|Switch}}
| |
| |-
| |
| |style="text-align:right;" | '''Name'''
| |
| |Left Stick or LS||Left Stick Left||Left Stick Right||Left Stick Up||Left Stick Down||Left Stick Left-Right||Left Stick Up-Down||Left Stick All||Left Stick Click
| |
| |-
| |
| |style="text-align:right;" | '''Output'''
| |
| |{{Button|Left Stick|Switch}}
| |
| |{{Button|Left Stick Left|Switch}}
| |
| |{{Button|Left Stick Right|Switch}}
| |
| |{{Button|Left Stick Up|Switch}}
| |
| |{{Button|Left Stick Down|Switch}}
| |
| |{{Button|Left Stick Left-Right|Switch}}
| |
| |{{Button|Left Stick Up-Down|Switch}}
| |
| |{{Button|Left Stick All|Switch}}
| |
| |{{Button|Left Stick Click|Switch}}
| |
| |-
| |
| |style="text-align:right;" | '''Name'''
| |
| |Right Stick or RS||Right Stick Left||Right Stick Right||Right Stick Up||Right Stick Down||Right Stick Left-Right||Right Stick Up-Down||Right Stick All||Right Stick Click
| |
| |-
| |
| |style="text-align:right;" | '''Output'''
| |
| |{{Button|Right Stick|Switch}}
| |
| |{{Button|Right Stick Left|Switch}}
| |
| |{{Button|Right Stick Right|Switch}}
| |
| |{{Button|Right Stick Up|Switch}}
| |
| |{{Button|Right Stick Down|Switch}}
| |
| |{{Button|Right Stick Left-Right|Switch}}
| |
| |{{Button|Right Stick Up-Down|Switch}}
| |
| |{{Button|Right Stick All|Switch}}
| |
| |{{Button|Right Stick Click|Switch}}
| |
| |-
| |
| |style="text-align:right;" | '''Name'''
| |
| |D-Pad or DPad||D-Pad Left||D-Pad Right||D-Pad Up||D-Pad Down||Handheld
| |
| |-
| |
| |style="text-align:right;" | '''Output'''
| |
| |{{Button|D-Pad|Switch}}
| |
| |{{Button|D-Pad Left|Switch}}
| |
| |{{Button|D-Pad Right|Switch}}
| |
| |{{Button|D-Pad Up|Switch}}
| |
| |{{Button|D-Pad Down|Switch}}
| |
| |}
| |
| | |
| === Misc ===
| |
| Due to Inkipedia history, the following are also supported with no console argument.
| |
| | |
| {| class="wikitable" style="text-align:center"
| |
| |style="text-align:right;" | '''Name'''
| |
| |Z
| |
| |ZL1
| |
| |ZR1
| |
| |-
| |
| |style="text-align:right;" | '''Output'''
| |
| |{{Button|Z}}
| |
| |{{Button|ZL1}}
| |
| |{{Button|ZR1}}
| |
| |}
| |
| <!-- Please do not extend this template with other miscellaneous icons - use the Icon template and create a new meaningful parent template -->
| |
| | |
| == See also ==
| |
| * {{c|Controller icons}}
| |
| | |
| [[Category:Controller icons]] | |
| </noinclude>
| |
Template invocation of Module:Button.
Helper template that displays an inline controller button.
Usage
Typically, {{Button|name|console}}
name
|
First positional only, required
|
The name of the button. See valid buttons below.
|
console
|
Second positional, optional
|
Wii U or Switch (defaults to Wii U).
|
List of buttons
Some example buttons are as follows, though more may be available than what is shown here:
Wii U
For example, {{Button|A}}
or {{Button|A|Wii U}}
or {{Button|A|Splatoon}}
A
Switch
For example, {{Button|A|Switch}}
or {{Button|A|Splatoon 2}}
Name
|
A |
B |
X |
Y |
L |
R |
ZL |
ZR |
Pro
|
Output
|
|
|
|
|
|
|
|
|
|
Name
|
SL |
SR |
Minus |
Plus |
Home |
Capture |
Gyro Pitch |
Gyro Roll |
Gyro Yaw
|
Output
|
|
|
|
|
|
|
|
|
|
Name
|
Left Stick or LS |
Left Stick Left |
Left Stick Right |
Left Stick Up |
Left Stick Down |
Left Stick Left-Right |
Left Stick Up-Down |
Left Stick All |
Left Stick Click
|
Output
|
|
|
|
|
|
|
|
|
|
Name
|
Right Stick or RS |
Right Stick Left |
Right Stick Right |
Right Stick Up |
Right Stick Down |
Right Stick Left-Right |
Right Stick Up-Down |
Right Stick All |
Right Stick Click
|
Output
|
|
|
|
|
|
|
|
|
|
Name
|
D-Pad or DPad |
D-Pad Left |
D-Pad Right |
D-Pad Up |
D-Pad Down |
Handheld
|
Output
|
|
|
|
|
|
|
Misc
Due to Inkipedia history, the following are also supported with no console argument.
See also