Template:Random number
- Аԥсшәа
- Afrikaans
- العربية
- الدارجة
- অসমীয়া
- Авар
- Azərbaycanca
- Беларуская (тарашкевіца)
- Български
- বাংলা
- Bosanski
- Català
- 閩東語 / Mìng-dĕ̤ng-ngṳ̄
- Cebuano
- کوردی
- Čeština
- Cymraeg
- Dansk
- Deutsch
- Ελληνικά
- English
- Español
- Euskara
- فارسی
- Suomi
- Français
- Arpetan
- Galego
- 客家語 / Hak-kâ-ngî
- हिन्दी
- Hrvatski
- Magyar
- Հայերեն
- Bahasa Indonesia
- Ilokano
- Íslenska
- Italiano
- 日本語
- ქართული
- Taqbaylit
- ភាសាខ្មែរ
- 한국어
- Kurdî
- Kernowek
- ລາວ
- Latviešu
- Македонски
- मराठी
- Bahasa Melayu
- မြန်မာဘာသာ
- नेपाली
- Nederlands
- Norsk nynorsk
- Norsk bokmål
- ߒߞߏ
- ଓଡ଼ିଆ
- Português
- ရခိုင်
- Romani čhib
- Română
- Русский
- Scots
- සිංහල
- Simple English
- Slovenčina
- Српски / srpski
- Svenska
- ꠍꠤꠟꠐꠤ
- తెలుగు
- ไทย
- Türkçe
- Татарча / tatarça
- Українська
- اردو
- Oʻzbekcha / ўзбекча
- Tiếng Việt
- 文言
- 閩南語 / Bân-lâm-gí
- 粵語
- 中文
Appearance
From Meta, a Wikimedia project coordination wiki
53
Usage
[edit ]Return a pseudo-random integer between 0 (included) and a modulus value (excluded).
Optional parameters
[edit ]- 1=modulus (default is 100 to return a random number between 0 and 99).
- 2=seed (default is set from day of the year) is used so that different seeds will generate different random numbers on page (but generated numbers will be linearly spaced, by the value of the modulus).
- 2=prime (default 67) ; may be used as well to generate different random numbers on page, but should be a prime (generated numbers will be unrelated).
The above documentation is transcluded from Template:Random number/doc. (edit | history)
Editors can experiment in this template’s sandbox (create | mirror) and testcases (create) pages.
Please add categories to the /doc subpage. Subpages of this template.
Editors can experiment in this template’s sandbox (create | mirror) and testcases (create) pages.
Please add categories to the /doc subpage. Subpages of this template.