Difference between revisions of "Category:Random page in category"
Jump to navigation
Jump to search
blackwiki>Ahecht (Use toolforge:RandomInCategory to restore some of the pre-2013 functionality) |
blackwiki>Ahecht (fix urlencode) |
||
| Line 1: | Line 1: | ||
{{#if:{{#ifeq:{{NAMESPACENUMBER}}|14|*|{{{1<includeonly>|</includeonly>}}}}} | {{#if:{{#ifeq:{{NAMESPACENUMBER}}|14|*|{{{1<includeonly>|</includeonly>}}}}} | ||
| − | |<span class="plainlinks">[//RandomInCategory.toolforge.org/{{{1| | + | |<span class="plainlinks">[//RandomInCategory.toolforge.org/{{urlencode:{{{1|{{PAGENAME}}}}}|WIKI}}?site={{urlencode:{{SERVERNAME}}|WIKI}}{{#if:{{{ns|}}}|&namespace={{urlencode:{{{ns}}}|WIKI}}}}{{#if:{{{type|}}}|&type={{urlencode:{{{type}}}|WIKI}}}}{{#if:{{{action|}}}|&action={{urlencode:{{{action}}}|WIKI}}}} {{{text|Random {{{type|page}}} in {{#if:{{{1|}}}|category {{{1}}}|this category}}}}}]</span> |
|{{Error|Error: A category needs to be specified or this template needs to be placed on a category page}} | |{{Error|Error: A category needs to be specified or this template needs to be placed on a category page}} | ||
}}<noinclude> | }}<noinclude> | ||
Revision as of 20:33, 28 June 2020
Documentation[create]
This category currently contains no pages or media.