Template:Button: Difference between revisions
From Inkipedia, the Splatoon wiki
GuyPerfect (talk | contribs) m (Turning prefix links into HTTPS) |
Trig Jegman (talk | contribs) mNo edit summary |
||
Line 1: | Line 1: | ||
<includeonly>{{# | <includeonly>{{#invoke:Button|main}}</includeonly><noinclude>__NOTOC__ | ||
}}</includeonly><noinclude>__NOTOC__ | |||
Helper template that displays controller buttons. | Helper template that displays controller buttons. | ||
Line 84: | Line 8: | ||
| style="vertical-align:top" |<code>name</code> | | style="vertical-align:top" |<code>name</code> | ||
| style="vertical-align:top" |First positional only, required | | style="vertical-align:top" |First positional only, required | ||
| colspan="4" |The name of the button. See valid buttons | | colspan="4" |The name of the button. See valid buttons below. | ||
|- | |- | ||
| style="vertical-align:top" |<code>console</code> | | style="vertical-align:top" |<code>console</code> | ||
| style="vertical-align:top" |Second positional, optional | | style="vertical-align:top" |Second positional, optional | ||
| colspan="4" |Wii U or Switch | | colspan="4" |Wii U or Switch (defaults to Wii U). | ||
|- | |- | ||
|} | |} | ||
== List of buttons == | == List of buttons == | ||
Some example buttons are as follows, though more may be available than what is shown here: | Some example buttons are as follows, though more may be available than what is shown here: | ||
Line 104: | Line 21: | ||
* ''[https://splatoonwiki.org/w/index.php?title=Special%3APrefixIndex&prefix=Wii_U_Icon_&namespace=6 Files beginning with Wii_U_Icon_]'' | * ''[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| | 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" | ||
Line 138: | Line 53: | ||
* ''[https://splatoonwiki.org/w/index.php?title=Special%3APrefixIndex&prefix=Switch_Icon_&namespace=6 Files beginning with Switch_Icon_]'' | * ''[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| | 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" | {| class="wikitable" style="text-align:center" | ||
Line 208: | Line 121: | ||
|{{Button|D-Pad Up|Switch}} | |{{Button|D-Pad Up|Switch}} | ||
|{{Button|D-Pad Down|Switch}} | |{{Button|D-Pad Down|Switch}} | ||
|} | |} | ||
=== Misc === | === Misc === | ||
Due to Inkipedia history, the following are also supported with no console argument. | Due to Inkipedia history, the following are also supported with no console argument. | ||
{| class="wikitable" style="text-align:center" | {| class="wikitable" style="text-align:center" |
Latest revision as of 12:18, 6 June 2023
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}}
Name | A | B | X | Y | Left Stick or LS | Right Stick or RS | D-Pad or DPad | Home |
Output | ||||||||
Name | L | R | ZL | ZR | Minus | Plus | Gamepad | |
Output |
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 |