This template is used on approximately 5,400 pages and changes may be widely noticed. Test changes in the template's /sandbox or /testcases subpages, or in your own user subpage. Consider discussing changes on the talk page before implementing them.
Preview message: Transclusion count updated automatically (see documentation). |
This template generates a pseudo-random integer between 0 and |count|-1.
{{Random number|
count|
seed|
prime}}
{{Random number}}
= 24 (default, gives values between 0 and 99){{Random number|1000}}
= 624 (second and third digit are the same as above){{Random number|1000}}
= 624 (same page load, same output){{Random number|1000|315|67}}
= 624 (same as above){{Random number|1000|315|61}}
= 647 (this and others should all be different){{Random number|1000|6}}
= 921{{Random number|1000|5}}
= 854{{Random number|1000|4}}
= 787{{Random number|1000|3}}
= 720{{Random number|1000|2}}
= 653{{Random number|1000|1}}
= 586{{Random number|1000|0}}
= 519{{Random number|1000|1|17}}
= 770 (varying the prime number){{Random number|1000|1|19}}
= 803{{Random number|1000|1|23}}
= 858{{Random number|1000|1|29}}
= 951{{Random number|1000|1|31}}
= 992{{Random number|1000|1|37}}
= 55{{Random number|1000|1|41}}
= 121{{Random number|1000|1|43}}
= 155{{Random number|1000|1|47}}
= 232{{Random number|1000|1|51}}
= 314{{Random number|1000|1|53}}
= 336{{Random number|1000|1|59}}
= 429{{Random number|1000|1|61}}
= 432{{Random number|1000|1|67}}
= 519{{Random number|1000|1|71}}
= 605{{Random number|1000|1|73}}
= 631{{Random number|1000|1|79}}
= 703