Difference between revisions of "Template:NewWorkCount2"

From ChoralWiki
Jump to navigation Jump to search
Line 8: Line 8:
 
|noresultsheader=0
 
|noresultsheader=0
 
|allowcachedresults=true
 
|allowcachedresults=true
}}}}
+
}}}}<noinclude>
 
 
<noinclude>
 
 
<!--{{prot-temp}}-->
 
<!--{{prot-temp}}-->
 
[[Category:Templates|{{PAGENAME}}]]
 
[[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:
 
<pre>{{NewWorkCount}}
 
<pre>{{NewWorkCount}}
 
{{NewWorkCount|yyyy}}
 
{{NewWorkCount|yyyy}}
 
{{NewWorkCount|yyyy|mm}}
 
{{NewWorkCount|yyyy|mm}}
{{NewWorkCount|yyyy|mm|dd}}</pre>
+
{{NewWorkCount|yyyy|mm|dd}}</pre>-->
 
'''Examples'''
 
'''Examples'''
<pre>{{NewWorkCount}}</pre>
+
<pre>{{NewWorkCount2}}</pre>
gives a count of the number of current score pages ({{NewWorkCount}}) created in the current year ({{CURRENTYEAR}}).
+
gives a count of the number of current score pages ({{NewWorkCount2}}) created in the current year ({{CURRENTYEAR}}).
<pre>{{NewWorkCount|2007}}</pre>
+
<pre>{{NewWorkCount2|2007}}</pre>
gives a count of the number of current score pages ({{NewWorkCount|2007}}) created in 2007.
+
gives a count of the number of current score pages ({{NewWorkCount2|2007}}) created in 2007.
<pre>{{NewWorkCount|2008|10}}</pre>
+
<pre>{{NewWorkCount2|2008|10}}</pre>
gives a count of the number of current score pages ({{NewWorkCount|2008|10}}) created in October of 2008.
+
gives a count of the number of current score pages ({{NewWorkCount2|2008|10}}) created in October of 2008.
<pre>{{NewWorkCount|2007|09|11}}</pre>
+
<pre>{{NewWorkCount2|2007|09|11}}</pre>
gives a count of the number of current score pages ({{NewWorkCount|2007|09|11}}) created on September 11, 2007.
+
gives a count of the number of current score pages ({{NewWorkCount2|2007|09|11}}) created on September 11, 2007.
 
}}
 
}}
-->
 

Revision as of 15:19, 1 June 2020

3379


UsageExamples

{{NewWorkCount2}}

gives a count of the number of current score pages (3379) created in the current year (2021).

{{NewWorkCount2|2007}}

gives a count of the number of current score pages (912) created in 2007.

{{NewWorkCount2|2008|10}}

gives a count of the number of current score pages (74) created in October of 2008.

{{NewWorkCount2|2007|09|11}}

gives a count of the number of current score pages (97) created on September 11, 2007.