Changes

Jump to: navigation, search

Editing help

871 bytes added, 20:08, 27 May 2011
Standard display for images
<td>[[File:Hofbrauhaus-Keller Freising 016.jpg|196px]]</td>
</table></nowiki>
 
== Display a random image ==
 
To display a random image from the complete repository of images on this site, add the following code on a page:
 
<nowiki><randomimage /></nowiki>
 
An automatic caption will be pulled from the image descripion page.
 
To produce a random image with a fixed caption, use the following example:
 
<nowiki><randomimage>Add a standard caption here, e.g. Random image</randomimage></nowiki>
 
The <nowiki><randomimage></nowiki> tag also supports the following attributes:
 
* size - set the image width (default is the user's thumbnail width).
* float - float the image; valid values are 'left', 'center' and 'right'.
* choices - limits the image selection to a list of images separated by a vertical bar. For example:
 
<nowiki><randomimage size="100" float="left" choices="Augustiner_001.jpg|Augustiner_002.jpg|Augustiner_003.jpg" /></nowiki>
== Table of Contents ==
Anonymous user

Navigation menu