Random Numbers

1) Iframe Random Number Generator into Page

Syntax

[[html]]
<script type="text/javascript" id="WolframAlphaScripta56774a4d6635dbf2b31b18145896adf" src="http://www.wolframalpha.com/widget/widget.jsp?id=a56774a4d6635dbf2b31b18145896adf&theme=green&output=iframeOpenExpand&height=200"></script>
[[/html]]

2) Wikidot ListPages

Requires an autonumbered category.

Create pages either via the api or using the newpage module with save and refresh which allows pages to be created quickly as you don't go to the page after it is created but the current page refreshes.

Enter any text into the title box then press the button to create the new page. It will then be included in possible results of the ListPages module.

[[module NewPage category="menu" parent="orders:main" mode="save-and-refresh" button="Create Random Number Page"]]

List a Random Page using:

[[module ListPages category="menu" order="random"  limit="1"]]
%%name%%
[[/module]]

Result:

47



Most Recent Pages in the Menu Category:

47

46

45

44

43

42

41

40

39

38

Site Design, Syntax and Examples by Rob Elliott 2008-2016