テンプレート:Menu
2009年12月29日 (火) 03:01時点におけるwiki>Mindronesによる版 (adding type=popup to make possible to use shortcut shift-A and then menus for examples)
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