Difference between revisions of "Template:RandomImage"

From EncyclopAtys

Jump to: navigation, search
m (Created page with '{{#vardefine:randimage|{{#rand:1|{{{num}}}}}}}[[File:{{#switch:{{#var:randimage}} |1={{{f1}}} |2={{{f2}}} |3={{{f3}}} |4={{{f4}}} |5={{{f5}}} |6={{{f6}}} |7={{{f7}}} |8={{{f8}}} …')
 
m
Line 8: Line 8:
 
|7={{{f7}}}
 
|7={{{f7}}}
 
|8={{{f8}}}
 
|8={{{f8}}}
|9={{{f9}}}|thumb|{{#switch:{{#var:randimage}}
+
|9={{{f9}}}
 +
|#default=NeedImage.jpg|thumb|{{#switch:{{#var:randimage}}
 
|1={{{c1}}}
 
|1={{{c1}}}
 
|2={{{c2}}}
 
|2={{{c2}}}
Line 17: Line 18:
 
|7={{{c7}}}
 
|7={{{c7}}}
 
|8={{{c8}}}
 
|8={{{c8}}}
|9={{{c9}}}}}]]<!--
+
|9={{{c9}}}
 +
|#default=No caption}}]]<!--
  
 
--><noinclude>
 
--><noinclude>

Revision as of 15:25, 7 May 2010

[[File:{{#switch: |1={{{f1}}} |2={{{f2}}} |3={{{f3}}} |4={{{f4}}} |5={{{f5}}} |6={{{f6}}} |7={{{f7}}} |8={{{f8}}} |9={{{f9}}} |#default=NeedImage.jpg|thumb|No caption]]

Usage

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