Difference between revisions of "Template:NewPostCount"

From ChoralWiki
Jump to navigation Jump to search
(change to used category of form "Posted in <month> <yyyy>" (so as to eliminate variable past time dependency issues))
m
Line 14: Line 14:
 
{{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:
<pre>{{NewScoreCount}}
+
<pre>{{NewPostCount}}
 
{{NewPostCount|yyyy-mm-dd}}
 
{{NewPostCount|yyyy-mm-dd}}
 
     (normally used only if yyyy-mm-dd falls withing the past thirty days)</pre>
 
     (normally used only if yyyy-mm-dd falls withing the past thirty days)</pre>

Revision as of 04:53, 4 August 2020

0

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 (0) with newly posted editions in the current month (01).

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

gives a count of the number of score pages (0) with newly posted editions today (2022-01-24).