Template:Counter
Revision as of 02:19, 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 22 September 2024 (for the big counter). | {{Counter|2024-09-22 03:00:00|big=yes}}
|
61 |
Chris last did something on 22 September 2024. | {{Counter|2024-09-22 03:00:00}}
|
61 days |
Chris last did something on 22 October 2024, and the previous streak was 15 days ago. | {{Counter|2024-10-22 03:00:00|15}}
|
31 days |
Chris last did something on 22 November 2024, and the previous streak was 15 days ago. | {{Counter|2024-11-22 03:00:00|15}}
|
15 days |
Chris last did something on 22 November 2024, and the previous streak was 1 day ago. | {{Counter|2024-11-22 03:00:00|1}}
|
1 day |
Chris last did something on 21 November 2024, and the previous streak was not recorded. | {{Counter|2024-11-21 03:00:00|0}}
|
1 day |
Chris last did something just now, and the previous streak was not recorded. | {{Counter|2024-11-22 03:00:00|0}}
|
0 days |