Diff: Help/RandomPagePlugin
Note: You are viewing an old revision of this page. View the current version.
Differences between version 4 and previous revision of Help/RandomPagePlugin.
Other diffs: Previous Major Revision, Previous Author
Newer page: | version 4 | Last edited on 22 May 2014 3:01 | by harold | Revert |
Older page: | version 3 | Last edited on 9 September 2007 0:16 | by harold | Revert |
@@ -1,27 +1,47 @@
-_short description_
+The **~RandomPage** [[Help:WikiPlugin|plugin]] displays a list of randomly chosen pages or redirects to a random page.
-!
Usage
-<verbatim>
-
<?plugin
RandomPage ?
>
-</verbatim>
+==
Usage ==
+{{{
+<<
RandomPage arguments>
>
+}}}
-!
Arguments
+==
Arguments ==
-page _(default
: current pagename)_
:
- The page to execute upon.
+All [[Help
:PageList|PageList]] arguments, plus the following ones
:
-! Example
+{| class="bordered"
+|-
+
! Argument
+! Description
+! Default value
+|-
+| **numpages**
+| Number of pages to list.
+| 20
+|-
+| **redirect**
+| Do not display random page link, redirect to random page.
+| empty
+|-
+| **exclude**
+| Pages to exclude from random
+| RandomPage, HomePage, AllPages, RecentChanges, RecentEdits, FullRecentChanges
+|}
-<verbatim>
-<?plugin RandomPage ?>
-</verbatim>
+== Example ==
-<?plugin
RandomPage ?
>
+{{{
+<
<RandomPage numpages=10 >
>
+}}}
-! Author
-PhpWiki:ReiniUrban
+<<RandomPage numpages=10 >>
-! See Also
+== Author ==
+* [[Help:Reini Urban|Reini Urban]]
+== See Also ==
+
+<noinclude>
----
-PhpWikiDocumentation Help:WikiPlugin
+[[
PhpWikiDocumentation]] [[CategoryWikiPlugin]]
+</noinclude>
version 4
The RandomPage plugin displays a list of randomly chosen pages or redirects to a random page.
Usage
<<RandomPage arguments>>
Arguments
All PageList arguments, plus the following ones:
Argument |
Description |
Default value |
---|---|---|
numpages |
Number of pages to list. |
20 |
redirect |
Do not display random page link, redirect to random page. |
empty |
exclude |
Pages to exclude from random |
RandomPage, HomePage, AllPages, RecentChanges, RecentEdits, FullRecentChanges |
Example
<<RandomPage numpages=10 >>
Plugin RandomPage disabled. Plugin not run: not in browse mode
<?plugin RandomPage numpages=10 ?>