Template:Menu statement syntax: Difference between revisions

From m204wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 1: Line 1:
<var>Menu</var> block:
<p class="syntaxUL"><span class="squareb">[</span>Declare<span class="squareb">]</span> [[Menu statement or block|Menu]] <span class="term">menuname</span>
<p class="syntaxUL"><span class="squareb">[</span>Declare<span class="squareb">]</span> [[Menu statement or block|Menu]] <span class="term">menuname</span>
  <span class="squareb">[</span>Global <span class="squareb">[</span>Permanent <span class="squareb">|</span> Temporary<span class="squareb">]</span>
  <span class="squareb">[</span>Global <span class="squareb">[</span>Permanent <span class="squareb">|</span> Temporary<span class="squareb">]</span>
Line 6: Line 7:
  ...
  ...
End Menu
End Menu
</p>
<var>Menu</var> statement, referring to a menu defined elsewhere in a <var>Menu</var> block:
<p class="syntaxUL"><span class="squareb">[</span>Declare<span class="squareb">]</span> [[Menu statement or block|Menu]] <span class="term">menuname</span>
<span class="squareb">[</span>Global <span class="squareb">[</span>Permanent <span class="squareb">|</span> Temporary<span class="squareb">]</span>
<span class="squareb">|</span> Common<span class="squareb">]</span>
</p>
</p>

Revision as of 10:54, 1 August 2015

Menu block:

[Declare] Menu menuname [Global [Permanent | Temporary] | Common] menuline menuline ... End Menu

Menu statement, referring to a menu defined elsewhere in a Menu block:

[Declare] Menu menuname [Global [Permanent | Temporary] | Common]