User:Jade Harley/Sandbox04: Difference between revisions

From Official Barotrauma Wiki
Jump to: navigation, search
mNo edit summary
mNo edit summary
 
(37 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<noinclude>{{doc}}[[Category:Templates]]</noinclude>
<big style="background:rgb(9,9,8); border-style:solid; border-width:1px; border-radius:1em; padding:0px 4px">'''button 2'''</big>
<includeonly>{{#vardefine:inputmethod|{{#switch:{{lc:{{{1|}}}}}|controller=controller|mouse=mouse|#default=keyboard}}}}<!--
-->{{#vardefine:button|{{#switch:{{#var:inputmethod}}
| controller={{#switch:{{lc:{{{key|{{{2}}}}}}}}
| leftstick | left stick | left thumbstick | lstick = Left Stick
| rightstick | right stick | right thumbstick | rstick = Right Stick
| left trigger | lt = LT
| left bumper | lb = LB
| right trigger | rt = RT
| right bumper | rb = RB
| left d-pad | left dpad | l = Left
| right d-pad | right dpad | r = Right
| up d-pad | up dpad | u = Up
}}
}}}}
 
 
 
{{#vardefine:console|{{#if:{{{console|}}}|{{lc:{{{console}}}}}|{{#if:{{{2|}}}|{{lc:{{{1}}}}}}}}}}}<!--
-->{{#vardefine:key|{{#switch:{{lc:{{#if:{{{key|}}}|{{{key}}}|{{{2}}}}}}}
| leftstick
| left stick
| left thumbstick
| lstick = Left Stick
| rightstick
| right stick
| right thumbstick
| rstick = Right Stick
| left trigger
| lt = LT
| left bumper
| lb = LB
| right trigger
| rt = RT
| right bumper
| rb = RB
| left d-pad
| left dpad
| l = Left
| right d-pad
| right dpad
| r = Right
| up d-pad
| up dpad
| u = Up
| down d-pad
| down dpad
| d = Down
| d-pad
| dpad = Dpad
| m = Menu
| o = Circle
| touchpad = Touch Pad
| lmb
| left click = Left
| rmb
| right click = Right
| #default = {{ucfirst:{{#if:{{{key|}}}|{{{key}}}|{{{2}}}}}}}
}}}}<!--
-->{{#vardefine:keyboard|{{lc:{{#if:{{{keyboard|}}}|{{{keyboard}}}|{{#if:{{{2|}}}||{{{1|}}}}}}}}}}}<!--
 
-->{{#if: {{#var:console}} | [[File:{{#switch: {{#var:console}}
|playstation 3
|ps3=PS3
|ps
|playstation
|playstation 4
|ps4=PS4
|psmove
|move=PSMove
|xbox360
|360=360
|gesture=Gesture
|keyboard
|mouse=Keyboard
|oculus=Oculus
|remote=Remote
|steam=Steam
|switch=Switch
|vita=Vita
|vive=Vive
|wii=Wii
|wiiu=WiiU
|xbox
|xbox one
|xboxone
|xbone
|xbox1=XboxOne
|ouya=Ouya
|undefined}}<!--
 
-->{{#ifeq:{{#var:console}}|mouse|{{#switch: {{lc:{{{variant}}}}}
|dark=_White_Mouse_
|light=_Black_Mouse_
|#default = _White_Mouse_
}}}} {{#var:key}}.png|alt={{#var:key}}|{{{size|20px}}}|{{{link|Controls}}}|{{#var:key}}]] }}<!--the above depends on the presence of keyname.png, and only affects console keys, so it doesn't matter for now. Leaving it for future purposes
 
The following handles the keyboard keys display
 
-->{{#if: {{#var:keyboard}} | <span class="key">[[Controls_Menu|<kbd class="{{#switch: {{lc:{{{keyboardvariant}}}}} |dark=keysDark|light=keysLight|keysLight}}"><!--
 
-->{{#switch:{{#var:keyboard}}
 
<!--Standard keyboard values-->
|caps lock = ⇪ Caps Lock
|shift = ⇧ Shift
|lshift
|left shift = ⇧ Left Shift
|rshift
|right shift = ⇧ Right Shift
|return = ↵ Return
|enter = ↵ Enter
|esc = Esc
|ctrl = Ctrl
|lctrl
|left ctrl = Left Ctrl
|rctrl
|right ctrl = Right Ctrl
|alt = Alt
|lalt
|left alt = Left Alt
|ralt
|right alt = Right Alt
|cmd = ⌘ Cmd
|command = ⌘ Command
|opt
|option = ⌥ Option
|tab = Tab ↹
|backspace = ← Backspace
|space = Spacebar
|super = ⊞ Super
|menu = ≣ Menu
|windows = ⊞ Windows
|up = ↑
|down = ↓
|left = ←
|right = →
|#default = {{ucfirst:{{#var:keyboard}}}}
}}</kbd>]]</span>
}}</includeonly>

Latest revision as of 13:15, 15 December 2023

button 2