Jump to content

Template:Random article/doc

From Wikipedia, the free encyclopedia

Usage

[edit]

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

[edit]
{{Random article|Towns|Display}}

Parameter

[edit]
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

[edit]

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}}