« Modèle:Button » : différence entre les versions
De Pikmin FR
fr>BlueGhost m 1 révision importée |
FRInki>Trig Jegman mAucun résumé des modifications |
||
Ligne 1 : | Ligne 1 : | ||
< | <includeonly>{{#invoke:Button|main}}</includeonly><noinclude>__NOTOC__ | ||
Helper template that displays controller buttons. | |||
=== Usage === | |||
== Usage == | Typically, <code><nowiki>{{Button|name|console}}</nowiki></code> | ||
The | {| class="wikitable sitecolor-generic" | ||
| style="vertical-align:top" |<code>name</code> | |||
| 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" | {| class="wikitable" style="text-align:center" | ||
|style="text-align:right;" | '''Name''' | |style="text-align:right;" | '''Name''' | ||
|A | |A||B||X||Y||Left Stick or LS||Right Stick or RS||D-Pad or DPad||Home | ||
|B | |||
|X | |||
|Y | |||
|LS | |||
|RS | |||
|DPad | |||
| | |||
|Home | |||
|- | |- | ||
|style="text-align:right;" | '''Output''' | |style="text-align:right;" | '''Output''' | ||
Ligne 36 : | Ligne 35 : | ||
|{{Button|RS}} | |{{Button|RS}} | ||
|{{Button|DPad}} | |{{Button|DPad}} | ||
|{{Button|Home}} | |||
|- | |||
|style="text-align:right;" | '''Name''' | |||
|L||R||ZL||ZR||Minus||Plus||Gamepad | |||
|- | |||
|style="text-align:right;" | '''Output''' | |||
|{{Button|L}} | |{{Button|L}} | ||
|{{Button|R}} | |{{Button|R}} | ||
|{{Button|ZL}} | |{{Button|ZL}} | ||
|{{Button|ZR}} | |{{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|ZL1}} | ||
|{{Button|ZR1}} | |{{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> | |||
Version du 6 juin 2023 à 12:18
Helper template that displays controller buttons.
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
Name | A | B | X | Y | Left Stick or LS | Right Stick or RS | D-Pad or DPad | Home |
Output | A | B | X | Y | Left Stick | Right Stick | D-Pad | Home |
Name | L | R | ZL | ZR | Minus | Plus | Gamepad | |
Output | L | R | ZL | ZR | Minus | Plus | Gamepad |
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.
Name | Z | ZL1 | ZR1 |
Output | Zapfish | ZL | ZR |