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

From Legion Wiki
Jump to navigationJump to search
 
(4 intermediate revisions by the same user not shown)
Line 16: Line 16:
  
 
<choose>
 
<choose>
<option weight="2">[[Image:Adventure247.jpg|80px]]</option>
+
<option weight="1">[[Image:Adventure247.jpg|80px| Adventure Comics #247]]</option>
<option weight="4">[[Image:Adventure300.jpg|80px]]</option>
+
<option weight="1">[[Image:Adventure300.jpg|120px| Adventure Comics #300]]</option>
<option weight="3">[[Image:Adventure312.jpg|80px]]</option>
+
<option weight="1">[[Image:Adventure312.jpg|240px| Adventure Comics #312]]</option>
 
</choose>
 
</choose>

Latest revision as of 13:48, 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="1">Adventure Comics #247</option> <option weight="1">Adventure Comics #300</option> <option weight="1">Adventure Comics #312</option> </choose>