Difference between revisions of "Template:Menuitem"
From GeoGebra Manual
Noel Lambert (talk | contribs) |
|||
Line 1: | Line 1: | ||
− | =={{#if: {{{icon|}}}|[[Image:{{{icon}}}]]}} {{{name}}}== | + | =={{#if: {{{icon|}}}|[[Image:{{{icon}}}|24px]]}} {{{name}}}== |
:{{#if: {{{shortcut|}}}|Keyboard shortcut: {{KeyCode|{{{shortcut}}}}} {{#if: {{{mac|}}}|(MacOS: {{KeyCode|{{{mac}}}}})}}}} | :{{#if: {{{shortcut|}}}|Keyboard shortcut: {{KeyCode|{{{shortcut}}}}} {{#if: {{{mac|}}}|(MacOS: {{KeyCode|{{{mac}}}}})}}}} | ||
<noinclude>{{Documentation}}__NOTOC__</noinclude> | <noinclude>{{Documentation}}__NOTOC__</noinclude> |
Revision as of 14:51, 11 October 2014
{{{name}}}
[edit] [ ] Template documentation
Usage
{{menuitem|name=New|shortcut=Ctrl+N|mac=Cmd+N|icon=Menu New.png}}
Produces
New
- Keyboard shortcut: Ctrl + N (MacOS: Cmd + N)
Parameters
- name
- name to be displayed
- icon
- image (usually from geogebra/geogebra/gui/images)
- shortcut
- generic keyboard shortcut, separated by plus sign (see Template:KeyCode)
- mac
- MacOs specific shortcut, separated by plus sign (see Template:KeyCode)
The above documentation is transcluded from Template:Menuitem/doc. (edit | history) Editors can experiment in Sandbox.Please add categories and interwikis to the /doc subpage. Subpages of this template. |