Template:Counter

From CWCki
Revision as of 01:53, 25 July 2021 by Little Owl (talk | contribs)
Jump to navigation Jump to search

This template automates the streak count: 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. {{Counter|2024-09-22 19:00:00}} 61 days
Chris last did something on 22 October 2024, and the previous streak was 15 days ago. {{Counter|2024-10-22 19: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 19:00:00|15}} 16 days