Template:hresetcount
From Homestar Runner Wiki
(Difference between revisions)
It's dot com (Talk | contribs) (the page this change was made for actually needs nine counters, not eight; to avoid adding on here, let's take this back to six counters and just use two templates on that page) |
(update to support tally-specific counters) |
||
Line 12: | Line 12: | ||
-->{{#resetcount:{{{5}}}_visible|{{{vv|1}}}|{{{countby|1}}}}}<!-- | -->{{#resetcount:{{{5}}}_visible|{{{vv|1}}}|{{{countby|1}}}}}<!-- | ||
-->{{#resetcount:{{{6}}}_visible|{{{vv|1}}}|{{{countby|1}}}}}<!-- | -->{{#resetcount:{{{6}}}_visible|{{{vv|1}}}|{{{countby|1}}}}}<!-- | ||
+ | -->{{#if:{{{tally|}}}|<!-- /* Support optional tally-specific counters */ | ||
+ | -->{{#resetcount:{{{1}}}_tally|1|1}}<!-- | ||
+ | -->{{#resetcount:{{{2}}}_tally|1|1}}<!-- | ||
+ | -->{{#resetcount:{{{3}}}_tally|1|1}}<!-- | ||
+ | -->{{#resetcount:{{{4}}}_tally|1|1}}<!-- | ||
+ | -->{{#resetcount:{{{5}}}_tally|1|1}}<!-- | ||
+ | -->{{#resetcount:{{{6}}}_tally|1|1}}<!-- | ||
+ | -->{{#resetcount:{{{1}}}_count|1|1}}<!-- | ||
+ | -->{{#resetcount:{{{2}}}_count|1|1}}<!-- | ||
+ | -->{{#resetcount:{{{3}}}_count|1|1}}<!-- | ||
+ | -->{{#resetcount:{{{4}}}_count|1|1}}<!-- | ||
+ | -->{{#resetcount:{{{5}}}_count|1|1}}<!-- | ||
+ | -->{{#resetcount:{{{6}}}_count|1|1}}<!-- | ||
+ | -->|}}<!-- /* end {{#if:{{{tally|}}} */ | ||
--><noinclude> | --><noinclude> | ||
*See {{tl|hcount}} for use with hidden counters. | *See {{tl|hcount}} for use with hidden counters. | ||
*See {{tl|vcount}} for use with visible counters. | *See {{tl|vcount}} for use with visible counters. | ||
+ | *See {{tl|tally time}} for use with time tally counters. | ||
[[Category:Counter Formatting Templates|{{PAGENAME}}]] | [[Category:Counter Formatting Templates|{{PAGENAME}}]] | ||
</noinclude> | </noinclude> |
Current revision as of 12:29, 2 January 2025
- See {{hcount}} for use with hidden counters.
- See {{vcount}} for use with visible counters.
- See {{tally time}} for use with time tally counters.