Template:Menu statement syntax: Difference between revisions

From m204wiki
Jump to navigation Jump to search
No edit summary
m (from syntaxUL to "syntax")
Line 1: Line 1:
<var>Menu</var> block:
<var>Menu</var> block:
<p class="code"><span class="squareb">[</span>Declare<span class="squareb">]</span> [[Menu statement or block|Menu]] <span class="term">menuName</span>
<p class="syntax"><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>
Line 9: Line 9:
</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="syntax"><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 20:03, 7 May 2018

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]