Template:Menu: Difference between revisions
No edit summary |
No edit summary |
||
(2 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
<noinclude> | <noinclude> | ||
---- | ---- | ||
This template can be used to enter a sequence of menu choices (at most 6 levels deep, although | This template can be used to enter a sequence of menu choices (at most 6 levels deep, although the template can easily be expanded to allow for more). Entering | ||
<nowiki>{{Menu|File|Open}}</nowiki> | <nowiki>{{Menu|File|Open}}</nowiki> | ||
will result in {{Menu|File|Open}}, while | will result in {{Menu|File|Open}}, while | ||
Line 10: | Line 10: | ||
[[Category:Template]] | [[Category:Template]] | ||
</noinclude>{{#tag: menuchoice | {{{1}}} | </noinclude>{{#tag: menuchoice |{{{1}}}}} {{#if: | ||
{{{2| }}} | → {{#tag: menuchoice | {{{2}}} }} {{#if: | {{{2| }}} | → {{#tag: menuchoice |{{{2}}}}} {{#if: | ||
{{{3| }}} | → {{#tag: menuchoice | {{{3}}} }} {{#if: | {{{3| }}} | → {{#tag: menuchoice |{{{3}}}}} {{#if: | ||
{{{4| }}} | → {{#tag: menuchoice | {{{4}}} }} {{#if: | {{{4| }}} | → {{#tag: menuchoice |{{{4}}}}} {{#if: | ||
{{{5| }}} | → {{#tag: menuchoice | {{{5}}} }} {{#if: | {{{5| }}} | → {{#tag: menuchoice |{{{5}}}}} {{#if: | ||
{{{6| }}} | → {{#tag: menuchoice | {{{6}}} }} | {{{6| }}} | → {{#tag: menuchoice |{{{6}}}}} | ||
}} }} }} }} }} | }} }} }} }} }} |
Latest revision as of 14:15, 30 June 2019
This template can be used to enter a sequence of menu choices (at most 6 levels deep, although the template can easily be expanded to allow for more). Entering
{{Menu|File|Open}}
will result in
→ , while{{Menu|A|very|long|sequence|of|choices}}
will result in
→ → → → →This way of specifying menu choices differs from the old "manual" way in that long sequences may split lines as in
→ → → → → .