Template:Random article
From ChaldeanWiki
Revision as of 21:17, 4 May 2015 by Ian (Talk | contribs) (1 revision imported: Random Article template from en.wp)
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}}
The above documentation is transcluded from Template:Random article/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |