「テンプレート:Menu」の版間の差分

提供: wiki
移動先: 案内検索
(adding type=popup to make possible to use shortcut shift-A and then menus for examples)
 
(1版 をインポートしました)
 
(相違点なし)

2018年6月29日 (金) 03:43時点における最新版

This template can be used to display menu selections.

Usage:

{{Menu|<menuname>|<submenu1>|submenu2|…}}

The menu items are formatted using {{Literal}}. Between them the seperator {{Menu/sep}} (currently: ' » ') is inserted. Up to 9 menu levels are supported.

Examples

Import a .obj with {{Menu|File|Import|Wavefront (.obj)…}}.

Results in:

Import a .obj with File » Import » Wavefront (.obj)….


If used in combination with a {{shortcut}} template, you can continue a shotcut in a menu.

{{Menu|{{shortcut|shift|a}}|Add|Mesh|Cube}}

Results in: ⇧ ShiftA » Add » Mesh » Cube


See also: Template:Shortcut