User:Bammesk/templates/POTX/doc

This template is similar to the picture of the day WP:POTD. It returns an image which is automatically updated each day. Shown below is a rendering of this template. The displayed image can be specified as: 1– the current POTD, or 2– a random pick from the POTD archive (75% of the time). You can insert the image by adding the code. The two parameters "s" and "x" are required and must be specified (see example code above). Parameter "s" is the maximum width and height of the image in pixels. Parameter "x" controls the image selection,
 * Usage :

Occasionally, the local server must be purged in order to update the image. To do so, click on  below the image.

To display archived pictures of the day. To add an interactive feel with the random feature and server cache purge (when "x" is 2).
 * Why this template :