Difference between revisions of "Template:NewPostCount"

From ChoralWiki
Jump to navigation Jump to search
m
(fix #time call: F Y,. not F yy)
 
Line 1: Line 1:
 
{{#dpl:
 
{{#dpl:
|category=Posted in {{#time:F yy|{{{1|{{CURRENTYEAR}}-{{CURRENTMONTH}}}}} }}
+
|category=Posted in {{#time:F Y|{{{1|{{CURRENTYEAR}}-{{CURRENTMONTH}}}}} }}
 
|category=Sheet music
 
|category=Sheet music
 
|namespace=
 
|namespace=

Latest revision as of 03:34, 1 January 2021

403

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

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

Examples

{{NewPostCount}}

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

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

gives a count of the number of score pages (403) with newly posted editions today (2021-11-30).