Template:Quotebox/quotes/sandbox

/quotes /quotes

Test:

Test with plaintext:

Test:

Would this work?

 * 1) Create Template:Choose.
 * 2) In choose, put options for numbers 0-9.
 * 3) Create a quotes page, like Grog Strongjaw/quotes.
 * 4) On the quotes page, type in all the quotes in format:
 * 5) * +++Quote 1.---Source 1
 * 6) * +++Quote 2.---Source 2
 * 7) * +++Quote 3.---Source 3
 * 8) * +++Quote 4.---Source 4
 * 9) On the quotes page, have something like this:

Using Random Number
This section works, but I don't think random number is as effective as &lt;choose&gt; at picking new choices. random number may need page cache updates.

Using &lt;choose&gt;
This currently will not work, because the output from choose is not the simple text that appears on screen, so it can't be parsed by #expr.


 * #var:Chosen
 * Chosen Chosen
 * #arraysize:ArrayofQuotations
 * #sub:|0|1
 * #expr:-1
 * #arrayprint:ArrayofQuotations|
 * #arraydefine:ChosenRow||---