Difference between revisions of "User:Craigopher/RandomSelection Test"

From Legion Wiki
Jump to navigationJump to search
(Create page to test RandomSelection functionality)
 
Line 16: Line 16:
  
 
<choose>
 
<choose>
<option weight="2">Image:Adventure247.jpg|80px</option>
+
<option weight="2">[[File:Adventure247.jpg]]</option>
<option>Image:Adventure300.jpg|80px</option>
+
<option>[[File:Adventure300.jpg]]</option>
<option weight="1.5">Image:Adventure312.jpg|80px</option>
+
<option weight="1.5">[[File:Adventure312.jpg]]</option>
 
</choose>
 
</choose>

Revision as of 05:20, 12 June 2010

Here's a test of the wiki extension RandomSelection.


Sample of wikitext:

<choose>
<option weight="2">This option will be shown twice as often as a normal option.</option>
<option>By default, options have a weight of 1.</option>
<option weight="1.5">This option also has a weight of 1.  Fractional portions are ignored.</option>
</choose>


Sample Test:

<choose> <option weight="2">Adventure247.jpg</option> <option>Adventure300.jpg</option> <option weight="1.5">Adventure312.jpg</option> </choose>