Template:NewPostCount: Difference between revisions
Jump to navigation
Jump to search
m (Text replacement - "Category\:(.*)\]\]" to "Category:DPL templates]] Category:$1") |
(change to used category of form "Posted in <month> <yyyy>" (so as to eliminate variable past time dependency issues)) |
||
Line 1: | Line 1: | ||
{{#dpl: | {{#dpl: | ||
|category=Posted in {{#time:F|{{{1|{{CURRENTYEAR}}-{{CURRENTMONTH}}}}} }} | |category=Posted in {{#time:F yy|{{{1|{{CURRENTYEAR}}-{{CURRENTMONTH}}}}} }} | ||
|category=Sheet music | |category=Sheet music | ||
|namespace= | |namespace= | ||
Line 16: | Line 16: | ||
<pre>{{NewScoreCount}} | <pre>{{NewScoreCount}} | ||
{{NewPostCount|yyyy-mm-dd}} | {{NewPostCount|yyyy-mm-dd}} | ||
( | (normally used only if yyyy-mm-dd falls withing the past thirty days)</pre> | ||
'''Examples''' | '''Examples''' | ||
<pre>{{NewPostCount}}</pre> | <pre>{{NewPostCount}}</pre> |
Revision as of 03:12, 4 August 2020
0
This high-risk template has been protected from editing to prevent vandalism. Please use the talk page to ask an administrator about making an edit to change this template. |
Usage – There are two forms by which the template may be invoked:
{{NewScoreCount}} {{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 (03).
{{NewPostCount|{{CURRENTYEAR}}-{{CURRENTMONTH}}-{{CURRENTDAY2}}}}
gives a count of the number of score pages (0) with newly posted editions today (2024-03-28).