Template:NewWorkCount2: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
{{#expr:{{ | {{#expr:{{NewScoreCount|{{{1|{{CURRENTYEAR}}}}}{{#ifexpr:{{{2|}}}|-{{{2}}}}}{{#ifexpr:{{{3|}}}|-{{{3}}}}}}} - {{#dpl: category = Sheet music | ||
|namespace= | |||
|namespace= | |||
|mode=userformat | |mode=userformat | ||
|categorymatch={{#ifexpr:{{{3|}}}|{{{1|{{CURRENTYEAR}}}}}-{{{2}}}-{{{3}}}|{{#ifexpr:{{{2|}}}|{{{1|{{CURRENTYEAR}}}}}-{{{2}}}|{{{1|{{CURRENTYEAR}}}}}}}}}% | |||
|userdateformat = Y-m-d, H:i | |||
|lastrevisionbefore = {{#time: Y-m-d|{{{1|{{CURRENTYEAR}}}}}{{#ifexpr:{{{2|}}}|-{{{2}}}|-01}}{{#ifexpr:{{{3|}}}|-{{{3}}}|-01}} - 1 day}} | |||
|resultsheader=%TOTALPAGES% | |resultsheader=%TOTALPAGES% | ||
|noresultsheader=0 | |noresultsheader = 0 | ||
|allowcachedresults=true | |allowcachedresults = true}}}}<noinclude> | ||
}}}}<noinclude> | |||
<!--{{prot-temp}}--> | <!--{{prot-temp}}--> | ||
[[Category:Templates|{{PAGENAME}}]] | [[Category:Templates|{{PAGENAME}}]] |
Revision as of 17:45, 4 June 2020
1320
Usage – Examples
{{NewWorkCount2}}
gives a count of the number of current score pages (1320) 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.