RandomSelection is an extension that allows for randomly-generated content inside your wiki; e.g. rotating images, random greetings, etc.

Syntax

 <choose>
 <option>Option 1</option>
 <option>Option 2</option>
 </choose>

This example will display a flag image:

 <choose>
 <option>[[File:Icon-German.png|18px]]</option>
 <option>[[File:Icon-English.png|18px]]</option>
 <option>[[File:Icon-Spanish.png|18px]]</option>
 <option>[[File:Icon-Finnish.png|18px]]</option>
 <option>[[File:Icon-French.png|18px]]</option>
 <option>[[File:Icon-Italian.png|18px]]</option>
 <option>[[File:Icon-Japanese.png|18px]]</option>
 <option>[[File:Icon-Korean.png|18px]]</option>
 <option>[[File:Icon-Dutch.png|18px]]</option>
 <option>[[File:Icon-Polish.png|18px]]</option>
 <option>[[File:Icon-Portuguese.png|18px]]</option>
 <option>[[File:Icon-Russian.png|18px]]</option>
 <option>[[File:Icon-Vietnamese.png|18px]]</option>
 <option>[[File:Icon-Chinese.png|18px]]</option>
 </choose>
Icon-German.png

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

 <choose>
 <option weight="3">Option 1</option>
 <option>Option 2</option>
 </choose>

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

See also

Further help and feedback

Community content is available under CC-BY-SA unless otherwise noted.