Difference between revisions of "Template:RandImage"

From EncyclopAtys

Jump to: navigation, search
m
m
Line 1: Line 1:
<randomimage size="300px" float="center" choices="Cultural Clash.jpg|Degrades.jpg|Enter.jpg|Teleportation.jpg|Goodbye.jpg|Flowers.jpg|Karavan propaganda.jpg"><div class="thumbcaption"> {{#if:{{{caption|}}}|{{{caption}}}| }}</div></randomimage><!--
+
<noinclude><big><center><font color="red">'''This template is obsolete, due to the fact that the randomimage tags to not lend themselves well to templates. It is suggested to use the randomimage tags directly on pages instead of via template.'''</font></center></big><noinclude><!--
 +
 
 +
--><randomimage size="300px" float="center" choices="Cultural Clash.jpg|Degrades.jpg|Enter.jpg|Teleportation.jpg|Goodbye.jpg|Flowers.jpg|Karavan propaganda.jpg"><div class="thumbcaption"> {{#if:{{{caption|}}}|{{{caption}}}| }}</div></randomimage><!--
  
 
{{{1}}}|{{{2}}} {{ #if: {{{3|}}} | {{!}}{{{3}}} }}{{ #if: {{{4|}}} | {{!}}{{{4}}} }}{{ #if: {{{5|}}} | {{!}}{{{5}}} }}{{ #if: {{{6|}}} | {{!}}{{{6}}} }}{{ #if: {{{7|}}} | {{!}}{{{7}}} }}{{ #if: {{{8|}}} | {{!}}{{{8}}} }}{{ #if: {{{9|}}} | {{!}}{{{9}}} }}
 
{{{1}}}|{{{2}}} {{ #if: {{{3|}}} | {{!}}{{{3}}} }}{{ #if: {{{4|}}} | {{!}}{{{4}}} }}{{ #if: {{{5|}}} | {{!}}{{{5}}} }}{{ #if: {{{6|}}} | {{!}}{{{6}}} }}{{ #if: {{{7|}}} | {{!}}{{{7}}} }}{{ #if: {{{8|}}} | {{!}}{{{8}}} }}{{ #if: {{{9|}}} | {{!}}{{{9}}} }}
Line 6: Line 8:
 
==Description==
 
==Description==
 
<pre>
 
<pre>
{{RandImage|<image names>|caption=<caption>}}
+
{{RandImage}}
 
</pre>
 
</pre>
  
=== Parameters ===
+
<!-- === Parameters ===
 
; ''unnamed parameter'' 1 and 2
 
; ''unnamed parameter'' 1 and 2
 
: Not optional. The name of the image without the File: prefix.
 
: Not optional. The name of the image without the File: prefix.
Line 15: Line 17:
 
: Optional. The name of all the other images, without the File: prefix.
 
: Optional. The name of all the other images, without the File: prefix.
 
; ''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 04:06, 24 January 2010

This template is obsolete, due to the fact that the randomimage tags to not lend themselves well to templates. It is suggested to use the randomimage tags directly on pages instead of via template.

Description

{{RandImage}}