Template:Key: Difference between revisions
Jump to navigation
Jump to search
CptTwinkie (talk | contribs) (Created page with "{{stub}} Category:Templates/Formatting") |
CptTwinkie (talk | contribs) mNo edit summary |
||
Line 1: | Line 1: | ||
{{ | <includeonly>[[File:{{#switch: {{{1}}}<!-- | ||
large buttons--> | |||
| control = key-control.png{{#vardefine:size|35px}} | |||
| alt = key-alt.png{{#vardefine:size|35px}} | |||
| shift = key-shift.png{{#vardefine:size|35px}} | |||
| backspace = key-backspace.png{{#vardefine:size|35px}} | |||
| space = key-space.png{{#vardefine:size|35px}} | |||
| tab = key-tab.png{{#vardefine:size|35px}} | |||
| capslock = key-capslock.png{{#vardefine:size|35px}}<!-- | |||
small buttons--> | |||
| 0 = key-0.png{{#vardefine:size|20px}} | |||
| 1 = key-1.png{{#vardefine:size|20px}} | |||
| 2 = key-2.png{{#vardefine:size|20px}} | |||
| 3 = key-3.png{{#vardefine:size|20px}} | |||
| 4 = key-4.png{{#vardefine:size|20px}} | |||
| 5 = key-5.png{{#vardefine:size|20px}} | |||
| 6 = key-6.png{{#vardefine:size|20px}} | |||
| 7 = key-7.png{{#vardefine:size|20px}} | |||
| 8 = key-8.png{{#vardefine:size|20px}} | |||
| 9 = key-9.png{{#vardefine:size|20px}} | |||
| apostrophe = key-apostrophe.png{{#vardefine:size|20px}} | |||
| backquote = key-backquote.png{{#vardefine:size|20px}} | |||
| backslash = key-backslash.png{{#vardefine:size|20px}} | |||
| bracketclose = key-bracketclose.png{{#vardefine:size|20px}} | |||
| bracketopen = key-bracketopen.png{{#vardefine:size|20px}} | |||
| comma = key-comma.png{{#vardefine:size|20px}} | |||
| delete = key-delete.png{{#vardefine:size|20px}} | |||
| down = key-down.png{{#vardefine:size|20px}} | |||
| end = key-end.png{{#vardefine:size|20px}} | |||
| equal = key-equal.png{{#vardefine:size|20px}} | |||
| escape = key-escape.png{{#vardefine:size|20px}} | |||
| f1 = key-F1.png{{#vardefine:size|20px}} | |||
| f2 = key-F2.png{{#vardefine:size|20px}} | |||
| f3 = key-F3.png{{#vardefine:size|20px}} | |||
| f4 = key-F4.png{{#vardefine:size|20px}} | |||
| f5 = key-F5.png{{#vardefine:size|20px}} | |||
| f6 = key-F6.png{{#vardefine:size|20px}} | |||
| f7 = key-F7.png{{#vardefine:size|20px}} | |||
| f8 = key-F8.png{{#vardefine:size|20px}} | |||
| f9 = key-F9.png{{#vardefine:size|20px}} | |||
| f10 = key-F10.png{{#vardefine:size|20px}} | |||
| f11 = key-F11.png{{#vardefine:size|20px}} | |||
| f12 = key-F12.png{{#vardefine:size|20px}} | |||
| home = key-home.png{{#vardefine:size|20px}} | |||
| insert = key-insert.png{{#vardefine:size|20px}} | |||
| left = key-left.png{{#vardefine:size|20px}} | |||
| minus = key-minus.png{{#vardefine:size|20px}} | |||
| num0 = key-num0.png{{#vardefine:size|20px}} | |||
| num1 = key-num1.png{{#vardefine:size|20px}} | |||
| num2 = key-num2.png{{#vardefine:size|20px}} | |||
| num3 = key-num3.png{{#vardefine:size|20px}} | |||
| num4 = key-num4.png{{#vardefine:size|20px}} | |||
| num5 = key-num5.png{{#vardefine:size|20px}} | |||
| num6 = key-num6.png{{#vardefine:size|20px}} | |||
| num7 = key-num7.png{{#vardefine:size|20px}} | |||
| num8 = key-num8.png{{#vardefine:size|20px}} | |||
| num9 = key-num9.png{{#vardefine:size|20px}} | |||
| numminus = key-numminus.png{{#vardefine:size|20px}} | |||
| numperiod = key-numperiod.png{{#vardefine:size|20px}} | |||
| numplus = key-numplus.png{{#vardefine:size|20px}} | |||
| numslash = key-numslash.png{{#vardefine:size|20px}} | |||
| pagedown = key-pagedown.png{{#vardefine:size|20px}} | |||
| pageup = key-pageup.png{{#vardefine:size|20px}} | |||
| pausebreak = key-pausebreak.png{{#vardefine:size|20px}} | |||
| period = key-period.png{{#vardefine:size|20px}} | |||
| printscreen = key-printscreen.png{{#vardefine:size|20px}} | |||
| right = key-right.png{{#vardefine:size|20px}} | |||
| scrolllock = key-scrolllock.png{{#vardefine:size|20px}} | |||
| semicolon = key-semicolon.png{{#vardefine:size|20px}} | |||
| slash = key-slash.png{{#vardefine:size|20px}} | |||
| up = key-up.png{{#vardefine:size|20px}} | |||
| a = key-a.png{{#vardefine:size|20px}} | |||
| b = key-b.png{{#vardefine:size|20px}} | |||
| c = key-c.png{{#vardefine:size|20px}} | |||
| d = key-d.png{{#vardefine:size|20px}} | |||
| e = key-e.png{{#vardefine:size|20px}} | |||
| f = key-f.png{{#vardefine:size|20px}} | |||
| g = key-g.png{{#vardefine:size|20px}} | |||
| h = key-h.png{{#vardefine:size|20px}} | |||
| i = key-i.png{{#vardefine:size|20px}} | |||
| j = key-j.png{{#vardefine:size|20px}} | |||
| k = key-k.png{{#vardefine:size|20px}} | |||
| l = key-l.png{{#vardefine:size|20px}} | |||
| m = key-m.png{{#vardefine:size|20px}} | |||
| n = key-n.png{{#vardefine:size|20px}} | |||
| o = key-o.png{{#vardefine:size|20px}} | |||
| p = key-p.png{{#vardefine:size|20px}} | |||
| q = key-q.png{{#vardefine:size|20px}} | |||
| r = key-r.png{{#vardefine:size|20px}} | |||
| s = key-s.png{{#vardefine:size|20px}} | |||
| t = key-t.png{{#vardefine:size|20px}} | |||
| u = key-u.png{{#vardefine:size|20px}} | |||
| v = key-v.png{{#vardefine:size|20px}} | |||
| w = key-w.png{{#vardefine:size|20px}} | |||
| x = key-x.png{{#vardefine:size|20px}} | |||
| y = key-y.png{{#vardefine:size|20px}} | |||
| z = key-z.png{{#vardefine:size|20px}}<!-- | |||
small buttons shift--> | |||
| ampersand = key-ampersand.png{{#vardefine:size|20px}} | |||
| asterisk = key-asterisk.png{{#vardefine:size|20px}} | |||
| at = key-at.png{{#vardefine:size|20px}} | |||
| braceclose = key-braceclose.png{{#vardefine:size|20px}} | |||
| braceopen = key-braceopen.png{{#vardefine:size|20px}} | |||
| caret = key-caret.png{{#vardefine:size|20px}} | |||
| colon = key-colon.png{{#vardefine:size|20px}} | |||
| dollar = key-dollar.png{{#vardefine:size|20px}} | |||
| exclamation = key-exclamation.png{{#vardefine:size|20px}} | |||
| greaterthan = key-greaterthan.png{{#vardefine:size|20px}} | |||
| lessthan = key-lessthan.png{{#vardefine:size|20px}} | |||
| numlock = key-numlock.png{{#vardefine:size|20px}} | |||
| parenthesisclose = key-parenthesisclose.png{{#vardefine:size|20px}} | |||
| parenthesisopen = key-parenthesisopen.png{{#vardefine:size|20px}} | |||
| percent = key-percent.png{{#vardefine:size|20px}} | |||
| pipe = key-pipe.png{{#vardefine:size|20px}} | |||
| plus = key-plus.png{{#vardefine:size|20px}} | |||
| pound = key-pound.png{{#vardefine:size|20px}} | |||
| question = key-question.png{{#vardefine:size|20px}} | |||
| quotation = key-quotation.png{{#vardefine:size|20px}} | |||
| tilde = key-tilde.png{{#vardefine:size|20px}} | |||
| underscore = key-underscore.png{{#vardefine:size|20px}}<!-- | |||
mousewheel--> | |||
| wheel = key-wheel.png{{#vardefine:size|20px}} | |||
| wheelclick = key-wheelclick.png{{#vardefine:size|20px}} | |||
| wheelhold = key-wheelhold.png{{#vardefine:size|20px}}<!-- | |||
mouse buttons--> | |||
| lmb = key-lmb.png{{#vardefine:size|20px}} | |||
| rmb = key-rmb.png{{#vardefine:size|20px}} | |||
| No.png{{#vardefine:size|20px}} | |||
}}|{{#var:size}}|frameless]]</includeonly><noinclude> | |||
<!-- | |||
--> | |||
==Usage== | |||
The Key template is meant to be used when referencing default key bindings. It inserts an image of the appropriate key. | |||
<pre>{{Key|<keyname>}}</pre> | |||
*The code above can be pasted into your page and edited. | |||
{{TextBox|It should be noted that all key bindings in Medieval Engineers are configurable and that care should be taken to mention the input name, such as ''"Use"'' (default {{Key|f}}).}} | |||
==Keys Available== | |||
<table style="width:100%"><tr><!-- | |||
Column 1--><td style="vertical-align: top;"><!-- | |||
--><h3>Alphanumeric</h3> | |||
0 = {{Key|0}}<br/> | |||
1 = {{Key|1}}<br/> | |||
2 = {{Key|2}}<br/> | |||
3 = {{Key|3}}<br/> | |||
4 = {{Key|4}}<br/> | |||
5 = {{Key|5}}<br/> | |||
6 = {{Key|6}}<br/> | |||
7 = {{Key|7}}<br/> | |||
8 = {{Key|8}}<br/> | |||
9 = {{Key|9}}<br/> | |||
a = {{Key|a}}<br/> | |||
b = {{Key|b}}<br/> | |||
c = {{Key|c}}<br/> | |||
d = {{Key|d}}<br/> | |||
e = {{Key|e}}<br/> | |||
f = {{Key|f}}<br/> | |||
g = {{Key|g}}<br/> | |||
h = {{Key|h}}<br/> | |||
i = {{Key|i}}<br/> | |||
j = {{Key|j}}<br/> | |||
k = {{Key|k}}<br/> | |||
l = {{Key|l}}<br/> | |||
m = {{Key|m}}<br/> | |||
n = {{Key|n}}<br/> | |||
o = {{Key|o}}<br/> | |||
p = {{Key|p}}<br/> | |||
q = {{Key|q}}<br/> | |||
r = {{Key|r}}<br/> | |||
s = {{Key|s}}<br/> | |||
t = {{Key|t}}<br/> | |||
u = {{Key|u}}<br/> | |||
v = {{Key|v}}<br/> | |||
w = {{Key|w}}<br/> | |||
x = {{Key|x}}<br/> | |||
y = {{Key|y}}<br/> | |||
z = {{Key|z}}<br/></td><!-- | |||
Column 2--><td style="vertical-align: top;"><!-- | |||
--><h3>Symbols</h3> | |||
ampersand = {{Key|ampersand}}<br/> | |||
apostrophe = {{Key|apostrophe}}<br/> | |||
asterisk = {{Key|asterisk}}<br/> | |||
at = {{Key|at}}<br/> | |||
backquote = {{Key|backquote}}<br/> | |||
backslash = {{Key|backslash}}<br/> | |||
braceclose = {{Key|braceclose}}<br/> | |||
braceopen = {{Key|braceopen}}<br/> | |||
bracketclose = {{Key|bracketclose}}<br/> | |||
bracketopen = {{Key|bracketopen}}<br/> | |||
caret = {{Key|caret}}<br/> | |||
colon = {{Key|colon}}<br/> | |||
comma = {{Key|comma}}<br/> | |||
dollar = {{Key|dollar}}<br/> | |||
equal = {{Key|equal}}<br/> | |||
exclamation = {{Key|exclamation}}<br/> | |||
greaterthan = {{Key|greaterthan}}<br/> | |||
lessthan = {{Key|lessthan}}<br/> | |||
minus = {{Key|minus}}<br/> | |||
parenthesisclose = {{Key|parenthesisclose}}<br/> | |||
parenthesisopen = {{Key|parenthesisopen}}<br/> | |||
percent = {{Key|percent}}<br/> | |||
period = {{Key|period}}<br/> | |||
pipe = {{Key|pipe}}<br/> | |||
plus = {{Key|plus}}<br/> | |||
pound = {{Key|pound}}<br/> | |||
question = {{Key|question}}<br/> | |||
quotation = {{Key|quotation}}<br/> | |||
semicolon = {{Key|semicolon}}<br/> | |||
slash = {{Key|slash}}<br/> | |||
tilde = {{Key|tilde}}<br/> | |||
underscore = {{Key|underscore}}<br/></td><!-- | |||
Column 3--><td style="vertical-align: top;"><!-- | |||
--><h3>Large</h3> | |||
alt = {{Key|alt}}<br/> | |||
backspace = {{Key|backspace}}<br/> | |||
capslock = {{Key|capslock}}<br/> | |||
control = {{Key|control}}<br/> | |||
shift = {{Key|shift}}<br/> | |||
space = {{Key|space}}<br/> | |||
tab = {{Key|tab}}<br/> | |||
<h3>Special</h3> | |||
delete = {{Key|delete}}<br/> | |||
down = {{Key|down}}<br/> | |||
end = {{Key|end}}<br/> | |||
escape = {{Key|escape}}<br/> | |||
home = {{Key|home}}<br/> | |||
insert = {{Key|insert}}<br/> | |||
left = {{Key|left}}<br/> | |||
pagedown = {{Key|pagedown}}<br/> | |||
pageup = {{Key|pageup}}<br/> | |||
pausebreak = {{Key|pausebreak}}<br/> | |||
printscreen = {{Key|printscreen}}<br/> | |||
right = {{Key|right}}<br/> | |||
scrolllock = {{Key|scrolllock}}<br/> | |||
up = {{Key|up}}<br/> | |||
<h3>Function Keys</h3> | |||
f1 = {{Key|f1}}<br/> | |||
f2 = {{Key|f2}}<br/> | |||
f3 = {{Key|f3}}<br/> | |||
f4 = {{Key|f4}}<br/> | |||
f5 = {{Key|f5}}<br/> | |||
f6 = {{Key|f6}}<br/> | |||
f7 = {{Key|f7}}<br/> | |||
f8 = {{Key|f8}}<br/> | |||
f9 = {{Key|f9}}<br/> | |||
f10 = {{Key|f10}}<br/> | |||
f11 = {{Key|f11}}<br/> | |||
f12 = {{Key|f12}}<br/></td><!-- | |||
Column 4--><td style="vertical-align: top;"><!-- | |||
--><h3>Number Pad</h3> | |||
num0 = {{Key|num0}}<br/> | |||
num1 = {{Key|num1}}<br/> | |||
num2 = {{Key|num2}}<br/> | |||
num3 = {{Key|num3}}<br/> | |||
num4 = {{Key|num4}}<br/> | |||
num5 = {{Key|num5}}<br/> | |||
num6 = {{Key|num6}}<br/> | |||
num7 = {{Key|num7}}<br/> | |||
num8 = {{Key|num8}}<br/> | |||
num9 = {{Key|num9}}<br/> | |||
numlock = {{Key|numlock}}<br/> | |||
numminus = {{Key|numminus}}<br/> | |||
numperiod = {{Key|numperiod}}<br/> | |||
numplus = {{Key|numplus}}<br/> | |||
numslash = {{Key|numslash}}<br/> | |||
<h3>Mouse</h3> | |||
lmb = {{Key|lmb}}<br/> | |||
rmb = {{Key|rmb}}<br/> | |||
wheel = {{Key|wheel}}<br/> | |||
wheelclick = {{Key|wheelclick}}<br/> | |||
wheelhold = {{Key|wheelhold}}<br/></td><!-- | |||
--></tr></table> | |||
[[Category:Templates/Formatting]] | [[Category:Templates/Formatting]] | ||
</noinclude> |
Revision as of 03:35, 29 December 2017
Usage
The Key template is meant to be used when referencing default key bindings. It inserts an image of the appropriate key.
{{Key|<keyname>}}
- The code above can be pasted into your page and edited.
It should be noted that all key bindings in Medieval Engineers are configurable and that care should be taken to mention the input name, such as "Use" (default ).