Community Central

September comes to a close with This Month at Fandom, including cool data trends, Editors of the Month, and a summary of important updates you may have missed.

READ MORE

Community Central
Advertisement
Community Central
This extension is enabled by default on Fandom.

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-English.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

Advertisement