თარგი:Random portal component

ვიკიპედიიდან

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

Here's a stale example of the output generated by this template. თარგი:Portal:Box-header თარგი:Lorem ipsum თარგი:Portal:box-footer

Using this template for your portal page is easy!

[რედაქტირება] 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

  • header: The header text of the box.
  • footer: (optional) The footer text in the box.
  • subpage: The subpage of the transcluded page, e.g. Selected picture
  • max: The maximum number of sub-subpages. Must be a positive integer.
  • seed: (optional) The default seed is 17 and can be set to any other integer value (used to generate distinct values on the same page). Prime numbers work best, such as 2, 3, 5, 7, 11, 13, 17, 19, 23, 29, 31, 37, 41, 43, 47, 53, 59, 61, 67, 71, 73, 79, 83, 89, 97, 101, 103, 107, 109, and 113.