Difference between revisions of "Template:NewPostCount"

From ChoralWiki
Jump to navigation Jump to search
(changed for the new categories)
m (Text replace - "{{PAGENAME}}" to "Category:Templates")
Line 10: Line 10:
 
}}<noinclude>
 
}}<noinclude>
 
{{prot-temp}}
 
{{prot-temp}}
[[Category:Templates|{{PAGENAME}}]]
+
[[Category:Templates]]
 
{{DisplayBox|text='''Usage''' &ndash;
 
{{DisplayBox|text='''Usage''' &ndash;
 
There are two forms by which the template may be invoked:
 
There are two forms by which the template may be invoked:

Revision as of 06:44, 1 June 2015

15

Usage – There are two forms by which the template may be invoked:

{{NewScoreCount}}
{{NewPostCount|yyyy-mm-dd}}
    (valid only if yyyy-mm-dd falls withing the past thirty days)

Examples

{{NewPostCount}}

gives a count of the number of score pages (15) with newly posted editions in the current month (12).

{{NewPostCount|{{CURRENTYEAR}}-{{CURRENTMONTH}}-{{CURRENTDAY2}}}}

gives a count of the number of score pages (15) with newly posted editions today (2021-12-03).