Template:Menu: Difference between revisions

From The DarkMod Wiki
Jump to navigationJump to search
m (drats)
m (*sigh* wiki not cooperating)
Line 10: Line 10:
And here is how it will look: Go to {{menu|l1=File|l2=Save}} and save your work.
And here is how it will look: Go to {{menu|l1=File|l2=Save}} and save your work.


</noinclude><includeonly><span style="border: 1px solid #c0c0c0; padding: none; padding-left: 4px; padding-right: 4px; margin: none; background: #f8f8f8;">'''[[DarkRadiant {{{l1}}} menu|{{{l1}}}]]''' -&gt; '''[[DarkRadiant {{{l1}}} %2d%3e {{{l2}}} menu|{{{l2}}}]]'''</span></includeonly>
</noinclude><includeonly><span style="border: 1px solid #c0c0c0; padding: none; padding-left: 4px; padding-right: 4px; margin: none; background: #f8f8f8;">'''[[DarkRadiant {{{l1}}} menu|{{{l1}}}]]''' -&gt; '''[[DarkRadiant {{{l1}}} {{{l2}}} menu|{{{l2}}}]]'''</span></includeonly>

Revision as of 03:23, 28 October 2007

This template represents a menu entry in Dark Radiant. It takes two parameters, l1 and l2. These represent the main and sub menu, respectively.

Usage

Example:

 {{menu|l1=File|l2=Save}}

And here is how it will look: Go to File -> Save and save your work.