Template:Button: Difference between revisions

From the Kingdom Hearts Wiki, the Kingdom Hearts encyclopedia
Jump to navigationJump to search
No edit summary
mNo edit summary
 
(37 intermediate revisions by 11 users not shown)
Line 1: Line 1:
<onlyinclude>{{#switch:{{lc:{{{1|}}}}}
<onlyinclude>{{#switch:{{lc:{{{1}}}}}
|u|up=[[Image:B u.gif]]
|u|up=[[File:Button Up.png|x25px|link=|Up]]
|d|down=[[Image:B d.gif]]
|d|down=[[File:Button Down.png|x25px|link=|Down]]
|l|left=[[Image:B l.gif]]
|l|left=[[File:Button Left.png|x25px|link=|Left]]
|r|right=[[Image:B r.gif]]
|r|right=[[File:Button Right.png|x25px|link=|Right]]
|x=[[Image:B x.gif]]
|ud|du=[[File:Button Up Down.png|x25px|link=|Up/Down]]
|c|circle=[[Image:B c.gif]]
|lr|rl=[[File:Button Left Right.png|x25px|link=|Left/Right]]
|t|triangle=[[Image:B t.gif]]
|dpad=[[File:Button D-pad.png|x25px|link=|D-Pad]]
|s|square=[[Image:B s.gif]]
|stickl|lana=[[File:Button Stick L.png|x25px|link=|Left Stick]]
|l1=[[Image:B l1.gif]]
|stickr|rana=[[File:Button Stick R.png|x25px|link=|Right Stick]]
|l2=[[Image:B l2.gif]]
|x=[[File:Button Cross.png|x20px|link=|X]]
|r1=[[Image:B r1.gif]]
|c|circle=[[File:Button Circle.png|x20px|link=|Circle]]
|r2=[[Image:B r2.gif]]
|t|triangle=[[File:Button Triangle.png|x20px|link=|Triangle]]
|start=[[Image:B start.gif]]
|s|square=[[File:Button Square.png|x20px|link=|Square]]
|select=[[Image:B select.gif]]
|l1=[[File:Button L1.png|x20px|link=|L1]]
|DSA=[[ButtonA.png]]
|l2=[[File:Button L2.png|x20px|link=|L2]]
|DSB=[[ButtonB.png]]
|l3=[[File:Button L3.png|x20px|link=|L3]]
|DSX=[[ButtonX.png]]
|r1=[[File:Button R1.png|x20px|link=|R1]]
|DSY=[[ButtonY.png]]
|r2=[[File:Button R2.png|x20px|link=|R2]]
|#default=
|r3=[[File:Button R3.png|x20px|link=|R3]]
|start=[[File:Button Start.png|x25px|link=|Start]]
|select=[[File:Button Select.png|x25px|link=|Select]]
|shoulderl=[[File:Button L.png|x25px|link=|L]]
|shoulderr=[[File:Button R.png|x25px|link=|R]]
|pspana|pspanalog=[[File:ButtonAnalog.png|link=|Analog Stick]]
|dsa=[[File:Button A.png|x25px|link=|A]]
|dsb=[[File:Button B.png|x25px|link=|B]]
|dsx=[[File:Button X.png|x25px|link=|X]]
|dsy=[[File:Button Y.png|x25px|link=|Y]]
|3dsana|3dsanalog=[[File:Button3DSAnalog.png|link=|Circle Pad]]
|touchpad=[[File:Button Touch Pad.png|30px|link=|Touch Pad]]
|options=[[File:Button Options.png|x25px|link=|Options]]
|switcha=[[File:Button Switch A.png|x25px|link=|A]]
|switchb=[[File:Button Switch B.png|x25px|link=|B]]
|switchx=[[File:Button Switch X.png|x25px|link=|X]]
|switchy=[[File:Button Switch Y.png|x25px|link=|Y]]
|switchl=[[File:Button Switch L.png|x25px|link=|L]]
|switchr=[[File:Button Switch R.png|x25px|link=|R]]
|switchzl=[[File:Button Switch ZL.png|x25px|link=|ZL]]
|switchzr=[[File:Button Switch ZR.png|x25px|link=|ZR]]
|switchdpad=[[File:Button Switch D-Pad.png|x25px|link=|D-Pad]]
|switchleft=[[File:Button Switch Left.png|x25px|link=|Left]]
|switchright=[[File:Button Switch Right.png|x25px|link=|Right]]
|switchup=[[File:Button Switch Up.png|x25px|link=|Up]]
|switchdown=[[File:Button Switch Down.png|x25px|link=|Down]]
|switchleftright=[[File:Button Switch Left Right.png|x25px|link=|Left/Right]]
|switchupdown=[[File:Button Switch Up Down.png|x25px|link=|Up/Down]]
|switchplus=[[File:Button Switch Plus.png|x25px|link=|Plus]]
|switchminus=[[File:Button Switch Minus.png|20px|link=|Minus]]
|xboxb=[[File:Button Xbox B.png|x25px|link=|B]]
|xboxa=[[File:Button Xbox A.png|x25px|link=|A]]
|xboxy=[[File:Button Xbox Y.png|x25px|link=|Y]]
|xboxx=[[File:Button Xbox X.png|x25px|link=|X]]
|xboxlb=[[File:Button Xbox LB.png|x25px|link=|LB]]
|xboxrb=[[File:Button Xbox RB.png|x25px|link=|RB]]
|xboxlt=[[File:Button Xbox LT.png|x25px|link=|LT]]
|xboxrt=[[File:Button Xbox RT.png|x25px|link=|RT]]
|xboxdpad=[[File:Button Xbox D-Pad.png|x25px|link=|D-Pad]]
|xboxmenu=[[File:Button Xbox Menu.png|x25px|link=|Menu]]
|xboxview=[[File:Button Xbox View.png|x25px|link=|View]]
|keywasd=[[File:Button Key WASD.png|x25px|link=|WASD]]
|keyarrows=[[File:Button Key Arrows.png|x25px|link=|Arrow Keys]]
|keya=[[File:Button Key A.png|x25px|link=|A]]
|keyb=[[File:Button Key B.png|x25px|link=|B]]
|keye=[[File:Button Key E.png|x25px|link=|E]]
|keyf=[[File:Button Key F.png|x25px|link=|F]]
|keyg=[[File:Button Key G.png|x25px|link=|G]]
|keyh=[[File:Button Key H.png|x25px|link=|H]]
|keyt=[[File:Button Key T.png|x25px|link=|T]]
|keyu=[[File:Button Key U.png|x25px|link=|U]]
|keyspacebar=[[File:Button Key Spacebar.png|x25px|link=|Spacebar]]
|keyctrl=[[File:Button Key Ctrl.png|x25px|link=|Control]]
}}</onlyinclude><noinclude>
}}</onlyinclude><noinclude>
 
