Difference between revisions of "Keyboard Shortcuts/row"
Jump to navigation
Jump to search
sc4e>JoeST m (added) |
sc4e>JoeST m (fixed multiple thing) |
||
| Line 1: | Line 1: | ||
| − | {{!-}} | + | <noinclude>Used on the parent page for rows |
| − | {{!}}{{option|{{{3|}}}|{{{ | + | ==Syntax== |
| + | <pre>{{row|[key]|[func]}}</pre> | ||
| + | *'''[key]''': The key to press. | ||
| + | *'''[func]''': The function of this key | ||
| + | *To add multiple key sequences, add them after the function. | ||
| + | |||
| + | ==Example== | ||
| + | {{:Keyboard Shortcuts/head}}</noinclude>{{!-}} | ||
| + | {{!}}[ '''{{{1}}} ''']{{option|{{{3|}}}|+[ '''{{{3}}}''' ]{{option|{{{4|}}}|+[ '''{{{4}}}''' ]{{option|{{{5|}}}|+[ '''{{{5}}}''' ]}}}}}} | ||
{{!}}{{{2}}} | {{!}}{{{2}}} | ||
{{!-}} | {{!-}} | ||
| + | <noinclude>|} | ||
| + | |||
| + | and multiple keys: | ||
| + | {{:Keyboard Shortcuts/head}}</noinclude>{{!-}} | ||
| + | {{:Keyboard Shortcuts/row|{{{1}}}|{{{2}}}|{{{3}}}}} | ||
| + | |}</noinclude> | ||
Revision as of 03:08, 24 January 2009
Used on the parent page for rows
Syntax
{{row|[key]|[func]}}
- [key]: The key to press.
- [func]: The function of this key
- To add multiple key sequences, add them after the function.
Example
| Key(s) | Function |
|---|---|
| [ {{{1}}} ] | {{{2}}} |
and multiple keys:
Template loop detected: Keyboard Shortcuts/row| Key(s) | Function |
|---|---|
| [ {{{1}}} ]+[ {{{3}}} ] | {{{2}}} |
</noinclude>
|}