Template:Image statement syntax: Difference between revisions
Jump to navigation
Jump to search
m (typo) |
m (add Declare option) |
||
Line 1: | Line 1: | ||
<!-- no syntax para tag so Declare option can precede template --> | <!-- no syntax para tag so Declare option can precede template --> | ||
<var>Image</var> block: | <var>Image</var> block: | ||
[[Images#Image and End Image statements|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">imageComponent</span> <br> <span class="squareb">[</span><span class="term">imageComponent</span><span class="squareb">]</span> ... | <p class="syntax"><span class="squareb">[</span>[[#Declare|Declare]]<span class="squareb">]</span> [[Images#Image and End Image statements|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">imageComponent</span> <br> <span class="squareb">[</span><span class="term">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>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 --> |
Revision as of 22:30, 13 June 2018
Image block:
[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