Difference between revisions of "Template:Random page in category"
Rupert Havok (talk | contribs) |
Rupert Havok (talk | contribs) |
||
Line 9: | Line 9: | ||
* {{Tl|Random page in category|Battles}} produces: {{Random page in category|Battles}} | * {{Tl|Random page in category|Battles}} produces: {{Random page in category|Battles}} | ||
* {{Tl|Random page in category|Battles|text{{=}}Random page}} produces: {{Random page in category|Battles|text=Random page}} | * {{Tl|Random page in category|Battles|text{{=}}Random page}} produces: {{Random page in category|Battles|text=Random page}} | ||
+ | |||
+ | [[Category:Templates]] | ||
</noinclude> | </noinclude> | ||
− |
Latest revision as of 14:06, 28 May 2016
This template creates a link to random page from a Holocron category.
Usage
- First parameter is the category from which to get a random page. If it is not specified, it defaults to current page, which works only on category pages.
Examples
- {{Random page in category}} would produce on Category:Battles: Random page in category Battles
- {{Random page in category}} produces: Expression error: Unrecognized word "battles".
- {{Random page in category}} produces: Expression error: Unrecognized word "battles".