Difference between revisions of "Template:RandomImage"

From EncyclopAtys

Jump to: navigation, search
m
m
Line 1: Line 1:
{{#vardefine:randimage|{{#rand:1|{{{num}}}}}}}[[File:{{#switch:{{#var:randimage}}
+
<includeonly>{{#vardefine:randimage|{{#rand:1|{{{num}}}}}}}[[File:{{#switch:{{#var:randimage}}
 
|1={{{f1}}}
 
|1={{{f1}}}
 
|2={{{f2}}}
 
|2={{{f2}}}
Line 19: Line 19:
 
|8={{{c8}}}
 
|8={{{c8}}}
 
|9={{{c9}}}
 
|9={{{c9}}}
|#default=No caption}}]]<!--
+
|#default=No caption}}]]</includeonly><!--
  
 
--><noinclude>
 
--><noinclude>
 
==Usage==
 
==Usage==
<pre>{{RandomImage|num=|size=|align=||f1=|f2=|c1=|c2=}}</pre>
+
<pre>{{RandomImage|num=|size=|align=|f1=|f2=|c1=|c2=}}</pre>
 +
 
 +
[[Category:Utility templates|RandomImage]]
 
</noinclude>
 
</noinclude>

Revision as of 15:40, 7 May 2010

Usage

{{RandomImage|num=|size=|align=|f1=|f2=|c1=|c2=}}