Template:Button: Difference between revisions

From Pikipedia, the Pikmin wiki
Jump to navigation Jump to search
(Added Nunchuk shake.)
(New documentation style.)
Line 3: Line 3:
==Info==
==Info==
{{ToDo|Check if the names are 100% official.}}
{{ToDo|Check if the names are 100% official.}}
From [[fanon:Template:Button|Pikmin Fanon]].
This template should be used when referring to a button, stick, or any other form of [[Controls|control]]. It places an icon with the corresponding button. This template was based on the old one from [[fanon:Template:Button|Pikmin Fanon]], and calls {{tem|button icon}} for each of the presented buttons.


Usage: <nowiki>{{button|&lt;console1&gt;|&lt;button1&gt;|[&lt;console2&gt;]|[&lt;button2&gt;]|[&lt;console3&gt;]|[&lt;button3&gt;]|[size=&lt;icon size&gt;]}}</nowiki>
==Parameters==
{| class = "wikitable"
! Parameter || Mandatory || Description || Default value
|-
| 1 || '''Yes''' || The button's console ID. ||
|-
| 2 || '''Yes''' || The button's ID. ||
|-
| 3 || No || Secondary button's console ID. ||
|-
| 4 || No || Secondary button's ID. ||
|-
| 5 || No || Tertiary button's console ID. ||  
|-
| 4 || No || Tertiary button's ID. ||
|-
| size || No || Size of the button. || x16px
|}


The consoles and buttons are listed below. For the first two [[Pikmin series|''Pikmin'' games]], type the combination for the '''GameCube''' button on console1 and button1, and alternate controls on console2, button2, console3 and button3; these are normally the equivalent '''New Play Control!''' buttons and buttons on different controllers.
The consoles and buttons are listed below. For the first two [[Pikmin series|''Pikmin'' games]], you normally type the combination for the '''GameCube''' button on console1 and button1, and alternate controls on console2, button2, console3 and button3; these are normally the equivalent '''New Play Control!''' buttons and buttons on different controllers.


{|align=center style=text-align:center;border-collapse:collapse cellpadding=3 border=1
{| align = "center" style = "text-align: center; border-collapse: collapse;" cellpadding = "3" border = "1"
!Code
! Code
!Result
! Result
!Image
! Image
|-
|-
!colspan=3|[[Nintendo GameCube]]
!colspan=3|[[Nintendo GameCube]]
Line 409: Line 426:
|}
|}


[[Category:Templates|{{PAGENAME}}]]</noinclude>
==Template==
<pre>
{{button | <console1> | <button1> | <console2> | <button2> | <console3> | <button3> | size = <size>}}
</pre>
 
[[Category:Templates]]</noinclude>

Revision as of 08:30, October 13, 2014

{{{2}}}

Info

To do: Check if the names are 100% official.
Care to do so?

This template should be used when referring to a button, stick, or any other form of control. It places an icon with the corresponding button. This template was based on the old one from Pikmin Fanon, and calls {{button icon}} for each of the presented buttons.

Parameters

Parameter Mandatory Description Default value
1 Yes The button's console ID.
2 Yes The button's ID.
3 No Secondary button's console ID.
4 No Secondary button's ID.
5 No Tertiary button's console ID.
4 No Tertiary button's ID.
size No Size of the button. x16px

The consoles and buttons are listed below. For the first two Pikmin games, you normally type the combination for the GameCube button on console1 and button1, and alternate controls on console2, button2, console3 and button3; these are normally the equivalent New Play Control! buttons and buttons on different controllers.

