Template:Menu statement syntax: Difference between revisions

From m204wiki
Jump to navigation Jump to search
No edit summary
m (add link)
 
(One intermediate revision by the same user not shown)
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>[[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>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 <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>

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]