Template:NewScoreCount: Difference between revisions

From ChoralWiki
Jump to navigation Jump to search
(documentation, protection, categorization)
No edit summary
 
(8 intermediate revisions by 4 users not shown)
Line 1: Line 1:
{{#dpl:
{{#dpl:category=Sheet music
|categorymatch={{{1|{{CURRENTYEAR}}}}}%
|categorymatch={{{1|{{CURRENTYEAR}}}}}%
|category=Sheet music
|namespace=
|namespace=
|distinct=false
|distinct=false
Line 7: Line 6:
|resultsheader=%TOTALPAGES%
|resultsheader=%TOTALPAGES%
|noresultsheader=0
|noresultsheader=0
}}}}}}<noinclude>
|allowcachedresults=true
}}<noinclude>
{{prot-temp}}
{{prot-temp}}
[[Category:Templates|{{PAGENAME}}]]
{{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 18: Line 17:
'''Examples'''
'''Examples'''
<pre>{{NewScoreCount}}</pre>
<pre>{{NewScoreCount}}</pre>
gives a count of the number of editions ({{NewScoreCount}}) posted on score pages in the current year ({{CURRENTYEAR}}).
gives a count of the number of pages with editions submitted ({{NewScoreCount}}) in the current year ({{CURRENTYEAR}}).
<pre>{{NewScoreCount|2007}}</pre>
<pre>{{NewScoreCount|2007}}</pre>
gives a count of the number of editions ({{NewScoreCount|2007}}) posted on score pages in 2007.
gives a count of the number of pages with editions submitted ({{NewScoreCount|2007}}) in 2007.
<pre>{{NewScoreCount|2008-10}}</pre>
<pre>{{NewScoreCount|2008-10}}</pre>
gives a count of the number of editions ({{NewScoreCount|2008-10}}) posted on score pages in October of 2008.
gives a count of the number of pages with editions submitted ({{NewScoreCount|2008-10}}) in October of 2008.
<pre>{{NewScoreCount|2007-09-11}}</pre>
<pre>{{NewScoreCount|2007-09-11}}</pre>
gives a count of the number of editions ({{NewScoreCount|2007-09-11}}) posted on score pages on September 11, 2007.
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

1551

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 (1551) 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.