Difference between revisions of "Template:Menu"

From relax wiki
Jump to navigation Jump to search
(Using a single background colour instead of a gradient.)
(A little less padding.)
 
Line 1: Line 1:
<span class="nowrap" style="border:1px solid; border-color:#DDDDDD #C2C2C2 #C2C2C2 #DDDDDD; padding:0.25em; background-color:#E6E6E6"><!--
+
<span class="nowrap" style="border:1px solid; border-color:#DDDDDD #C2C2C2 #C2C2C2 #DDDDDD; padding:0.2em; background-color:#E6E6E6"><!--
 
-->{{menu/entry|{{{1|Top level menu entry}}} }}<!--
 
-->{{menu/entry|{{{1|Top level menu entry}}} }}<!--
 
-->{{#if: {{{2|}}} |&ensp;→&ensp;{{menu/entry|{{{2}}} }} }}<!--
 
-->{{#if: {{{2|}}} |&ensp;→&ensp;{{menu/entry|{{{2}}} }} }}<!--

Latest revision as of 13:34, 18 November 2015

Top level menu entry

Template documentation

The menu template

Goal

To nicely format GUI menu instructions.

Usage

{{menu|menu1|menu2|menu3|menu4}}

Examples

Depth 2

{{menu|File|Open}}

File  → Open

Depth 3

{{menu|User functions (a-m)|model_free|select_model}}

User functions (a-m)  → model_free  → select_model