Last modified on 4 May 2015, at 21:17

Template:Random article

Revision as of 21:17, 4 May 2015 by Ian (Talk | contribs) (1 revision imported: Random Article template from en.wp)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Random article

Template documentation[view] [edit] [history] [purge]

Usage

This template creates a link to a random article from a specified category and its subcategories. The tool used in the background for this comes from User:Erwin.

Kopiervorlage

{{Random article|Towns|Display}}

Parameter

1
Title of the category to be used for the search.
mandatory
Several categories may be separated by a pipe: {{!}}.
2
Alternative description of the link (default: Random article)
(optional)

Example

Use with a category (Random article):

{{Random article|Freiburg im Breisgau}}

Use with a category and other names (Random article from Freiburg):

{{Random article|Freiburg im Breisgau|Random article from Freiburg}}

Use with several categories (Random Hanseatic city article):

{{Random article|Hamburg{{!}}Bremen|Random Hanseatic city article}}