Difference between revisions of "Template:Menu"

From relax wiki
Jump to navigation Jump to search
(Fixes for the if statements.)
(Better spacing around the arrow.)
Line 1: Line 1:
 
{{#if: {{{1|}}} | <code>{{{1}}}</code> }}<!--
 
{{#if: {{{1|}}} | <code>{{{1}}}</code> }}<!--
-->{{#if: {{{2|}}} | → <code>{{{2}}}</code> }}<!--
+
-->{{#if: {{{2|}}} | &emsp;&emsp;<code>{{{2}}}</code> }}<!--
-->{{#if: {{{3|}}} | → <code>{{{3}}}</code> }}<!--
+
-->{{#if: {{{3|}}} | &emsp;&emsp;<code>{{{3}}}</code> }}<!--
-->{{#if: {{{4|}}} | → <code>{{{4}}}</code> }}<noinclude>
+
-->{{#if: {{{4|}}} | &emsp;&emsp;<code>{{{4}}}</code> }}<noinclude>
  
 
{{Template info |1=
 
{{Template info |1=

Revision as of 11:27, 18 November 2015


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