Template:NewScoreCount: Difference between revisions

From ChoralWiki
Jump to navigation Jump to search
m (Text replace - "{{PAGENAME}}" to "Category:Templates")
eu>BarryJ
(DPL3 form of code)
Line 1: Line 1:
{{#dpl:
<includeonly>{{#dpl:category=Sheet music
|categorymatch={{{1|{{CURRENTYEAR}}}}}%
|categorymatch={{{1|{{CURRENTYEAR}}}}}%
|category=Sheet music
|namespace=
|namespace=
|distinct=false
|distinct=false
Line 8: Line 7:
|noresultsheader=0
|noresultsheader=0
|allowcachedresults=true
|allowcachedresults=true
}}<noinclude>
}}</includeonly><noinclude>
{{prot-temp}}
{{prot-temp}}
[[Category:Templates]]
{{DisplayBox|text='''Usage''' &ndash;
{{DisplayBox|text='''Usage''' &ndash;
There are four forms by which the template may be invoked:
There are four forms by which the template may be invoked:
Line 27: Line 25:
gives a count of the number of editions submitted ({{NewScoreCount|2007-09-11}}) on September 11, 2007.
gives a count of the number of editions submitted ({{NewScoreCount|2007-09-11}}) on September 11, 2007.
}}
}}
[[Category:Templates]]
[[Category:DPL templates]]
</noinclude>

Revision as of 23:00, 3 December 2019

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

{{NewScoreCount}}
{{NewScoreCount|yyyy}}
{{NewScoreCount|yyyy-mm}}
{{NewScoreCount|yyyy-mm-dd}}

Examples

{{NewScoreCount}}

gives a count of the number of editions submitted (1560) in the current year (2024).

{{NewScoreCount|2007}}

gives a count of the number of editions submitted (910) in 2007.

{{NewScoreCount|2008-10}}

gives a count of the number of editions submitted (74) in October of 2008.

{{NewScoreCount|2007-09-11}}

gives a count of the number of editions submitted (97) on September 11, 2007.