Difference between revisions of "Template:RandomImage"

From EncyclopAtys

Jump to: navigation, search
m
 
(2 intermediate revisions by 2 users not shown)
Line 9: Line 9:
 
|8={{{f8}}}
 
|8={{{f8}}}
 
|9={{{f9}}}
 
|9={{{f9}}}
|#default=NeedImage.jpg}}|{{#if: {{{size|}}} | {{{size}}}{{!}} | }}{{#if: {{{align|}}} | {{{align}}}{{!}} | }}thumb|{{#switch:{{#var:randimage}}
+
|#default=NeedImage.jpg}}|{{#if: {{{size|}}} | {{{size}}}{{!}} | }}{{#if: {{{align|}}} | {{{align}}}{{!}} | }}thumb|{{#switch:{{#var:randimage}}
 
|1={{{c1}}}
 
|1={{{c1}}}
 
|2={{{c2}}}
 
|2={{{c2}}}
Line 21: Line 21:
 
|#default=No caption}}]]</includeonly><!--
 
|#default=No caption}}]]</includeonly><!--
  
--><noinclude>
+
--><noinclude>{{Trad
 +
|DE=Vorlage:RandomImage
 +
|EN=Template:RandomImage
 +
|H=1}}
 
==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>

Latest revision as of 20:26, 22 August 2023

de:Vorlage:RandomImage en:Template:RandomImage
 
UnderConstruction.png
Translation to review
Don't blame the contributors, but come and help them 😎

Reference text ( Maintained text, used as reference ) :
Notes: (Leda, 2023-08-22)

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.