Template:Image statement syntax: Difference between revisions

From m204wiki
Jump to navigation Jump to search
m (remove syntax para tag so Declare option can precede template)
No edit summary
 
(8 intermediate revisions by one other user not shown)
Line 1: Line 1:
<!-- no syntax para tag so Declare option can precede template --> [[Images#Image and End Image statements|Image]] <span class="term">imagename</span> <span class="squareb">[</span>Namesave<span class="squareb">]</span>  <br> <span class="squareb">[</span> At <span class="squareb">{</span><span class="term">itemname</span> <span class="squareb">|</span> <span class="term">imagname1</span> <span class="squareb">|</span> <span class="term">arrayname</span><span class="squareb">}</span>  <br> <span class="squareb">|</span> Global <span class="squareb">[</span>Permanent <span class="squareb">|</span> Temporary<span class="squareb">]</span>   <br> <span class="squareb">|</span> <span class="squareb">[</span>Permanent <span class="squareb">|</span> Temporary<span class="squareb">]</span> Global   <br> <span class="squareb">|</span> Common <span class="squareb">]</span>
<!-- no syntax para tag so Declare option can precede template -->
<p class="syntax"><span class="squareb">[</span>[[Using variables and values in computation#Declaring|Declare]]<span class="squareb">]</span> [[Image statement or block|Image]] <span class="term">imagename</span> <span class="squareb">[</span>Namesave<span class="squareb">]</span> <span class="squareb">[</span><span class="term">global</span> <span class="squareb">|</span> Common<span class="squareb">]</span>  <br<span class="term">[[Images#imageItems|imageComponent]]</span>  <br>  <span class="squareb">[</span><span class="term">[[Images#imageItems|imageComponent]]</span><span class="squareb">]</span> ...     
<span class="squareb">[</span>Image <span class="term">imagename2</span> <span class="squareb">[</span>Namesave<span class="squareb">]</span> <span class="squareb">[</span>At <span class="squareb">{</span><span class="term">itemname</span> <span class="squareb">|</span> <span class="term">imagename</span> <span class="squareb">|</span> <span class="term">arrayname</span><span class="squareb">}</span><span class="squareb">]</span>  <br<span class="term">[[Images#imageItems|imageComponent]]</span>  <br> <span class="squareb">[</span><span class="term">[[Images#imageItems|imageComponent]]</span><span class="squareb">]</span> ...
<span class="squareb">]</span>
...  <br>End Image </p>
<div style="margin-left: 20px; background-color: #fBfBfB;">
<p>
where <var class="term">global</var> is:  </p>
<p class="syntax">Global <span class="squareb">[</span>Permanent <span class="squareb">|</span> Temporary<span class="squareb">]</span>  <br> <span class="squareb">|</span> <span class="squareb">[</span>Permanent <span class="squareb">|</span> Temporary<span class="squareb">]</span> Global </p>
</div> <!--end key indent -->

Latest revision as of 15:57, 6 July 2018

[Declare] Image imagename [Namesave] [global | Common]
imageComponent
[imageComponent] ... [Image imagename2 [Namesave] [At {itemname | imagename | arrayname}]
imageComponent
[imageComponent] ... ] ...
End Image

where global is:

Global [Permanent | Temporary]
| [Permanent | Temporary] Global