Template:Counter
Revision as of 03:35, 25 July 2021 by Little Owl (talk | contribs)
This template automates the big counter and the previous streak: if the current streak breaks the record, this template will handle this for you.
For use in both Begging and Coping counters.
Examples
| Scenario | Input | Output |
|---|---|---|
| Chris last did something on 28 January 2026 (for the big counter). | {{Counter|2026-01-28 10:00:00|big=yes}}
|
59 |
| Chris last did something on 28 January 2026. | {{Counter|2026-01-28 10:00:00}}
|
59 days |
| Chris last did something on 28 February 2026, and the longest streak was 15 days. | {{Counter|2026-02-28 10:00:00|15}}
|
28 days |
| Chris last did something on 28 March 2026, and the longest streak was 15 days. | {{Counter|2026-03-28 10:00:00|15}}
|
15 days |
| Chris last did something on 28 March 2026, and the longest streak was one day. | {{Counter|2026-03-28 10:00:00|1}}
|
1 day |
| Chris last did something yesterday, and the longest streak was not recorded. | {{Counter|2026-03-27 10:00:00|0}} or{{Counter|2026-03-27 10:00:00}}
|
1 day |
| Chris last did something just now, and the longest streak was not recorded. | {{Counter|2026-03-28 10:00:00|0}} or{{Counter|2026-03-28 10:00:00}}
|
0 days |