Template:Image statement syntax: Difference between revisions
Jump to navigation
Jump to search
m (typo) |
m (first draft of Image block syntax) |
||
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"> | <!-- no syntax para tag so Declare option can precede template --> | ||
<var>Image</var> block: | |||
<p class="syntax">[[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> | |||
... <br>End Image | |||
<div style="margin-left: 20px; background-color: #fBfBfB;"> | |||
where <var class="term">global</var> is: <br> | |||
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 | |||
</div> <!--end key indent --> |
Revision as of 22:23, 13 June 2018
Image block:
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