Template:Rand: Difference between revisions

From PZwiki
(Created page with "{{#expr: abs {{#expr: ({{LOCALTIMESTAMP}} + {{NUMBEROFEDITS:R}}) mod {{{1|100}}}}}+1}}<noinclude>Cached number (out of 100): {{rand|100}}</noinclude>")
 
mNo edit summary
Line 1: Line 1:
{{#expr: abs {{#expr: ({{LOCALTIMESTAMP}} + {{NUMBEROFEDITS:R}}) mod {{{1|100}}}}}+1}}<noinclude>Cached number (out of 100): {{rand|100}}</noinclude>
<includeonly>{{#expr: abs {{#expr: ({{LOCALTIMESTAMP}} + {{NUMBEROFEDITS:R}}) mod {{{1|100}}}}}+1}}</includeonly>
<noinclude>Randomly selected number (0 - 100): {{rand|100}}<br><br>Usage: <nowiki>{{rand|max}}</nowiki></noinclude>

Revision as of 04:42, 7 October 2011

Randomly selected number (0 - 100): 99

Usage: {{rand|max}}