Changes

Jump to: navigation, search

User:Lakrits/sandbox

1,722 bytes added, 12:31, 4 December 2014
.
====2–10 (unnamed)====
;<big>Additional key names</big>
To create a keystroke combination, use parameters 2 through 10. The displayed keys will be separated by plus signs. For example, if you enter {{tlc|keystroke|key1&nbsp;|key2&nbsp;}}, the result will be {{keystrokeUser:Lakrits/templatesandbox|key1|key2}}.
The template can take up to 10 key name parameters to display keystroke combinations. If you enter 11 or more key names, it will display an error message.
;Example
{| border="0"
| {{tlc|keystroke|<nowiki>[[;]]</nowiki>}} || &rarr; || {{keystrokeUser:Lakrits/templatesandbox|[[;]]}}
|}
;Examples
{| border="0"
| {{tlc|keystroke|space}} || &rarr; || {{keystrokeUser:Lakrits/templatesandbox|space}}
|-
| {{tlc|keystroke|space-uc}} || &rarr; || {{keystrokeUser:Lakrits/templatesandbox|space-uc}}
|-
| {{tlc|keystroke|win}} || &rarr; || {{keystrokeUser:Lakrits/templatesandbox|win}}
|}
;Example
{| border="0"
| {{tlc|keystroke|<nowiki>[[space]]</nowiki>}} || &rarr; || {{keystrokeUser:Lakrits/templatesandbox|[[space]]}}
|}
;Examples
{| border="0"
| {{tlc|keystroke|<nowiki>[[space-uc]]</nowiki>}} || &rarr; || {{keystrokeUser:Lakrits/templatesandbox|[[space-uc]]}}
|-
| {{tlc|keystroke|<nowiki>[[win]]</nowiki>}} || &rarr; || {{keystrokeUser:Lakrits/templatesandbox|[[win]]}}
|}
;Examples
{| border="0"
| {{keystrokeUser:Lakrits/templatesandbox|^|E}} || &rarr; || ê
|-
| {{keystrokeUser:Lakrits/templatesandbox|^|shift|E}} || &rarr; || Ê
|}
;Example
{| border="0"
| {{keystrokeUser:Lakrits/templatesandbox|^|space-uc}} || &rarr; || ^
|}
| <code>&amp;#169;</code> || &rarr; || &#169;
|-
| {{keystrokeUser:Lakrits/templatesandbox|alt|0}}{{keystrokeUser:Lakrits/templatesandbox|1}}{{keystrokeUser:Lakrits/templatesandbox|6}}{{keystrokeUser:Lakrits/templatesandbox|9}} (unicode value) || &rarr; || &#169; ||
|-
| {{keystrokeUser:Lakrits/templatesandbox|alt|Num+}}{{keystrokeUser:Lakrits/templatesandbox|0}}{{keystrokeUser:Lakrits/templatesandbox|0}}{{keystrokeUser:Lakrits/templatesandbox|A}}{{keystrokeUser:Lakrits/templatesandbox|9}} (hexadecimal unicode value) || &rarr; || &#169; ||
|}
! Case !! What you type !! What you see !! Notes
|-
| Letter ''a'' || {{tlc|keystroke|A}} || {{keystrokeUser:Lakrits/templatesandbox|A}} || Use the same case as your keyboard …
|-
| Letter ''A'' || {{tlc|keystroke|shift|A}} || {{keystrokeUser:Lakrits/templatesandbox|shift|A}} || … that's why uppercase letters (when the letter case is important) <br>should be combined with the appropriate modifier key
|-
| rowspan="3" | Letter ''ä'' || {{tlc|keystroke|Ä}} || {{keystrokeUser:Lakrits/templatesandbox|Ä}} || Direct input (e.g. on a Swedish keyboard)
|-
| {{keystrokeUser:Lakrits/templatesandbox|¨|shift|A}}, then wrap the template <br>around the ''Ä'' &rarr; {{tlc|keystroke|Ä}} || {{keystrokeUser:Lakrits/templatesandbox|Ä}} || Using the umlaut letter modifier
|-
| {{tlc|keystroke|&amp;Auml;}} || {{keystrokeUser:Lakrits/templatesandbox|&Auml;}} || Using the HTML entity
|-
| Symbol &uarr; || {{tlc|keystroke|up}} || {{keystrokeUser:Lakrits/templatesandbox|up}} ||
|-
| Symbol ₩ + korean text || {{tlc|keystroke|wonko}} || {{keystrokeUser:Lakrits/templatesandbox|wonko}} ||
|-
| Key name, long || {{tlc|keystroke|option}} || {{keystrokeUser:Lakrits/templatesandbox|option}} ||
|-
| Key name, short || {{tlc|keystroke|opt}} || {{keystrokeUser:Lakrits/templatesandbox|opt}} ||
|}
! Case !! What you type !! What you see !! Notes
|-
| Two keys || {{tlc|keystroke|alt|P}} || {{keystrokeUser:Lakrits/templatesandbox|alt|P}} ||
|-
| Three keys || {{tlc|keystroke|ctrl|alt|del}} || {{keystrokeUser:Lakrits/templatesandbox|ctrl|alt|del}} ||
|}
! Case !! What you type !! What you see !! Notes
|-
| One by one || {{tlc|keystroke|ctrl}} + {{tlc|keystroke|alt}} + {{tlc|keystroke|del}} || {{keystrokeUser:Lakrits/templatesandbox|ctrl}} + {{keystrokeUser:Lakrits/templatesandbox|alt}} + {{keystrokeUser:Lakrits/templatesandbox|del}} ||
|-
| Change ''chain'' || {{tlc|keystroke|ctrl|alt|del|5=chain=&amp;#32;+&amp;#32;}} || {{keystrokeUser:Lakrits/templatesandbox|ctrl|alt|del|chain=&#32;+&#32;}} || For advanced users
|}
! Case !! What you type !! What you see !! Notes
|-
| First part || {{tlc|keystroke|alt|0}} || {{keystrokeUser:Lakrits/templatesandbox|alt|0}} || Provides the plus sign
|-
| rowspan="3" | Parts 2-4 || {{tlc|keystroke|1}} || {{keystrokeUser:Lakrits/templatesandbox|1}} ||
|-
| {{tlc|keystroke|7}} || {{keystrokeUser:Lakrits/templatesandbox|7}} ||
|-
| {{tlc|keystroke|7}} || {{keystrokeUser:Lakrits/templatesandbox|7}} ||
|-
| Resulting Alt code || {{tlc|keystroke|alt|0}}{{tlc|keystroke|1}}{{tlc|keystroke|7}}{{tlc|keystroke|7}} || {{keystrokeUser:Lakrits/templatesandbox|alt|0}}{{keystrokeUser:Lakrits/templatesandbox|1}}{{keystrokeUser:Lakrits/templatesandbox|7}}{{keystrokeUser:Lakrits/templatesandbox|7}} ||
|}
! Case !! What you type !! What you see !! Notes
|-
| Hankaku/zenkaku || {{tlc|keystroke|haze}} || {{keystrokeUser:Lakrits/templatesandbox|haze}} ||
|-
| Hankaku/zenkaku/kanji || {{tlc|keystroke|hazeka}} || {{keystrokeUser:Lakrits/templatesandbox|hazeka}} ||
|-
| Katakana/hiragana || {{tlc|keystroke|kahi}} || {{keystrokeUser:Lakrits/templatesandbox|kahi}} ||
|-
| Katakana/hiragana/rōmaji || {{tlc|keystroke|kahiro}} || {{keystrokeUser:Lakrits/templatesandbox|kahiro}} ||
|}
! Case !! What you type !! What you see !! Notes
|-
| Long name || <code><nowiki>{{keystroke|[[control]]}}</nowiki></code> || {{keystrokeUser:Lakrits/templatesandbox|[[control]]}} || rowspan="2" | The choice of name length doesn't affect <br>the link, it points to the same target
|-
| Short name || <code><nowiki>{{keystroke|[[ctrl]]}}</nowiki></code> || {{keystrokeUser:Lakrits/templatesandbox|[[ctrl]]}}
|-
| Just text || <code><nowiki>{{keystroke|[[scroll]]}}</nowiki></code> || {{keystrokeUser:Lakrits/templatesandbox|[[scroll]]}} || rowspan="2" | For keys with an option to show the symbol <br>or not, see ''[[#Available values|Available values]]'' above
|-
| With symbol || <code><nowiki>{{keystroke|[[scroll-uc]]}}</nowiki></code> || {{keystrokeUser:Lakrits/templatesandbox|[[scroll-uc]]}}
|}
! Case !! What you type !! What you see !! Notes
|-
| Any non-linked key || <code><nowiki>{{keystroke|[[A]]}}</nowiki></code> || {{keystrokeUser:Lakrits/templatesandbox|[[A]]}} || Keys that aren't fitted with links in <br>{{tlf|keystroke/core}} will link to a page with <br>that name inside MozillaWiki, if it exists
|-
| External links || <code><nowiki>{{keystroke|[http://en.wikipedia.org/wiki/A A]}}</nowiki></code> || {{keystrokeUser:Lakrits/templatesandbox|[http://en.wikipedia.org/wiki/A A]}} || Extenal links will be fitted with the symbol <br>used by MediaWiki for such links
|}
! Case !! What you type !! What you see
|-
| 10 key names rowspan="2" | No parameter || <code><nowiki>{{keystroke|1|2|3|4|5|6|7|8|9|10User:Lakrits/templatesandbox}}</nowiki></code> || {{keystroke|1|2|3|4|5|6|7|8|9|10User:Lakrits/templatesandbox}}
|-
| <code><nowiki>{{User:Lakrits/templatesandbox|}}</nowiki></code> || {{User:Lakrits/templatesandbox|}}|-| 10 key names || <code><nowiki>{{User:Lakrits/templatesandbox|1|2|3|4|5|6|7|8|9|10}}</nowiki></code> || {{User:Lakrits/templatesandbox|1|2|3|4|5|6|7|8|9|10}}|-| &ge; 11 key names || <code><nowiki>{{keystrokeUser:Lakrits/templatesandbox|1|2|3|4|5|6|7|8|9|10|11}}</nowiki></code> || {{keystrokeUser:Lakrits/templatesandbox|1|2|3|4|5|6|7|8|9|10|11}}
|}
<!--
The following should only be used when the input sequence uses something other than the primary input or mixes input between directional devices.
* {{tlc|keystrokeUser:Lakrits/templatesandbox|l-down}}&#09;&rarr;&#09;{{keystrokeUser:Lakrits/templatesandbox|l-down}}* {{tlc|keystrokeUser:Lakrits/templatesandbox|c-left}}&#09;&rarr;&#09;{{keystrokeUser:Lakrits/templatesandbox|c-left}}* {{tlc|keystrokeUser:Lakrits/templatesandbox|r-up}}&#09;&rarr;&#09;{{keystrokeUser:Lakrits/templatesandbox|r-up}}
Stick specific diagonals are also supported:
* {{tlc|keystrokeUser:Lakrits/templatesandbox|l-nw}}&#09;&rarr;&#09;{{keystrokeUser:Lakrits/templatesandbox|l-nw}}* {{tlc|keystrokeUser:Lakrits/templatesandbox|c-se}}&#09;&rarr;&#09;{{keystrokeUser:Lakrits/templatesandbox|c-se}}* {{tlc|keystrokeUser:Lakrits/templatesandbox|r-ne}}&#09;&rarr;&#09;{{keystrokeUser:Lakrits/templatesandbox|r-ne}}
===PlayStation===
* {{tlc|keystrokeUser:Lakrits/templatesandbox|ex}}&#09;&rarr;&#09;{{keystrokeUser:Lakrits/templatesandbox|ex}}* {{tlc|keystrokeUser:Lakrits/templatesandbox|circle}}&#09;&rarr;&#09;{{keystrokeUser:Lakrits/templatesandbox|circle}}* {{tlc|keystrokeUser:Lakrits/templatesandbox|triangle}}&#09;&rarr;&#09;{{keystrokeUser:Lakrits/templatesandbox|triangle}}* {{tlc|keystrokeUser:Lakrits/templatesandbox|square}}&#09;&rarr;&#09;{{keystrokeUser:Lakrits/templatesandbox|square}}
-->
3,860
edits

Navigation menu