^RandomThread( [ startURL, relatives, templateURL ] );
The Collaboration System can be used for much more than just a forum. A few examples of its possible usages are an FAQ, photo gallery, job listings, quotes database or weblog. For these applications (and others that you might think of) it can be nice to display a random entry from such a CS somewhere on your site. That is exactly the functionality that this macro provides.
It displays the start post of a thread that is randomly selected from a (possibly random) CS, depending on the parameters. The way the selected post is displayed is controlled by a template. All the template variables that are normally available in a CS Post template are available in this macro as well.
Parameters
Although all the parameters can be omitted, it usually makes sense to specify them all. If you want to display a random thread from a single CS, we suggest you use the URL of the CS as the startURL and "self" as relatives.
Examples:
This Macro may be nested inside other Macros if the post does not contain commas or quotes.
Keywords: macro