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}} Nunchukshake [link]
{{button|wii|A}} A [link]
{{button|wii|B}} B [link]
{{button|wii|Home}} Home [link]
{{button|wii|+}} Wiimote Plus.png [link]
{{button|wii|-}} Wiimote Minus.png [link]
{{button|wii|1}} Wiimote 1.png [link]
{{button|wii|2}} Wiimote 2.png [link]
{{button|wii|Pad}} Pad [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}} Power [link]
{{button|wii|C}} C [link]
{{button|wii|Z}} Z [link]
{{button|wii|Stick}} Stick [link]
Wii Classic Controller
{{button|wii|CCLStick}} CCLStick [link]
{{button|wii|CCRStick}} CCRStick [link]
{{button|wii|CCa}} CCa [link]
{{button|wii|CCb}} CCb [link]
{{button|wii|CCx}} CCx [link]
{{button|wii|CCy}} CCy [link]
{{button|wii|CCL}} CCL [link]
{{button|wii|CCR}} CCR [link]
{{button|wii|CCZL}} CCZL [link]
{{button|wii|CCZR}} CCZR [link]
Wii U GamePad
{{button|wiiu|LStick}} LStick [link]
{{button|wiiu|RStick}} RStick [link]
{{button|wiiu|Pad}} Pad [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}} A [link]
{{button|wiiu|B}} B [link]
{{button|wiiu|X}} X [link]
{{button|wiiu|Y}} Y [link]
{{button|wiiu|+}} WiiU Plus.png [link]
{{button|wiiu|-}} WiiU Minus.png [link]
{{button|wiiu|L}} L [link]
{{button|wiiu|R}} R [link]
{{button|wiiu|ZL}} ZL [link]
{{button|wiiu|ZR}} ZR [link]
{{button|wiiu|Home}} Home [link]
{{button|wiiu|NFC}} NFC [link]
Wii U Pro Controller
{{button|wiiu|PCLStick}} PCLStick [link]
{{button|wiiu|PCRStick}} PCRStick [link]
{{button|wiiu|PCPad}} PCPad [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}} PCA [link]
{{button|wiiu|PCB}} PCB [link]
{{button|wiiu|PCX}} PCX [link]
{{button|wiiu|PCY}} PCY [link]
{{button|wiiu|PC+}} PC+ [link]
{{button|wiiu|PC-}} PC- [link]
{{button|wiiu|PCL}} PCL [link]
{{button|wiiu|PCR}} PCR [link]
{{button|wiiu|PCZL}} PCZL [link]
{{button|wiiu|PCZR}} PCZR [link]
{{button|wiiu|PCHome}} PCHome [link]

Template

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