“Template:Menuitem”的版本间的差异
来自GeoGebra Manual
第1行: | 第1行: | ||
− | =={{#if: {{{icon|}}}|[[Image:{{{icon}}}]]}} {{{name}}}== | + | =={{#if: {{{icon|}}}|[[Image:{{{icon}}}|24px]]}} {{{name}}}== |
:{{#if: {{{shortcut|}}}|鍵盤快捷鍵:{{KeyCode|{{{shortcut}}}}}{{#if: {{{mac|}}}|(Mac 用戶:{{KeyCode|{{{mac}}}}})}}}} | :{{#if: {{{shortcut|}}}|鍵盤快捷鍵:{{KeyCode|{{{shortcut}}}}}{{#if: {{{mac|}}}|(Mac 用戶:{{KeyCode|{{{mac}}}}})}}}} | ||
<noinclude>{{Documentation}}__NOTOC__</noinclude> | <noinclude>{{Documentation}}__NOTOC__</noinclude> |
2015年3月3日 (二) 11:46的最新版本
{{{name}}}
[edit] [ ] Template documentation
用法
{{menuitem|name=新增|shortcut=Ctrl+N|mac=⌘ Cmd+N|icon=Menu New.png}}
產生
新增
- 鍵盤快捷鍵:Ctrl + N(Mac 用戶:⌘ Cmd + N)
參數
- 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. |