Difference between revisions of "Template:RandImage"
From EncyclopAtys
CeNobiteElf (talk | contribs) m |
CeNobiteElf (talk | contribs) m |
||
Line 1: | Line 1: | ||
− | <randomimage | + | <randomimage size="300px" float="center" choices="Cultural Clash.jpg|Degrades.jpg"><div class="thumbcaption"> {{#if:{{{caption|}}}|{{{caption}}}| }}</div></randomimage><noinclude> |
{{{1}}}|{{{2}}} | {{{1}}}|{{{2}}} | ||
Line 7: | Line 7: | ||
<pre> | <pre> | ||
{{RandImage|<image names>|caption=<caption>}} | {{RandImage|<image names>|caption=<caption>}} | ||
− | |||
</pre> | </pre> | ||
Line 17: | Line 16: | ||
; ''caption'' | ; ''caption'' | ||
: Optional. The caption which are shown below the image. | : Optional. The caption which are shown below the image. | ||
− | |||
− | |||
− | |||
− | |||
[[Category: Utility templates|Random Image]] | [[Category: Utility templates|Random Image]] | ||
</noinclude> | </noinclude> |
Revision as of 03:27, 24 January 2010
{{{1}}}|{{{2}}}
Description
{{RandImage|<image names>|caption=<caption>}}
Parameters
- unnamed parameter 1 and 2
- Not optional. The name of the image without the File: prefix.
- unnamed parameter 3 - 9
- Optional. The name of all the other images, without the File: prefix.
- caption
- Optional. The caption which are shown below the image.