Help:Random selection

The RandomSelection MediaWiki extension can be used to generate a random option from a given set.

Syntax
Option 1 Option 2

This example will display a flag image corresponding to one of the Memory Alpha languages:





Note that you can weight the options. This example will give a 3x weighting to option 1: Option 1 Option 2

Links, images, and templates can all be included as options.

See Random Pic of the Day for an example of this extension in use.