Template:Keystrikes: Difference between revisions
Appearance
Pipesmoker (talk | contribs) No edit summary |
No edit summary |
||
(3 intermediate revisions by one other user not shown) | |||
Line 1: | Line 1: | ||
'''{{{1}}}'''{{#if: {{{2|}}} |+'''{{{2}}}'''|}}{{#if: {{{3|}}} |+'''{{{3}}}'''|}}{{#if: {{{4|}}} |+'''{{{4}}}'''|}} | <noinclude> | ||
==Usage== | |||
This template accepts up to 4 parameters. | |||
==Examples== | |||
<nowiki>{{Keystrikes|Enter}}</nowiki> will give you '''Enter'''. | |||
<nowiki>{{Keystrikes|Alt|Ctrl|Del}}</nowiki> will give you <span title='Note that "+" is used to link keys to be pressed concurrently.'>'''Alt'''+'''Ctrl'''+'''Del'''</span>. | |||
==Source Code== | |||
<pre>{{#if: {{{2|}}} |<span title='Note that "+" is used to link keys to be pressed concurrently.'>}}'''{{{1}}}'''{{#if: {{{2|}}} |+'''{{{2}}}'''|}}{{#if: {{{3|}}} |+'''{{{3}}}'''|}}{{#if: {{{4|}}} |+'''{{{4}}}'''|}}{{#if: {{{2|}}} |</span>}}</pre> | |||
[[Category:UnusedTemplates]] | |||
---- | |||
</noinclude> | |||
{{#if: {{{2|}}} |<span title='Note that "+" is used to link keys to be pressed concurrently.'>}}'''{{{1}}}'''{{#if: {{{2|}}} |+'''{{{2}}}'''|}}{{#if: {{{3|}}} |+'''{{{3}}}'''|}}{{#if: {{{4|}}} |+'''{{{4}}}'''|}}{{#if: {{{2|}}} |</span>}} |
Latest revision as of 09:31, 27 July 2012
Usage
This template accepts up to 4 parameters.
Examples
{{Keystrikes|Enter}} will give you Enter.
{{Keystrikes|Alt|Ctrl|Del}} will give you Alt+Ctrl+Del.
Source Code
{{#if: {{{2|}}} |<span title='Note that "+" is used to link keys to be pressed concurrently.'>}}'''{{{1}}}'''{{#if: {{{2|}}} |+'''{{{2}}}'''|}}{{#if: {{{3|}}} |+'''{{{3}}}'''|}}{{#if: {{{4|}}} |+'''{{{4}}}'''|}}{{#if: {{{2|}}} |</span>}}
{{{1}}}