Forum:How do i make a random quote generator?

or something of that nature. (although, "generator" is a bit of an off term, because i input what it says, then it just says one of them at random on page load-up) I've seen them before, although more commonly under the topic of "did you know". I want the front page of my wiki to say quotes of the wiki's topic's that come from outside the wiki and are only in detail in the off wiki content.

Or if it's easier, have a random photo generator that shows a random screenshot of the content.

Bio of the Advance Wars Comedians Wiki

BionicleManFanatic 05:08, June 30, 2011 (UTC)
 * My wiki (The Sims Wiki) has this set up on our Community Portal. Here's what we have:

The first option you want randomly chosen from goes here Any additional option goes here And again... And again.

For instance, I can have a random number, 1 through 10, selected.

Here's the random number: 1  2  3  4  5  6  7  8  9  10  .

That really is best for simpler random choices, but it works for a basic usage. Hope I helped! --  LostInRiverview talk · blog 05:18, June 30, 2011 (UTC)
 * edit - Just so you know, every time you purge the page, a new option is chosen from the available options. This also happens every time you save a new edit, even if it's a null edit (as this purges the page). --  LostInRiverview talk · blog 05:20, June 30, 2011 (UTC)