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:
<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>
  <span class="squareb">|</span> Common<span class="squareb">]</span>
  <span class="squareb">|</span> Common<span class="squareb">]</span>
<span class="term">menuline</span>
<span class="term">menuLine</span>
<span class="term">menuline</span>
<span class="term">menuLine</span>
  ...
  ...
End Menu
End Menu
</p>
</p>
<var>Menu</var> statement, referring to a menu defined elsewhere in a <var>Menu</var> block:
<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>
<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>
  <span class="squareb">|</span> Common<span class="squareb">]</span>
  <span class="squareb">|</span> Common<span class="squareb">]</span>
</p>
</p>

Revision as of 11:17, 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]