Template:NewWorkCount2: Difference between revisions

From ChoralWiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 1: Line 1:
{{#dplvar:set|revb|{{#time: Ymd|{{{1|{{CURRENTYEAR}}}}}-{{{2|01}}}-{{{3|01}}}}}}}
{{#expr:{{#dpl:category=Sheet music|namespace=|mode=userformat|resultsheader=%TOTALPAGES%}} - {{#dpl:
{{#ifexpr:{{{2|}}}|-{{{2}}}}}
|notcategorymatch={{{1|{{CURRENTYEAR}}}}}{{#ifexpr:{{{2|}}}|-{{{2}}}}}{{#ifexpr:{{{3|}}}|-{{{3}}}}}%
{{#ifexpr:{{{3|}}}|-{{{3}}}}}
 
{{#expr: {{NewScoreCount| {{{1|{{CURRENTYEAR}}}}}{{#ifexpr:{{{2|}}}|-{{{2}}}}}{{#ifexpr:{{{3|}}}|-{{{3}}}}}}}}}
<nowiki>{{#expr: {{NewScoreCount| {{{1|{{CURRENTYEAR}}}}}{{#ifexpr:{{{2|}}}|-{{{2}}}}}{{#ifexpr:{{{3|}}}|-{{{3}}}}}}} - {{#dpl:
|category=Sheet music
|category=Sheet music
|namespace=
|namespace=
|lastrevisionbefore={{#dplvar:revb}}
|distinct=true
|distinct=true
|mode=userformat
|mode=userformat
Line 13: Line 8:
|noresultsheader=0
|noresultsheader=0
|allowcachedresults=true
|allowcachedresults=true
}}
}}}}
}}</nowiki>
 
<noinclude>
<noinclude>
{{prot-temp}}
<!--{{prot-temp}}-->
[[Category:Templates|{{PAGENAME}}]]
[[Category:Templates|{{PAGENAME}}]]
<!--
<!--

Revision as of 15:09, 1 June 2020

1667