Template:hcount
From Homestar Runner Wiki
(Difference between revisions)
(+desc) |
(+see also) |
||
Line 11: | Line 11: | ||
This ensures that the table is sorted correctly (in proper numerical order). | This ensures that the table is sorted correctly (in proper numerical order). | ||
+ | ====See Also==== | ||
+ | *[[HRWiki:Counter|Counter function usage]] | ||
[[Category:Formatting Templates|{{PAGENAME}}]] | [[Category:Formatting Templates|{{PAGENAME}}]] | ||
</noinclude> | </noinclude> |
Revision as of 14:52, 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:
{{ resetcount: countername | 10000 }}
This ensures that the table is sorted correctly (in proper numerical order).