Template:NewPostCount: Difference between revisions

From ChoralWiki
Jump to navigation Jump to search
m (Text replace - "{{PAGENAME}}" to "Category:Templates")
m (Text replacement - "Category\:(.*)\]\]" to "Category:DPL templates]] Category:$1")
Line 10: Line 10:
}}<noinclude>
}}<noinclude>
{{prot-temp}}
{{prot-temp}}
[[Category:DPL templates]]
[[Category:Templates]]
[[Category:Templates]]
{{DisplayBox|text='''Usage''' &ndash;
{{DisplayBox|text='''Usage''' &ndash;

Revision as of 04:10, 5 January 2020

368

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

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

gives a count of the number of score pages (368) with newly posted editions today (2024-03-29).