Difference between revisions of "Template:Menu"

From relax wiki
Jump to navigation Jump to search
(Added a border around the whole menu entry.)
(Attempt at fixing the spacing.)
Line 1: Line 1:
<span class="nowrap" style="border:1px solid; border-color:#DDDDDD; padding:0.25em; background-color: #E7E7E7">
+
<span class="nowrap" style="border:1px solid; border-color:#DDDDDD; padding:0.25em; background-color: #E7E7E7"><!--
<code>{{{1|Top level menu entry}}}</code>
+
--><code>{{{1|Top level menu entry}}}</code><!--
{{#if: {{{2|}}} |&ensp;→&ensp;<code>{{{2}}}</code> }}
+
-->{{#if: {{{2|}}} |&ensp;→&ensp;<code>{{{2}}}</code> }}<!--
{{#if: {{{3|}}} |&ensp;→&ensp;<code>{{{3}}}</code> }}
+
-->{{#if: {{{3|}}} |&ensp;→&ensp;<code>{{{3}}}</code> }}<!--
{{#if: {{{4|}}} |&ensp;→&ensp;<code>{{{4}}}</code> }}
+
-->{{#if: {{{4|}}} |&ensp;→&ensp;<code>{{{4}}}</code> }}<!--
</span><noinclude>
+
--></span><noinclude>
  
 
{{Template info |1=
 
{{Template info |1=

Revision as of 13:19, 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