Template:hresetcount
From Homestar Runner Wiki
(Difference between revisions)
(line breaks and extra parameters) |
(update to support tally-specific counters) |
||
| (includes 1 intermediate revision) | |||
| Line 6: | Line 6: | ||
-->{{#resetcount:{{{5}}}|{{{v|10000}}}|{{{countby|1}}}}}<!-- | -->{{#resetcount:{{{5}}}|{{{v|10000}}}|{{{countby|1}}}}}<!-- | ||
-->{{#resetcount:{{{6}}}|{{{v|10000}}}|{{{countby|1}}}}}<!-- | -->{{#resetcount:{{{6}}}|{{{v|10000}}}|{{{countby|1}}}}}<!-- | ||
| - | |||
| - | |||
-->{{#resetcount:{{{1}}}_visible|{{{vv|1}}}|{{{countby|1}}}}}<!-- | -->{{#resetcount:{{{1}}}_visible|{{{vv|1}}}|{{{countby|1}}}}}<!-- | ||
-->{{#resetcount:{{{2}}}_visible|{{{vv|1}}}|{{{countby|1}}}}}<!-- | -->{{#resetcount:{{{2}}}_visible|{{{vv|1}}}|{{{countby|1}}}}}<!-- | ||
| Line 14: | 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}}}}}<!-- | ||
| - | -->{{#resetcount:{{{ | + | -->{{#if:{{{tally|}}}|<!-- /* Support optional tally-specific counters */ |
| - | -->{{#resetcount:{{{ | + | -->{{#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.
