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

From Legion Wiki
Jump to navigationJump to search
Line 17: Line 17:
 
<choose>
 
<choose>
 
<option weight="2">[[Image:Adventure247.jpg|80px]]</option>
 
<option weight="2">[[Image:Adventure247.jpg|80px]]</option>
<option>[[Image:Adventure300.jpg|80px]]</option>
+
<option weight="4">[[Image:Adventure300.jpg|80px]]</option>
<option weight="1.5">[[Image:Adventure312.jpg|80px]]</option>
+
<option weight="3">[[Image:Adventure312.jpg|80px]]</option>
 
</choose>
 
</choose>

Revision as of 09:40, 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 weight="4">Adventure300.jpg</option> <option weight="3">Adventure312.jpg</option> </choose>