Template:hcount
From Homestar Runner Wiki
(Difference between revisions)
(fix doc) |
(fix doc to new template) |
||
Line 8: | Line 8: | ||
Please be sure to first reset the counter before making any calls to this template in order to a sufficiently high enough number like this: | Please be sure to first reset the counter before making any calls to this template in order to a sufficiently high enough number like this: | ||
- | :<code><nowiki>{{</nowiki> | + | :<code><nowiki>{{</nowiki>[[Template:hreset|hreset]]|''countername''}}</code> |
This ensures that the table is sorted correctly (in proper numerical order). | This ensures that the table is sorted correctly (in proper numerical order). | ||
Revision as of 15:06, 28 April 2007
This template is for adding a hidden count meant for use in a sortable table. Usage:
{{ hcount | countername }}
where countername is the name of the counter being used. Place this template in each cell of a given column.
IMPORTANT:
Please be sure to first reset the counter before making any calls to this template in order to a sufficiently high enough number like this:
{{hreset|countername}}
This ensures that the table is sorted correctly (in proper numerical order).