Template:Menu statement syntax: Difference between revisions

From m204wiki
Jump to navigation Jump to search
No edit summary
m (add link)
 
(10 intermediate revisions by 3 users not shown)
Line 1: Line 1:
<p class="syntaxUL"><span class="squareb">[</span>DECLARE<span class="squareb">]</span> MENU <span class="term">menuname</span>
<var>Menu</var> block:
  <span class="squareb">[</span>GLOBAL <span class="squareb">[</span>PERMANENT <span class="squareb">|</span> TEMPORARY<span class="squareb">]</span>
<p class="syntax"><span class="squareb">[</span>[[Using variables and values in computation#Declaring|Declare]]<span class="squareb">]</span> [[Menu statement or block|Menu]] <span class="term">menuName</span>
  <span class="squareb">|</span> <span class="squareb">[</span>PERMANENT <span class="squareb">|</span> TEMPORARY<span class="squareb">]</span> GLOBAL
  <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>
...
End Menu
</p>
<var>Menu</var> statement, referring to a menu defined elsewhere in a <var>Menu</var> block:
<p class="syntax"><span class="squareb">[</span>Declare<span class="squareb">]</span> 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>

Latest revision as of 20:07, 14 June 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]