Template:NewWorkCount2: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
{{#expr:{{NewScoreCount|{{{1|{{CURRENTYEAR}}}}}{{#ifexpr:{{{2|}}}|-{{{2}}}}}{{#ifexpr:{{{3|}}}|-{{{3}}}}}}} - {{#dpl: category = Sheet music | <includeonly>{{#expr:{{NewScoreCount|{{{1|{{CURRENTYEAR}}}}}{{#ifexpr:{{{2|}}}|-{{{2}}}}}{{#ifexpr:{{{3|}}}|-{{{3}}}}}}} - {{#dpl: category = Sheet music | ||
|namespace= | |namespace= | ||
|mode=userformat | |mode=userformat | ||
Line 7: | Line 7: | ||
|resultsheader=%TOTALPAGES% | |resultsheader=%TOTALPAGES% | ||
|noresultsheader = 0 | |noresultsheader = 0 | ||
|allowcachedresults = true}}}}< | |allowcachedresults = true}}}}</includeonly><noinclude> | ||
< | |||
[[Category:Templates|{{PAGENAME}}]] | [[Category:Templates|{{PAGENAME}}]] | ||
Line 28: | Line 27: | ||
}} | }} | ||
</noinclude> | </noinclude> |
Revision as of 17:48, 4 June 2020
Usage – Examples
{{NewWorkCount2}}
gives a count of the number of current score pages (1382) created in the current year (2024).
{{NewWorkCount2|2007}}
gives a count of the number of current score pages (762) created in 2007.
{{NewWorkCount2|2008|10}}
gives a count of the number of current score pages (56) created in October of 2008.
{{NewWorkCount2|2007|09|11}}
gives a count of the number of current score pages (75) created on September 11, 2007.