v50 Steam/Premium information for editors
  • v50 information can now be added to pages in the main namespace. v0.47 information can still be found in the DF2014 namespace. See here for more details on the new versioning policy.
  • Use this page to report any issues related to the migration.
This notice may be cached—the current version can be found here.

Difference between revisions of "Template:Rand"

From Dwarf Fortress Wiki
Jump to navigation Jump to search
m
(let's see if *this* works)
Line 1: Line 1:
{{#expr: ({{LOCALTIMESTAMP}} + {{NUMBEROFEDITS:R}}) mod {{{1|100}}}+1}}<noinclude>
+
{{#expr: ({{CURRENTTIMESTAMP}} + {{NUMBEROFFILES:R}}) mod {{{1|100}}}+1}}<noinclude>
  
  
 
This template produces a integer between 1 and {{{1}}}. Once the page is cached, the number will remain fairly constant.
 
This template produces a integer between 1 and {{{1}}}. Once the page is cached, the number will remain fairly constant.
 
</noinclude>
 
</noinclude>

Revision as of 09:12, 1 May 2008

4


This template produces a integer between 1 and {{{1}}}. Once the page is cached, the number will remain fairly constant.