Template:Random component/doc

From Wikipedia, the free encyclopedia
This is the current revision of this page, as edited by imported>HouseBlaster at 04:15, 8 December 2024 (HouseBlaster moved page Template:Random Component/doc to Template:Random component/doc: caps). The present address (URL) is a permanent link to this version.
(diff) ← Previous revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Script error: No such module "Message box". 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.

Script error: No such module "Box-header". Script error: No such module "lorem ipsum".

footer

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.

See also