Difference between revisions of "Template:Random page in category"

From Holocron - Star Wars Combine
Jump to: navigation, search
(Created page with "<includeonly>{{Mod|(({{#time:U}}+({{{2|{{#time:z}}}}}))*({{{3|67}}})+({{NUMBEROFARTICLES:R}} mod ({{{3|67}}})))|{{{1|100}}}}}</includeonly><noinclude> This template creates a lin...")
 
Line 6: Line 6:
  
 
=== Examples ===
 
=== Examples ===
* {{Tl|Random page in category}} would produce on [[:Category:Physics]]: [[Special:RandomInCategory/Physics|Random page in category Physics]]
+
* {{Tl|Random page in category}} would produce on [[:Category:Battles]]: [[Special:RandomInCategory/Battles|Random page in category Battles]]
* {{Tl|Random page in category|Physics}} produces: {{Random page in category|Physics}}
+
* {{Tl|Random page in category|Battles}} produces: {{Random page in category|Battles}}
* {{Tl|Random page in category|Physics|text{{=}}Random page}} produces: {{Random page in category|Physics|text=Random page}}
+
* {{Tl|Random page in category|Battles|text{{=}}Random page}} produces: {{Random page in category|Battles|text=Random page}}
 
</noinclude>
 
</noinclude>
 
[[Category:Templates]]
 
[[Category:Templates]]

Revision as of 14:05, 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