Template:Menu: Difference between revisions
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
<noinclude> | <noinclude> | ||
---- | ---- | ||
This template can be used to enter a sequence of menu choices (at most 6 levels deep, although it could easily be expanded to allow for more). Entering | This template can be used to enter a sequence of menu choices (at most 6 levels deep, although it could 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 | ||
<nowiki>{{Menu|A|very|long|sequence|of|choices}}</nowiki> | <nowiki>{{Menu|A|very|long|sequence|of|choices}}</nowiki> | ||
will result in {{Menu|A|very|long|sequence|of|choices}} | will result in {{Menu|A|very|long|sequence|of|choices}} --> | ||
This way of specifying menu choices differs from the old "manual" way in that long sequences may split lines as in {{Menu|A|very|long|sequence|of|choices}} and that it doesn't work well with bulleted lists and similar. | This way of specifying menu choices differs from the old "manual" way in that long sequences may split lines as in {{Menu|A|very|long|sequence|of|choices}} and that it doesn't work well with bulleted lists and similar. | ||
* aa {{Menu|File}} | |||
[[Category:Template]] | [[Category:Template]] | ||
< | <!-- <span class="menuchoice">{{{1}}}</span> | ||
<span class="menuchoice">{{{1}}}</span> | |||
{{#if: {{{2| }}} | → <span class="menuchoice">{{{2}}}</span> | {{#if: {{{2| }}} | → <span class="menuchoice">{{{2}}}</span> | ||
{{#if: {{{3| }}} | → <span class="menuchoice">{{{3}}}</span> | {{#if: {{{3| }}} | → <span class="menuchoice">{{{3}}}</span> | ||
{{#if: {{{4| }}} | → <span class="menuchoice">{{{4}}}</span> | {{#if: {{{4| }}} | → <span class="menuchoice">{{{4}}}</span> | ||
{{#if: {{{5| }}} | → <span class="menuchoice">{{{5}}}</span> | {{#if: {{{5| }}} | → <span class="menuchoice">{{{5}}}</span> | ||
{{#if: {{{6| }}} | → <span class="menuchoice">{{{6}}}</span>}} }} }} }} }} | {{#if: {{{6| }}} | → <span class="menuchoice">{{{6}}}</span>}} }} }} }} }} --> | ||
</noinclude> | |||
{{#tag: menuchoice | {{{1}}} }} |
Revision as of 17:06, 10 May 2019
This template can be used to enter a sequence of menu choices (at most 6 levels deep, although it could easily be expanded to allow for more).
This way of specifying menu choices differs from the old "manual" way in that long sequences may split lines as in
and that it doesn't work well with bulleted lists and similar.- aa