Template:Counter

From CWCki
Revision as of 02: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 14 January 2025. {{Counter|2025-01-14 03:00:00}} 59 days
Chris last did something on 14 February 2025, and the previous streak was 15 days ago. {{Counter|2025-02-14 03:00:00|15}} 28 days
Chris last did something on 14 March 2025, and the previous streak was 15 days ago. {{Counter|2025-03-14 03:00:00|15}} 16 days