Diferencia entre revisiones de «Plantilla:Menuitem»

De GeoGebra Manual
Saltar a: navegación, buscar
 
 
(No se muestran 16 ediciones intermedias de 3 usuarios)
Línea 1: Línea 1:
=={{#if: {{{icon|}}}|[[Image:{{{icon}}}]]}} {{{name}}}==
+
=={{#if: {{{icon|}}}|[[Image:{{{icon}}}|32px]]}} {{{name}}}==
:{{#if: {{{shortcut|}}}|Keyboard shortcut: {{KeyCode|{{{shortcut}}}}} {{#if: {{{mac|}}}|(MacOS: {{KeyCode|{{{mac}}}}})}}}}
+
:{{#if: {{{shortcut|}}}|Atajo de teclado: {{KeyCode|{{{shortcut}}}}} {{#if: {{{mac|}}}|(MacOS: {{KeyCode|{{{mac}}}}})}}}}
 
<noinclude>{{Documentation}}__NOTOC__</noinclude>
 
<noinclude>{{Documentation}}__NOTOC__</noinclude>

Revisión actual del 21:58 8 ene 2020

{{{name}}}

[edit] [purge] Template documentation

Usage

{{menuitem|name=New|shortcut=Ctrl+N|mac=Cmd+N|icon=Menu New.png}}

Produces

Menu New.png New

Atajo de teclado: 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)
© 2021 International GeoGebra Institute