Template:Random Component/doc

This template generates a box for a portal home page. The content is drawn randomly from a pre-defined list. Using this template makes editing portal page easy!

Example
To see a real time example, see what links here.

Here's a stale example of the output generated by this template.

Prerequisites

 * Create a subpage first. If your portal is Portal:Foo, then a subpage could be Portal:Foo/Selected picture.
 * Under that subpage, create subpage to that page, named 1, 2, 3, ... with no prefixing 0. And it does not start with 0.

Parameters
Using this template for your portal page is easy! Just include these parameters


 * subpage: The subpage of the transcluded page, e.g. Selected picture
 * max: The maximum number of sub-subpages. Must be a positive integer.