Template:NewPostCount: Difference between revisions

From ChoralWiki
Jump to navigation Jump to search
m (Protected "Template:NewPostCount": DPL code inside ([edit=sysop] (indefinite) [move=sysop] (indefinite)))
(changed for the new categories)
Line 1: Line 1:
{{#dpl:
{{#dpl:
|categorymatch=Posted_{{{1|{{CURRENTYEAR}}-{{CURRENTMONTH}}}}}%
|category=Posted in {{#time:F|{{{1|{{CURRENTYEAR}}-{{CURRENTMONTH}}}}} }}
|category=Sheet music
|category=Sheet music
|namespace=
|namespace=

Revision as of 17:58, 28 May 2014

466

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

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

gives a count of the number of score pages (466) with newly posted editions today (2024-04-23).