Template:Image statement syntax: Difference between revisions
Jump to navigation
Jump to search
m (first draft of Image block syntax) |
No edit summary |
||
(6 intermediate revisions by one other user not shown) | |||
Line 1: | Line 1: | ||
<!-- no syntax para tag so Declare option can precede template --> | <!-- 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>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">imageComponent</span> <br> <span class="squareb">[</span><span class="term">imageComponent</span><span class="squareb">]</span> ... | |||
<span class="squareb">]</span> | <span class="squareb">]</span> | ||
... <br>End Image | ... <br>End Image </p> | ||
<div style="margin-left: 20px; background-color: #fBfBfB;"> | <div style="margin-left: 20px; background-color: #fBfBfB;"> | ||
<p> | |||
where <var class="term">global</var> is: < | where <var class="term">global</var> is: </p> | ||
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 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 --> | </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