Toggle menu
15
236
75
27.6K
Kenshi Wiki
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Template:Random page in category: Difference between revisions

Template page
Created page with "{{Documentation subpage}} == Usage == {{no documentation}} <includeonly>{{Sandbox other|| <!-- Categories below this line --> Category:Internal link templates Category:WikiProject templates Category:Wikipedia button templates }}</includeonly>"
 
No edit summary
 
Line 1: Line 1:
{{Documentation subpage}}
{{#if:{{#ifeq:{{NAMESPACENUMBER}}|14|*|{{{1<includeonly>|</includeonly>}}}}}
== Usage ==
|<span class="plainlinks random-page-in-category">[https://RandomInCategory.toolforge.org/{{urlencode:{{{1|{{PAGENAME}}}}}|WIKI}}?site={{urlencode:{{SERVERNAME}}|WIKI}}{{#if:{{{ns|}}}|&namespace={{urlencode:{{{ns}}}|WIKI}}}}{{#if:{{{type|}}}|&type={{urlencode:{{{type}}}|WIKI}}}}{{#if:{{{returntype|}}}|&returntype={{{returntype}}}}}{{#if:{{{action|}}}|&action={{urlencode:{{{action}}}|WIKI}}}} {{{text|Random {{#ifeq:{{{type|}}}|subcat|category|{{{type|page}}}}} in {{#if:{{{1|}}}|category {{{1}}}|this category}}}}}]</span>
{{no documentation}}
|{{Error|Error: A category needs to be specified or this template needs to be placed on a category page}}
 
}}<noinclude>
<includeonly>{{Sandbox other||
{{Documentation}}
<!-- Categories below this line -->
</noinclude>
[[Category:Internal link templates]]
[[Category:WikiProject templates]]
[[Category:Wikipedia button templates]]
}}</includeonly>

Latest revision as of 19:30, 21 February 2025

Random page in this category