Template:hcount

From Homestar Runner Wiki

(Difference between revisions)
Jump to: navigation, search
(+see also)
(fix doc)
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> resetcount: ''countername'' | 10000 }}</code>
+
:<code><nowiki>{{</nowiki>#resetcount: ''countername'' | 10000 }}</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 14:56, 28 April 2007

1 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).

See Also

Personal tools