Difference between revisions of "Template:Random article/doc"
From ChaldeanWiki
m (1 revision imported: Random Article template from en.wp) |
|
(No difference)
|
Latest revision as of 21:17, 4 May 2015
Contents
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}}