A wrapper for the button images, so that we can change them in one place. The parameter is not case-sensitive.
A wrapper for the button images, so that we can change them in one place.


{{/example}}
{{/example}}


[[Category:Templates]]
[[Category:In-line templates]]</noinclude>
</noinclude>

Latest revision as of 02:03, 30 June 2024

A wrapper for the button images, so that we can change them in one place. The parameter is not case-sensitive.

PlayStation

  • {{button|u}} = Up
  • {{button|d}} = Down
  • {{button|l}} = Left
  • {{button|r}} = Right
  • {{button|ud}} = Up/Down
  • {{button|lr}} = Left/Right
  • {{button|dpad}} = D-Pad
  • {{button|stickl}} = Left Stick
  • {{button|stickr}} = Right Stick
  • {{button|x}} = X
  • {{button|c}} = Circle
  • {{button|t}} = Triangle
  • {{button|s}} = Square
  • {{button|l1}} = L1
  • {{button|l2}} = L2
  • {{button|r1}} = R1
  • {{button|r2}} = R2
  • {{button|start}} = Start
  • {{button|select}} = Select
  • {{button|pspana}} = Analog Stick
  • {{button|l3}} = L3
  • {{button|r3}} = R3
  • {{button|touchpad}} = Touch Pad
  • {{button|options}} = Options

Nintendo DS and 3DS

  • {{button|DSA}} = A
  • {{button|DSB}} = B
  • {{button|DSX}} = X
  • {{button|DSY}} = Y
  • {{button|3DSana}} = Circle Pad
  • {{button|shoulderl}} = L
  • {{button|shoulderr}} = R

Nintendo Switch

  • {{button|switcha}} = A
  • {{button|switchb}} = B
  • {{button|switchx}} = X
  • {{button|switchy}} = Y
  • {{button|switchl}} = L
  • {{button|switchr}} = R
  • {{button|switchzl}} = ZL
  • {{button|switchzr}} = ZR
  • {{button|switchdpad}} = D-Pad
  • {{button|switchleft}} = Left
  • {{button|switchright}} = Right
  • {{button|switchup}} = Up
  • {{button|switchdown}} = Down
  • {{button|switchleftright}} = Left/Right
  • {{button|switchupdown}} = Up/Down
  • {{button|switchplus}} = Plus
  • {{button|switchminus}} = Minus

Xbox

  • {{button|xboxb}} = B
  • {{button|xboxa}} = A
  • {{button|xboxy}} = Y
  • {{button|xboxx}} = X
  • {{button|xboxlb}} = LB
  • {{button|xboxrb}} = RB
  • {{button|xboxlt}} = LT
  • {{button|xboxrt}} = RT
  • {{button|xboxdpad}} = D-Pad
  • {{button|xboxmenu}} = Menu
  • {{button|xboxview}} = View

Keyboard

  • {{button|keywasd}} = WASD
  • {{button|keyarrows}} = Arrow Keys
  • {{button|keya}} = A
  • {{button|keyb}} = B
  • {{button|keye}} = E
  • {{button|keyf}} = F
  • {{button|keyg}} = G
  • {{button|keyh}} = H
  • {{button|keyt}} = T
  • {{button|keyu}} = U
  • {{button|keyspacebar}} = Spacebar
  • {{button|keyctrl}} = Control