Template:NewWorkCount2: Difference between revisions

From ChoralWiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 1: Line 1:
{{#expr:{{#dpl:category=Sheet music|namespace=|mode=userformat|resultsheader=%TOTALPAGES%}} - {{#dpl:
{{#expr:{{#dpl:category=Sheet music|namespace=|mode=userformat|resultsheader=%TOTALPAGES%|noresultsheader=0|allowcachedresults=true}} - {{#dpl:
|notcategorymatch={{{1|{{CURRENTYEAR}}}}}{{#ifexpr:{{{2|}}}|-{{{2}}}}}{{#ifexpr:{{{3|}}}|-{{{3}}}}}%
|notcategorymatch={{{1|{{CURRENTYEAR}}}}}{{#ifexpr:{{{2|}}}|-{{{2}}}}}{{#ifexpr:{{{3|}}}|-{{{3}}}}}%
|category=Sheet music
|category=Sheet music

Revision as of 15:45, 1 June 2020

1607


UsageExamples

{{NewWorkCount2}}

gives a count of the number of current score pages (1607) created in the current year (2024).

{{NewWorkCount2|2007}}

gives a count of the number of current score pages (910) 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.

END OLD CODE