Template:NewScoreCount: Difference between revisions

From ChoralWiki
Jump to navigation Jump to search
mNo edit summary
No edit summary
 
(11 intermediate revisions by 4 users not shown)
Line 1: Line 1:
{{#dpl:
{{#dpl:category=Sheet music
|categorymatch={{{1|2008}}}%
|categorymatch={{{1|{{CURRENTYEAR}}}}}%
|category=Sheet music
|namespace=
|namespace=
|distinct=false
|mode=userformat
|mode=userformat
|resultsheader=%TOTALPAGES%
|resultsheader=%TOTALPAGES%
|noresultsheader=0
|noresultsheader=0
|allowcachedresults=true
}}<noinclude>
{{prot-temp}}
{{DisplayBox|text='''Usage''' &ndash;
There are four forms by which the template may be invoked:
<pre>{{NewScoreCount}}
{{NewScoreCount|yyyy}}
{{NewScoreCount|yyyy-mm}}
{{NewScoreCount|yyyy-mm-dd}}</pre>
'''Examples'''
<pre>{{NewScoreCount}}</pre>
gives a count of the number of pages with editions submitted ({{NewScoreCount}}) in the current year ({{CURRENTYEAR}}).
<pre>{{NewScoreCount|2007}}</pre>
gives a count of the number of pages with editions submitted ({{NewScoreCount|2007}}) in 2007.
<pre>{{NewScoreCount|2008-10}}</pre>
gives a count of the number of pages with editions submitted ({{NewScoreCount|2008-10}}) in October of 2008.
<pre>{{NewScoreCount|2007-09-11}}</pre>
gives a count of the number of pages with editions submitted ({{NewScoreCount|2007-09-11}}) on September 11, 2007.
}}
}}
[[Category:Templates]]
[[Category:DPL templates]]
</noinclude>

Latest revision as of 17:39, 1 June 2020

1077

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 pages with editions submitted (1077) in the current year (2024).

{{NewScoreCount|2007}}

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

{{NewScoreCount|2008-10}}

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

{{NewScoreCount|2007-09-11}}

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