Template:Menu: Difference between revisions
From The DarkMod Wiki
Jump to navigationJump to search
fixup and make nicer |
fix description |
||
(7 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
<noinclude> | <noinclude> | ||
This template represents a menu entry in Dark Radiant. It takes two parameters | This template represents a menu entry in Dark Radiant. It takes two parameters and these represent the main and sub menu, respectively. | ||
== Usage == | == Usage == | ||
Line 6: | Line 6: | ||
Example: | Example: | ||
<nowiki>{{menu| | <nowiki>{{menu|File|Save}}</nowiki> | ||
And here is how it will look: | And here is an example on how it will look: | ||
</noinclude><includeonly><span style="border: 1px solid #c0c0c0; padding: none; padding-left: 4px; padding-right: 4px; margin: none; background: #f8f8f8;">'''[[DarkRadiant {{{l1}}} menu|{{{l1}}}]]''' - | Go to {{menu|File|Save}} and save your work. | ||
[[Category:Templates|Menu]]</noinclude><includeonly><span style="border: 1px solid #c0c0c0; padding: none; padding-left: 4px; padding-right: 4px; margin: none; background: #f8f8f8;">'''[[DarkRadiant {{{1|{{{l1}}}}}} menu|{{{1|{{{l1}}}}}}]]''' -> '''[[DarkRadiant {{{1|{{{l1}}}}}} {{{2|{{{l2}}}}}} menu|{{{2|{{{l2}}}}}}]]'''</span></includeonly> |