Difference between revisions of "Template:RandomImage"
From EncyclopAtys
CeNobiteElf (talk | contribs) m |
CeNobiteElf (talk | contribs) m |
||
Line 9: | Line 9: | ||
|8={{{f8}}} | |8={{{f8}}} | ||
|9={{{f9}}} | |9={{{f9}}} | ||
− | |#default=NeedImage.jpg}}|{{#if: {{{size|}}} | {{{size}}}{{!}} | + | |#default=NeedImage.jpg}}|{{#if: {{{size|}}} | {{{size}}}{{!}} | }}{{#if: {{{align|}}} | {{{align}}}{{!}} | }}thumb|{{#switch:{{#var:randimage}} |
|1={{{c1}}} | |1={{{c1}}} | ||
|2={{{c2}}} | |2={{{c2}}} | ||
Line 24: | Line 24: | ||
==Usage== | ==Usage== | ||
<pre>{{RandomImage|num=|size=|align=|f1=|f2=|c1=|c2=}}</pre> | <pre>{{RandomImage|num=|size=|align=|f1=|f2=|c1=|c2=}}</pre> | ||
+ | |||
+ | ==Parameters== | ||
+ | ; num | ||
+ | : The number of images to be used, max 9. | ||
+ | |||
+ | ; size | ||
+ | : Default is the full size of the used images. | ||
+ | |||
+ | ; align | ||
+ | : Alignment of the image, default is left. | ||
+ | |||
+ | ; f<1 - 9> | ||
+ | : Not optional. Full file name of all the images to be used. | ||
+ | |||
+ | ; c<1 - 9> | ||
+ | : Optional. Captions of the Respective images. | ||
[[Category:Utility templates|RandomImage]] | [[Category:Utility templates|RandomImage]] | ||
</noinclude> | </noinclude> |
Revision as of 15:46, 7 May 2010
Usage
{{RandomImage|num=|size=|align=|f1=|f2=|c1=|c2=}}
Parameters
- num
- The number of images to be used, max 9.
- size
- Default is the full size of the used images.
- align
- Alignment of the image, default is left.
- f<1 - 9>
- Not optional. Full file name of all the images to be used.
- c<1 - 9>
- Optional. Captions of the Respective images.