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
 
(12 intermediate revisions by 4 users not shown)
Line 1: Line 1:
<onlyinclude>{{#switch:{{lc:{{{1|}}}}}
<onlyinclude>{{#switch:{{lc:{{{1}}}}}
|u|up=[[Image:Button Up.png|Up|link=]]
|u|up=[[File:Button Up.png|x25px|link=|Up]]
|d|down=[[Image:Button Down.png|Down|link=]]
|d|down=[[File:Button Down.png|x25px|link=|Down]]
|l|left=[[Image:Button Left.png|Left|link=]]
|l|left=[[File:Button Left.png|x25px|link=|Left]]
|r|right=[[Image:Button Right.png|Right|link=]]
|r|right=[[File:Button Right.png|x25px|link=|Right]]
|dpad=[[Image:Button D-pad.png|D-Pad|x25px|link=]]
|ud|du=[[File:Button Up Down.png|x25px|link=|Up/Down]]
|stickl|lana=[[File:Button Stick L.png|Left Stick|x25px|link=]]
|lr|rl=[[File:Button Left Right.png|x25px|link=|Left/Right]]
|stickr|rana=[[File:Button Stick R.png|Right Stick|x25px|link=]]
|dpad=[[File:Button D-pad.png|x25px|link=|D-Pad]]
|x=[[Image:Button Cross.png|X|x25px|link=]]
|stickl|lana=[[File:Button Stick L.png|x25px|link=|Left Stick]]
|c|circle=[[Image:Button Circle.png|Circle|x25px|link=]]
|stickr|rana=[[File:Button Stick R.png|x25px|link=|Right Stick]]
|t|triangle=[[Image:Button Triangle.png|Triangle|x25px|link=]]
|x=[[File:Button Cross.png|x20px|link=|X]]
|s|square=[[Image:Button Square.png|Square|x25px|link=]]
|c|circle=[[File:Button Circle.png|x20px|link=|Circle]]
|l1=[[Image:Button L1.png|L1|x25px|link=]]
|t|triangle=[[File:Button Triangle.png|x20px|link=|Triangle]]
|l2=[[Image:Button L2.png|L2|x25px|link=]]
|s|square=[[File:Button Square.png|x20px|link=|Square]]
|l3=[[File:Button L3.png|L3|link=]]
|l1=[[File:Button L1.png|x20px|link=|L1]]
|r1=[[Image:Button R1.png|R1|x25px|link=]]
|l2=[[File:Button L2.png|x20px|link=|L2]]
|r2=[[Image:Button R2.png|R2|x25px|link=]]
|l3=[[File:Button L3.png|x20px|link=|L3]]
|r3=[[File:Button R3.png|R3|link=]]
|r1=[[File:Button R1.png|x20px|link=|R1]]
|start=[[Image:Button Start.png|Start|x25px|link=]]
|r2=[[File:Button R2.png|x20px|link=|R2]]
|select=[[Image:Button Select.png|Select|x25px|link=]]
|r3=[[File:Button R3.png|x20px|link=|R3]]
|shoulderl=[[File:Button L.png|L|x25px|link=]]
|start=[[File:Button Start.png|x25px|link=|Start]]
|shoulderr=[[File:Button R.png|R|x25px|link=]]
|select=[[File:Button Select.png|x25px|link=|Select]]
|pspana|pspanalog=[[File:ButtonAnalog.png|Analog Stick|link=]]
|shoulderl=[[File:Button L.png|x25px|link=|L]]
|dsa=[[File:Button A.png|x25px|A|link=]]
|shoulderr=[[File:Button R.png|x25px|link=|R]]
|dsb=[[File:Button B.png|x25px|B|link=]]
|pspana|pspanalog=[[File:ButtonAnalog.png|link=|Analog Stick]]
|dsx=[[File:Button X.png|x25px|X|link=]]
|dsa=[[File:Button A.png|x25px|link=|A]]
|dsy=[[File:Button Y.png|x25px|Y|link=]]
|dsb=[[File:Button B.png|x25px|link=|B]]
|3dsana|3dsanalog=[[File:Button3DSAnalog.png|Circle Pad|link=]]
|dsx=[[File:Button X.png|x25px|link=|X]]
|touchpad=[[File:Button Touch Pad.png|Touch Pad|link=]]
|dsy=[[File:Button Y.png|x25px|link=|Y]]
|options=[[File:Button Options.png|Options|link=]]
|3dsana|3dsanalog=[[File:Button3DSAnalog.png|link=|Circle Pad]]
|#default=
|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:In-line templates]]</noinclude>
[[Category:In-line templates]]</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