Code Result Image
Nintendo GameCube
{{button|gcn|A}} A [link]
{{button|gcn|B}} B [link]
{{button|gcn|C}} C [link]
{{button|gcn|Cup}} Cup [link]
{{button|gcn|Cdown}} Cdown [link]
{{button|gcn|Cleft}} Cleft [link]
{{button|gcn|Cright}} Cright [link]
{{button|gcn|Cleftright}} Cleftright [link]
{{button|gcn|Cupdown}} Cupdown [link]
{{button|gcn|Pad}} Pad [link]
{{button|gcn|Padup}} Padup [link]
{{button|gcn|Paddown}} Paddown [link]
{{button|gcn|Padleft}} Padleft [link]
{{button|gcn|Padright}} Padright [link]
{{button|gcn|Padleftright}} Padleftright [link]
{{button|gcn|Padupdown}} Padupdown [link]
{{button|gcn|L}} L [link]
{{button|gcn|R}} R [link]
{{button|gcn|Start}} Start [link]
{{button|gcn|Stick}} Stick [link]
{{button|gcn|X}} X [link]
{{button|gcn|Y}} Y [link]
{{button|gcn|Z}} Z [link]
Wii
{{button|wii|Wiimote}} Wiimote [link]
{{button|wii|Nunchuk}} Nunchuk [link]
{{button|wii|Nunchukshake}} Nunchuk shake [link]
{{button|wii|A}} the A Button on the Wii Remote [link]
{{button|wii|B}} the B Button on the Wii Remote [link]
{{button|wii|Home}} the HOME Button on the Wii Remote [link]
{{button|wii|+}} the Plus Button on the Wii Remote [link]
{{button|wii|-}} the Minus Button on the Wii Remote [link]
{{button|wii|1}} the 1 Button on the Wii Remote [link]
{{button|wii|2}} the 2 Button on the Wii Remote [link]
{{button|wii|Pad}} the + Control Pad on the Wii Remote [link]
{{button|wii|Padup}} Padup [link]
{{button|wii|Padright}} Padright [link]
{{button|wii|Paddown}} Paddown [link]
{{button|wii|Padleft}} Padleft [link]
{{button|wii|Padleftright}}
{{button|wii|Padrightleft}}
Padleftright [link]
{{button|wii|Padupdown}}
{{button|wii|Paddownup}}
Padupdown [link]
{{button|wii|Power}} the Power Button on the Wii Remote [link]
{{button|wii|C}} the C Button on the Nunchuk [link]
{{button|wii|Z}} the Z Button on the Nunchuk [link]
{{button|wii|Stick}} the Control Stick on the Nunchuk [link]
Wii Classic Controller
{{button|wii|CCLStick}} the Left Control Stick on the Classic Controller [link]
{{button|wii|CCRStick}} the Right Control Stick on the Classic Controller [link]
{{button|wii|CCa}} the a Button on the Classic Controller [link]
{{button|wii|CCb}} the b Button on the Classic Controller [link]
{{button|wii|CCx}} the x Button on the Classic Controller [link]
{{button|wii|CCy}} the y Button on the Classic Controller [link]
{{button|wii|CCL}} the L Button on the Classic Controller [link]
{{button|wii|CCR}} the R Button on the Classic Controller [link]
{{button|wii|CCZL}} the ZL Button on the Classic Controller [link]
{{button|wii|CCZR}} the ZR Button on the Classic Controller [link]
Wii U GamePad
{{button|wiiu|LStick}} the L Stick on the Wii U GamePad [link]
{{button|wiiu|RStick}} the R Stick on the Wii U GamePad [link]
{{button|wiiu|Pad}} the + Control Pad on the Wii U GamePad [link]
{{button|wiiu|Padup}} Padup [link]
{{button|wiiu|Paddown}} Paddown [link]
{{button|wiiu|Padleft}} Padleft [link]
{{button|wiiu|Padright}} Padright [link]
{{button|wiiu|Padupdown}} Padupdown [link]
{{button|wiiu|Padleftright}} Padleftright [link]
{{button|wiiu|A}} the A Button on the Wii U GamePad [link]
{{button|wiiu|B}} the B Button on the Wii U GamePad [link]
{{button|wiiu|X}} the X Button on the Wii U GamePad [link]
{{button|wiiu|Y}} the Y Button on the Wii U GamePad [link]
{{button|wiiu|+}} the + Button on the Wii U GamePad [link]
{{button|wiiu|-}} the - Button on the Wii U GamePad [link]
{{button|wiiu|L}} the L Button on the Wii U GamePad [link]
{{button|wiiu|R}} the R Button on the Wii U GamePad [link]
{{button|wiiu|ZL}} the ZL Button on the Wii U GamePad [link]
{{button|wiiu|ZR}} the ZR Button on the Wii U GamePad [link]
{{button|wiiu|Home}} the HOME Button on the Wii U GamePad [link]
{{button|wiiu|NFC}} NFC sensor [link]
Wii U Pro Controller
{{button|wiiu|PCLStick}} the L Stick on the Wii U Pro Controller [link]
{{button|wiiu|PCRStick}} the R Stick on the Wii U Pro Controller [link]
{{button|wiiu|PCPad}} the + Control Pad on the Wii U Pro Controller [link]
{{button|wiiu|PCPadup}} PCPadup [link]
{{button|wiiu|PCPaddown}} PCPaddown [link]
{{button|wiiu|PCPadleft}} PCPadleft [link]
{{button|wiiu|PCPadright}} PCPadright [link]
{{button|wiiu|PCPadupdown}} PCPadupdown [link]
{{button|wiiu|PCPadleftright}} PCPadleftright [link]
{{button|wiiu|PCA}} the A Button on the Wii U Pro Controller [link]
{{button|wiiu|PCB}} the B Button on the Wii U Pro Controller [link]
{{button|wiiu|PCX}} the X Button on the Wii U Pro Controller [link]
{{button|wiiu|PCY}} the Y Button on the Wii U Pro Controller [link]
{{button|wiiu|PC+}} the + Button on the Wii U Pro Controller [link]
{{button|wiiu|PC-}} the - Button on the Wii U Pro Controller [link]
{{button|wiiu|PCL}} the L Button on the Wii U Pro Controller [link]
{{button|wiiu|PCR}} the R Button on the Wii U Pro Controller [link]
{{button|wiiu|PCZL}} the ZL Button on the Wii U Pro Controller [link]
{{button|wiiu|PCZR}} the ZR Button on the Wii U Pro Controller [link]
{{button|wiiu|PCHome}} the HOME Button on the Wii U Pro Controller [link]

Template

{{button | <console1> | <button1> | <console2> | <button2> | <console3> | <button3> | size = <size>}}