Difference between revisions of "Template:KeyCode"
From GeoGebra Manual
m (made keycodes smaller again) |
(experiment with replace) |
||
Line 1: | Line 1: | ||
− | <includeonly><span style="border-width: 2px; border-style: solid; border-color: #CCC #999 #999 #CCC; -moz-border-radius: 4px; padding: 0 3px; background-color: #F8F8F8;">{{{1}}}</span></includeonly><noinclude> | + | <includeonly><span style="border-width: 2px; border-style: solid; border-color: #CCC #999 #999 #CCC; -moz-border-radius: 4px; padding: 0 3px; background-color: #F8F8F8;">{{#replace:{{{1}}}|+|</span> + <span style="border-width: 2px; border-style: solid; border-color: #CCC #999 #999 #CCC; -moz-border-radius: 4px; padding: 0 3px; background-color: #F8F8F8;">}}</span></includeonly><noinclude> |
This template is intended to help users insert keyboard shortcuts into their text. | This template is intended to help users insert keyboard shortcuts into their text. | ||
== Usage == | == Usage == | ||
− | To insert a keyboard shortcut like {{KeyCode|Ctrl | + | To insert a keyboard shortcut like {{KeyCode|Ctrl+A}} into a normal line you can use |
<pre><nowiki>{{KeyCode|Ctrl}} + {{KeyCode|A}}</nowiki></pre>. | <pre><nowiki>{{KeyCode|Ctrl}} + {{KeyCode|A}}</nowiki></pre>. | ||
</noinclude> | </noinclude> |
Revision as of 01:11, 23 June 2010
This template is intended to help users insert keyboard shortcuts into their text.
Usage
To insert a keyboard shortcut like Ctrl + A into a normal line you can use
{{KeyCode|Ctrl}} + {{KeyCode|A}}
.