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
(New page: {{#expr: {{LOCALTIMESTAMP}} mod {{{1|100}}}}}<noinclude> This template produces a integer between 1 and {{{1}}}. It follows a visible cycle, so it isn't really random. Also, it won't upd...)
 
(Update)
 
(13 intermediate revisions by 3 users not shown)
Line 1: Line 1:
{{#expr: {{LOCALTIMESTAMP}} mod {{{1|100}}}}}<noinclude>
+
{{#randint:1|{{{1|100}}}}}<noinclude>
 
 
 
 
This template produces a integer between 1 and {{{1}}}. It follows a visible cycle, so it isn't really random. Also, it won't update every time the page loads.
 
  
 +
This template produces a integer between 1 and {{{1}}}. Once the page is cached, the number will remain fairly constant.
 
</noinclude>
 
</noinclude>

Latest revision as of 04:43, 29 January 2014

85

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