Skip to content

Latest commit

 

History

History
91 lines (56 loc) · 1.99 KB

README.md

File metadata and controls

91 lines (56 loc) · 1.99 KB

Olay - numbers

Display random numbers and counters.

Base URL: https://etrusci.org/tool/olay/?mod=numbers
Default configuration: numbers.conf.js
Default style: numbers.default.css


Examples


Configuration

updaterate

Numbers update rate in milliseconds.

Valid: Integers >= 1

type

Which type of numbers/counter to load.

Valid:

  • random: Random numbers in this range will be picked.
  • countup: Count up from start to end.
  • countdown: Count down from start to end.

start, end

Smallest (start) and largest (end) number of the range to use.

Valid:

  • Integers: Use this number
  • none: If type is set to countup or countdown, count forever.

repnum

Whether to replace numbers with characters.

Valid:

  • true: Replace numbers with characters
  • false: Do not replace numbers with characters

repmap

The character map for repnum.

Requires: repnum = true
Valid:

  • 1: ABCDEFGHIJ
  • 2: ZYXWVUTSRQ
  • 3: 9876543210
  • 4: ●□◆■○▶◁▲◇▼
  • 5: ٠١٢٣٤٥٦٧٨٩

Output Styling

HTML Elements

<div class="mod numbers">
    {numbers}
</div>

Available CSS Selectors

.mod {} /* or */ .mod.numbers {} /* Module output container */