Template:Key: Difference between revisions
CptTwinkie (talk | contribs) (Created page with "{{stub}} Category:Templates/Formatting") |
CptTwinkie (talk | contribs) mNo edit summary |
||
(11 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
{{ | <includeonly>[[File:{{#switch: {{{1}}}<!-- | ||
large buttons--> | |||
| control = key-control.png{{#vardefine:size|35px}}{{#vardefine:desc|Control}} | |||
| alt = key-alt.png{{#vardefine:size|35px}}{{#vardefine:desc|Alt}} | |||
| shift = key-shift.png{{#vardefine:size|35px}}{{#vardefine:desc|Shift}} | |||
| leftshift = key-leftshift.png{{#vardefine:size|35px}}{{#vardefine:desc|Left Shift}} | |||
| rightshift = key-rightshift.png{{#vardefine:size|35px}}{{#vardefine:desc|Right Shift}} | |||
| backspace = key-backspace.png{{#vardefine:size|35px}}{{#vardefine:desc|Backspace}} | |||
| space = key-space.png{{#vardefine:size|35px}}{{#vardefine:desc|Space}} | |||
| tab = key-tab.png{{#vardefine:size|35px}}{{#vardefine:desc|Tab}} | |||
| capslock = key-capslock.png{{#vardefine:size|35px}}{{#vardefine:desc|Caps Lock}} | |||
| enter = key-enter.png{{#vardefine:size|35px}}{{#vardefine:desc|Enter}}<!-- | |||
small buttons--> | |||
| 0 = key-0.png{{#vardefine:size|20px}}{{#vardefine:desc|Zero}} | |||
| 1 = key-1.png{{#vardefine:size|20px}}{{#vardefine:desc|One}} | |||
| 2 = key-2.png{{#vardefine:size|20px}}{{#vardefine:desc|Two}} | |||
| 3 = key-3.png{{#vardefine:size|20px}}{{#vardefine:desc|Three}} | |||
| 4 = key-4.png{{#vardefine:size|20px}}{{#vardefine:desc|Four}} | |||
| 5 = key-5.png{{#vardefine:size|20px}}{{#vardefine:desc|Five}} | |||
| 6 = key-6.png{{#vardefine:size|20px}}{{#vardefine:desc|Six}} | |||
| 7 = key-7.png{{#vardefine:size|20px}}{{#vardefine:desc|Seven}} | |||
| 8 = key-8.png{{#vardefine:size|20px}}{{#vardefine:desc|Eight}} | |||
| 9 = key-9.png{{#vardefine:size|20px}}{{#vardefine:desc|Nine}} | |||
| apostrophe = key-apostrophe.png{{#vardefine:size|20px}}{{#vardefine:desc|Apostrophe}} | |||
| backquote = key-backquote.png{{#vardefine:size|20px}}{{#vardefine:desc|Back Quote}} | |||
| backslash = key-backslash.png{{#vardefine:size|20px}}{{#vardefine:desc|Back Slash}} | |||
| bracketclose = key-bracketclose.png{{#vardefine:size|20px}}{{#vardefine:desc|Close Bracket}} | |||
| bracketopen = key-bracketopen.png{{#vardefine:size|20px}}{{#vardefine:desc|Open Bracket}} | |||
| comma = key-comma.png{{#vardefine:size|20px}}{{#vardefine:desc|Comma}} | |||
| delete = key-delete.png{{#vardefine:size|20px}}{{#vardefine:desc|Delete}} | |||
| down = key-down.png{{#vardefine:size|20px}}{{#vardefine:desc|Down}} | |||
| end = key-end.png{{#vardefine:size|20px}}{{#vardefine:desc|End}} | |||
| equal = key-equal.png{{#vardefine:size|20px}}{{#vardefine:desc|Equal}} | |||
| escape = key-escape.png{{#vardefine:size|20px}}{{#vardefine:desc|Escape}} | |||
| f1 = key-F1.png{{#vardefine:size|20px}}{{#vardefine:desc|Function 1}} | |||
| f2 = key-F2.png{{#vardefine:size|20px}}{{#vardefine:desc|Function 2}} | |||
| f3 = key-F3.png{{#vardefine:size|20px}}{{#vardefine:desc|Function 3}} | |||
| f4 = key-F4.png{{#vardefine:size|20px}}{{#vardefine:desc|Function 4}} | |||
| f5 = key-F5.png{{#vardefine:size|20px}}{{#vardefine:desc|Function 5}} | |||
| f6 = key-F6.png{{#vardefine:size|20px}}{{#vardefine:desc|Function 6}} | |||
| f7 = key-F7.png{{#vardefine:size|20px}}{{#vardefine:desc|Function 7}} | |||
| f8 = key-F8.png{{#vardefine:size|20px}}{{#vardefine:desc|Function 8}} | |||
| f9 = key-F9.png{{#vardefine:size|20px}}{{#vardefine:desc|Function 9}} | |||
| f10 = key-F10.png{{#vardefine:size|20px}}{{#vardefine:desc|Function 10}} | |||
| f11 = key-F11.png{{#vardefine:size|20px}}{{#vardefine:desc|Function 11}} | |||
| f12 = key-F12.png{{#vardefine:size|20px}}{{#vardefine:desc|Function 12}} | |||
| home = key-home.png{{#vardefine:size|20px}}{{#vardefine:desc|Home}} | |||
| insert = key-insert.png{{#vardefine:size|20px}}{{#vardefine:desc|Insert}} | |||
| left = key-left.png{{#vardefine:size|20px}}{{#vardefine:desc|Left Arrow}} | |||
| minus = key-minus.png{{#vardefine:size|20px}}{{#vardefine:desc|Minus}} | |||
| num0 = key-num0.png{{#vardefine:size|20px}}{{#vardefine:desc|Number Pad Zero}} | |||
| num1 = key-num1.png{{#vardefine:size|20px}}{{#vardefine:desc|Number Pad One}} | |||
| num2 = key-num2.png{{#vardefine:size|20px}}{{#vardefine:desc|Number Pad Two}} | |||
| num3 = key-num3.png{{#vardefine:size|20px}}{{#vardefine:desc|Number Pad Three}} | |||
| num4 = key-num4.png{{#vardefine:size|20px}}{{#vardefine:desc|Number Pad Four}} | |||
| num5 = key-num5.png{{#vardefine:size|20px}}{{#vardefine:desc|Number Pad Five}} | |||
| num6 = key-num6.png{{#vardefine:size|20px}}{{#vardefine:desc|Number Pad Six}} | |||
| num7 = key-num7.png{{#vardefine:size|20px}}{{#vardefine:desc|Number Pad Seven}} | |||
| num8 = key-num8.png{{#vardefine:size|20px}}{{#vardefine:desc|Number Pad Eight}} | |||
| num9 = key-num9.png{{#vardefine:size|20px}}{{#vardefine:desc|Number Pad Nine}} | |||
| numminus = key-numminus.png{{#vardefine:size|20px}}{{#vardefine:desc|Number Pad Minus}} | |||
| numperiod = key-numperiod.png{{#vardefine:size|20px}}{{#vardefine:desc|Number Pad Period}} | |||
| numplus = key-numplus.png{{#vardefine:size|20px}}{{#vardefine:desc|Number Pad Plus}} | |||
| numslash = key-numslash.png{{#vardefine:size|20px}}{{#vardefine:desc|Number Pad Slash}} | |||
| numasterisk = key-numasterisk.png{{#vardefine:size|20px}}{{#vardefine:desc|Number Pad Asterisk}} | |||
| pagedown = key-pagedown.png{{#vardefine:size|20px}}{{#vardefine:desc|Page Down}} | |||
| pageup = key-pageup.png{{#vardefine:size|20px}}{{#vardefine:desc|Page Up}} | |||
| pausebreak = key-pausebreak.png{{#vardefine:size|20px}}{{#vardefine:desc|Pause / Break}} | |||
| period = key-period.png{{#vardefine:size|20px}}{{#vardefine:desc|Period}} | |||
| printscreen = key-printscreen.png{{#vardefine:size|20px}}{{#vardefine:desc|Print Screen}} | |||
| right = key-right.png{{#vardefine:size|20px}}{{#vardefine:desc|Right Arrow}} | |||
| scrolllock = key-scrolllock.png{{#vardefine:size|20px}}{{#vardefine:desc|Scroll Lock}} | |||
| semicolon = key-semicolon.png{{#vardefine:size|20px}}{{#vardefine:desc|Semicolon}} | |||
| slash = key-slash.png{{#vardefine:size|20px}}{{#vardefine:desc|Slash}} | |||
| up = key-up.png{{#vardefine:size|20px}}{{#vardefine:desc|Up Arrow}} | |||
| a = key-a.png{{#vardefine:size|20px}}{{#vardefine:desc|Letter A}} | |||
| b = key-b.png{{#vardefine:size|20px}}{{#vardefine:desc|Letter B}} | |||
| c = key-c.png{{#vardefine:size|20px}}{{#vardefine:desc|Letter C}} | |||
| d = key-d.png{{#vardefine:size|20px}}{{#vardefine:desc|Letter D}} | |||
| e = key-e.png{{#vardefine:size|20px}}{{#vardefine:desc|Letter E}} | |||
| f = key-f.png{{#vardefine:size|20px}}{{#vardefine:desc|Letter F}} | |||
| g = key-g.png{{#vardefine:size|20px}}{{#vardefine:desc|Letter G}} | |||
| h = key-h.png{{#vardefine:size|20px}}{{#vardefine:desc|Letter H}} | |||
| i = key-i.png{{#vardefine:size|20px}}{{#vardefine:desc|Letter I}} | |||
| j = key-j.png{{#vardefine:size|20px}}{{#vardefine:desc|Letter J}} | |||
| k = key-k.png{{#vardefine:size|20px}}{{#vardefine:desc|Letter K}} | |||
| l = key-l.png{{#vardefine:size|20px}}{{#vardefine:desc|Letter L}} | |||
| m = key-m.png{{#vardefine:size|20px}}{{#vardefine:desc|Letter M}} | |||
| n = key-n.png{{#vardefine:size|20px}}{{#vardefine:desc|Letter N}} | |||
| o = key-o.png{{#vardefine:size|20px}}{{#vardefine:desc|Letter O}} | |||
| p = key-p.png{{#vardefine:size|20px}}{{#vardefine:desc|Letter P}} | |||
| q = key-q.png{{#vardefine:size|20px}}{{#vardefine:desc|Letter Q}} | |||
| r = key-r.png{{#vardefine:size|20px}}{{#vardefine:desc|Letter R}} | |||
| s = key-s.png{{#vardefine:size|20px}}{{#vardefine:desc|Letter S}} | |||
| t = key-t.png{{#vardefine:size|20px}}{{#vardefine:desc|Letter T}} | |||
| u = key-u.png{{#vardefine:size|20px}}{{#vardefine:desc|Letter U}} | |||
| v = key-v.png{{#vardefine:size|20px}}{{#vardefine:desc|Letter V}} | |||
| w = key-w.png{{#vardefine:size|20px}}{{#vardefine:desc|Letter W}} | |||
| x = key-x.png{{#vardefine:size|20px}}{{#vardefine:desc|Letter X}} | |||
| y = key-y.png{{#vardefine:size|20px}}{{#vardefine:desc|Letter Y}} | |||
| z = key-z.png{{#vardefine:size|20px}}{{#vardefine:desc|Letter Z}}<!-- | |||
small buttons shift--> | |||
| ampersand = key-ampersand.png{{#vardefine:size|20px}}{{#vardefine:desc|Ampersand}} | |||
| asterisk = key-asterisk.png{{#vardefine:size|20px}}{{#vardefine:desc|Asterisk}} | |||
| at = key-at.png{{#vardefine:size|20px}}{{#vardefine:desc|At Sign}} | |||
| braceclose = key-braceclose.png{{#vardefine:size|20px}}{{#vardefine:desc|Close Brace}} | |||
| braceopen = key-braceopen.png{{#vardefine:size|20px}}{{#vardefine:desc|Open Brace}} | |||
| caret = key-caret.png{{#vardefine:size|20px}}{{#vardefine:desc|Caret}} | |||
| colon = key-colon.png{{#vardefine:size|20px}}{{#vardefine:desc|Colon}} | |||
| dollar = key-dollar.png{{#vardefine:size|20px}}{{#vardefine:desc|Dollar}} | |||
| exclamation = key-exclamation.png{{#vardefine:size|20px}}{{#vardefine:desc|Exclamation}} | |||
| greaterthan = key-greaterthan.png{{#vardefine:size|20px}}{{#vardefine:desc|Greater Than Sign}} | |||
| lessthan = key-lessthan.png{{#vardefine:size|20px}}{{#vardefine:desc|Less Than Sign}} | |||
| numlock = key-numlock.png{{#vardefine:size|20px}}{{#vardefine:desc|Number Lock}} | |||
| parenthesisclose = key-parenthesisclose.png{{#vardefine:size|20px}}{{#vardefine:desc|Close Parenthesis}} | |||
| parenthesisopen = key-parenthesisopen.png{{#vardefine:size|20px}}{{#vardefine:desc|Open Perenthesis}} | |||
| percent = key-percent.png{{#vardefine:size|20px}}{{#vardefine:desc|Percent Sign}} | |||
| pipe = key-pipe.png{{#vardefine:size|20px}}{{#vardefine:desc|Vertical Bar or Pipe Sign}} | |||
| plus = key-plus.png{{#vardefine:size|20px}}{{#vardefine:desc|Plus}} | |||
| pound = key-pound.png{{#vardefine:size|20px}}{{#vardefine:desc|Number Sign, Pound Sign, or Hashtag}} | |||
| question = key-question.png{{#vardefine:size|20px}}{{#vardefine:desc|Question Mark}} | |||
| quotation = key-quotation.png{{#vardefine:size|20px}}{{#vardefine:desc|Quotation Mark}} | |||
| tilde = key-tilde.png{{#vardefine:size|20px}}{{#vardefine:desc|Tilde}} | |||
| underscore = key-underscore.png{{#vardefine:size|20px}}{{#vardefine:desc|Underscore}}<!-- | |||
mousewheel--> | |||
| wheel = key-wheel.png{{#vardefine:size|20px}}{{#vardefine:desc|Mouse Wheel}} | |||
| wheelup = key-wheelup.png{{#vardefine:size|20px}}{{#vardefine:desc|Mouse Wheel Up}} | |||
| wheeldown = key-wheeldown.png{{#vardefine:size|20px}}{{#vardefine:desc|Mouse Wheel Down}} | |||
| wheelclick = key-wheelclick.png{{#vardefine:size|20px}}{{#vardefine:desc|Mouse Wheel Click}} | |||
| wheelhold = key-wheelhold.png{{#vardefine:size|20px}}{{#vardefine:desc|Hold Mouse Wheel}}<!-- | |||
mouse buttons--> | |||
| lmb = key-lmb.png{{#vardefine:size|20px}}{{#vardefine:desc|Left Mouse Button}} | |||
| rmb = key-rmb.png{{#vardefine:size|20px}}{{#vardefine:desc|Right Mouse Button}}<!-- | |||
Fail Case--> | |||
| No.png{{#vardefine:size|20px}}{{#vardefine:desc|No Key Found}}<!-- | |||
--> | |||
}}|{{#var:size}}|frameless|link=|{{#var:desc}}]]</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/> | |||
leftshift = {{Key|leftshift}}<br/> | |||
rightshift = {{Key|rightshift}}<br/> | |||
space = {{Key|space}}<br/> | |||
tab = {{Key|tab}}<br/> | |||
enter = {{Key|enter}}<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/></td><!-- | |||
Column 4--><td style="vertical-align: top;"><!-- | |||
--><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 5--><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/> | |||
numasterisk = {{Key|numasterisk}}<br/> | |||
<h3>Mouse</h3> | |||
lmb = {{Key|lmb}}<br/> | |||
rmb = {{Key|rmb}}<br/> | |||
wheel = {{Key|wheel}}<br/> | |||
wheelup = {{Key|wheelup}}<br/> | |||
wheeldown = {{Key|wheeldown}}<br/> | |||
wheelclick = {{Key|wheelclick}}<br/> | |||
wheelhold = {{Key|wheelhold}}<br/></td><!-- | |||
--></tr></table> | |||
[[Category:Templates/Formatting]] | [[Category:Templates/Formatting]] | ||
</noinclude> |
Latest revision as of 09:35, 30 May 2018
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.
Keys Available
Alphanumeric0 = | Symbolsampersand = | Largealt = Specialdelete = | Function Keysf1 = | Number Padnum0 = Mouselmb = |