Template:Kbd: Difference between revisions

Jump to navigation Jump to search
2,427 bytes added ,  15:53, 5 May 2020
Adjusted design and added a bigger example
(Created template for styling keyboard-buttons)
 
(Adjusted design and added a bigger example)
 
Line 1: Line 1:
<includeonly>{{#if: {{{1|}}}|<kbd style="margin: 0px 0.1em; padding: 0.1em 0.6em; border-radius: 3px; border: 1px solid rgb(204, 204, 204); color: rgb(51, 51, 51); line-height: 1.4; font-family: Arial,Helvetica,sans-serif; font-weight: bold; font-size: 14px; display: inline-block; box-shadow: 0px 1px 0px rgba(0,0,0,0.2), inset 0px 0px 0px 2px #ffffff; background-color: rgb(247, 247, 247); -moz-box-shadow: 0 1px 0px rgba(0, 0, 0, 0.2), 0 0 0 2px #ffffff inset; -webkit-box-shadow: 0 1px 0px rgba(0, 0, 0, 0.2), 0 0 0 2px #ffffff inset; -moz-border-radius: 3px; -webkit-border-radius: 3px; text-shadow: 0 1px 0 #fff;">{{{1}}}</kbd>|}}</includeonly><noinclude>
<includeonly>{{#if: {{{1|}}}|<kbd style="-moz-border-radius:3px;-moz-box-shadow:0 1px 0 rgba(0,0,0,0.2),0 0 0 2px #fff inset;-webkit-border-radius:3px;-webkit-box-shadow:0 1px 0 rgba(0,0,0,0.2),0 0 0 2px #fff inset;background-color:#f7f7f7;border:1px solid #ccc;border-radius:3px;box-shadow:0 1px 0 rgba(0,0,0,0.2),0 0 0 2px #fff inset;color:#333;display:inline-block;font-family:Arial,Helvetica,sans-serif;font-size:11px;line-height:1.4;margin:0 .1em;padding:.1em .6em;text-shadow:0 1px 0 #fff;">'''{{{1}}}'''</kbd>|}}</includeonly><noinclude>
== About ==
== About ==
Displays a key in a css-styled <code><nowiki><kbd></nowiki></code> tag, intended use in [[Keyboard Shortcuts]]. This template (with its massivly ugly inline-css) will become obsolete as soon as the kbd-styling is globally updated ( https://www.mediawiki.org/wiki/MediaWiki:Gadget-site.css ).
Displays a key in a css-styled <code><nowiki><kbd></nowiki></code> tag, intended use in [[Keyboard Shortcuts]]. This template (with its massivly ugly inline-css) will become obsolete as soon as the kbd-styling is globally updated ( https://www.mediawiki.org/wiki/MediaWiki:Gadget-site.css ).
Line 26: Line 26:
<pre>Using {{Kbd|Shift}} + {{Kbd|B}} you can put the item in your backpack.</pre>
<pre>Using {{Kbd|Shift}} + {{Kbd|B}} you can put the item in your backpack.</pre>
Using {{Kbd|Shift}} + {{Kbd|B}} you can put the item in your backpack.
Using {{Kbd|Shift}} + {{Kbd|B}} you can put the item in your backpack.
=== A list of things ===
* {{Kbd|Shift}}+{{Kbd|Click}} &rarr; Examine something.
* {{Kbd|Shift}}+{{Kbd|Middle Click}} &rarr; Point at something.
* {{Kbd|Alt}}+{{Kbd|Click a tile}} &rarr; Open a new tab with a list of all the items of the clicked tile next to you.
* {{Kbd|Alt}}+{{Kbd|Click a PDA}} &rarr; Remove the ID from the PDA.
* {{Kbd|Alt}}+{{Kbd|Click a locker}} &rarr; Lock the locker.
* {{Kbd|Alt}}+{{Kbd|Click a clothing}} &rarr; Toggles any possible aesthetic settings (breath mask up/down, rolling down jumpsuit, buttons labcoat, flip baseball cap etc).
* {{Kbd|Alt}}+{{Kbd|Click a bag/container}} &rarr; Opens the container. also works on things that are in another container.
* {{Kbd|Alt}}+{{Kbd|Click a vent or scrubber}} &rarr; Crawl into the pipes if you have the "ventcrawl" ability. Monkeys, slimes and several other creatures can do this.
* {{Kbd|Alt}}+{{Kbd|Click a machine}}
** [[File:Microwave.png]][[Guide_to_food#Microwave_Oven|Microwave]] &rarr; Turns the microwave on.
** [[File:Dispenser.png]][[Guide_to_chemistry#Chemistry_Dispensers|Chem Dispenser]], [[File:Chemical_Heater.png]][[Guide_to_chemistry#Chemical_Heater|Chemical Heater]], [[File:Mixer.png]][[Guide_to_chemistry#ChemMaster_3000|ChemMaster 3000]] or [[File:Pandm.gif]][[Virus#PanD.E.M.I.C_2200|PanD.E.M.I:C]] &rarr; Ejects any loaded beaker.
* {{Kbd|Control}}+{{Kbd|Click}} &rarr; Pull an object or person you're standing next to.
* {{Kbd|Control}}+{{Kbd|Click a [[PDA]]}} &rarr; Take out pen.
* {{Kbd|Control}}+{{Kbd|Up/Down}} &rarr; In your text bar will shift through the history of everything you've entered in the red bar at the bottom.
* {{Kbd|Delete}} &rarr; Stop pulling.
* {{Kbd|F12}} &rarr; Toggle minimal HUD.
* {{Kbd|Tab}} &rarr; Toggle between [[#Hotkey-mode_Enabled|hotkey]] and normal mode. While in [[#Hotkey-mode_Enabled|hotkey]] mode, WASD will move your character.
* {{Kbd|Spacebar}} &rarr; While entering commands auto-completes them.
* {{Kbd|Ctrl}}+{{Kbd|W}} or {{Kbd|End}}&rarr; Toggle [[Throw|throwing]] mode.
* {{Kbd|Ctrl}}+{{Kbd|A}} or {{Kbd|Page Down}} &rarr; Use the object in your active hand.
* {{Kbd|Ctrl}}+{{Kbd|S}} or {{Kbd|Page Up}} or {{Kbd|Numpad 9}} or {{Kbd|Middle Mouse Button}} &rarr; Switch your active hand.
* {{Kbd|Ctrl}}+{{Kbd|D}} or {{Kbd|Home}} or {{Kbd|Numpad 7}} &rarr; Drop the item in your active hand.
* {{Kbd|Insert}} or {{Kbd|Numpad 0}} &rarr; Cycle through [[Intent|intent]]s.
* {{Kbd|Click empty floor tile with empty hand}} &rarr; Drag any pulled object to the clicked floortile if possible.


[[Category:Templates]]
[[Category:Templates]]
</noinclude>
</noinclude>
1,133

edits

Navigation menu