Difference between revisions of "User:Craigopher/RandomSelection Test"
From Legion Wiki
Jump to navigationJump to searchCraigopher (talk | contribs) |
Craigopher (talk | contribs) (Alternate image size and caption) |
||
Line 16: | Line 16: | ||
<choose> | <choose> | ||
− | <option weight="2">[[Image:Adventure247.jpg|80px]]</option> | + | <option weight="2">[[Image:Adventure247.jpg|80px]|''Adventure Comics'' #247]</option> |
− | <option weight="4">[[Image:Adventure300.jpg| | + | <option weight="4">[[Image:Adventure300.jpg|120px|''Adventure Comics'' #300]]</option> |
− | <option weight="3">[[Image:Adventure312.jpg| | + | <option weight="3">[[Image:Adventure312.jpg|240px|''Adventure Comics'' #312]]</option> |
</choose> | </choose> |
Revision as of 13:44, 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">[[Image:Adventure247.jpg|80px]|Adventure Comics #247]</option> <option weight="4"></option> <option weight="3"></option> </choose>