Template:Button: Difference between revisions

From Inkipedia, the Splatoon wiki
No edit summary
mNo edit summary
 
(8 intermediate revisions by 4 users not shown)
Line 1: Line 1:
<onlyinclude>[[File:Button1_{{{1}}}.png|28px|link=]]</onlyinclude>
<includeonly>{{#invoke:Button|main}}</includeonly><noinclude>__NOTOC__
Helper template that displays controller buttons.


A simple Template to display buttons.
=== Usage ===
== Usage ==
Typically, <code><nowiki>{{Button|name|console}}</nowiki></code>
''' Syntax:''' {{t|Button|ButtonSymbol}}


The current buttons are:
{| 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:


{{Button|A}}
=== Wii U ===
{{Button|B}}
* ''[https://splatoonwiki.org/w/index.php?title=Special%3APrefixIndex&prefix=Wii_U_Icon_&namespace=6 Files beginning with Wii_U_Icon_]''
{{Button|X}}
{{Button|Y}}
{{Button|LS}}
{{Button|RS}}
{{Button|DPad}}
{{Button|L}}
{{Button|R}}
{{Button|ZL}}
{{Button|ZR}}
{{Button|ZL1}}
{{Button|ZR1}}
{{Button|Home}}
{{Button|Minus}}
{{Button|Plus}}


;See also
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}}
* ''[http://splatoonwiki.org/w/index.php?title=Special%3APrefixIndex&prefix=Button_&namespace=6 Files beginning with Button_]''
 
* {{c|Button Icons}}
{| 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>

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}} 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

See also