Difference between revisions of "Template:Menu"
Jump to navigation
Jump to search
(Used a gradient in the menu background.) |
(Use of the {{menu/entry}} template.) |
||
Line 1: | Line 1: | ||
<span class="nowrap" style="border:1px solid; border-color:#DDDDDD #C2C2C2 #C2C2C2 #DDDDDD; padding:0.25em; {{linear-gradient|top|#FCFCFC, #E0E0E0}}"><!-- | <span class="nowrap" style="border:1px solid; border-color:#DDDDDD #C2C2C2 #C2C2C2 #DDDDDD; padding:0.25em; {{linear-gradient|top|#FCFCFC, #E0E0E0}}"><!-- | ||
− | --> | + | -->{{menu/entry|{{{1|Top level menu entry}}} }}<!-- |
− | -->{{#if: {{{2|}}} | →  | + | -->{{#if: {{{2|}}} | → {{menu/entry|{{{2}}} }} }}<!-- |
− | -->{{#if: {{{3|}}} | →  | + | -->{{#if: {{{3|}}} | → {{menu/entry|{{{3}}} }} }}<!-- |
− | -->{{#if: {{{4|}}} | →  | + | -->{{#if: {{{4|}}} | → {{menu/entry|{{{4}}} }} }}<!-- |
--></span><noinclude> | --></span><noinclude> | ||
Revision as of 13:30, 18 November 2015
Top level menu entry
Template documentation
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