Template:Menu: Difference between revisions

From KDE UserBase Wiki
No edit summary
No edit summary
Line 8: Line 8:


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.
{{Warning|1=Using this template with certain formatting will interfere with the expected layout. Fx using it in a bulleted list will introduce blank lines: Fx,
<nowiki>* {{Menu|File}}</nowiki>
will result in
* {{Menu|File}}
}}


[[Category:Template]]
[[Category:Template]]

Revision as of 17:27, 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). Entering

{{Menu|File|Open}}

will result in FileOpen, while

{{Menu|A|very|long|sequence|of|choices}}

will result in Averylongsequenceofchoices

This way of specifying menu choices differs from the old "manual" way in that long sequences may split lines as in Averylongsequenceofchoices and that it doesn't work well with bulleted lists and similar.

Warning

Using this template with certain formatting will interfere with the expected layout. Fx using it in a bulleted list will introduce blank lines: Fx,

* {{Menu|File}}

will result in

File

{{{1}}}