Template:NewWorkCount: Difference between revisions
Jump to navigation
Jump to search
(added allowcachedresults=true to reduce server workload; updates may become a bit delayed) |
No edit summary |
||
(6 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
{{#expr: {{NewScoreCount| {{{1|{{CURRENTYEAR}}}}}{{# | <includeonly>{{#expr: {{NewScoreCount| {{{1|{{CURRENTYEAR}}}}}{{#if:{{{2|}}}|-{{{2}}}}}{{#if:{{{3|}}}|-{{{3}}}}}}} - {{#dpl:category=Sheet music|categorymatch={{{1|{{CURRENTYEAR}}}}}{{#if:{{{2|}}}|-{{{2}}}| }}{{#if:{{{3|}}}|-{{{3}}}| }}% | ||
|categorymatch={{{1|{{CURRENTYEAR}}}}}{{# | |||
|namespace= | |namespace= | ||
|lastrevisionbefore={{#time: Ymd|{{{1|{{CURRENTYEAR}}}}}-{{{2|01}}}-{{{3|01 | |lastrevisionbefore={{#time: Ymd|{{{1|{{CURRENTYEAR}}}}}{{#if:{{{2|}}}|-{{{2}}}|-01}}{{#if:{{{3|}}}|-{{{3}}}|-01}}- 1 Day}} | ||
|distinct= | |distinct=true | ||
|mode=userformat | |mode=userformat | ||
|resultsheader=%TOTALPAGES% | |resultsheader=%TOTALPAGES% | ||
|noresultsheader=0 | |noresultsheader=0 | ||
|allowcachedresults=true | |allowcachedresults=true | ||
}}}}<noinclude> | }}}}</includeonly><noinclude> | ||
{{prot-temp}} | {{prot-temp}} | ||
<!--{{DisplayBox|text='''Usage''' – | |||
{{DisplayBox|text='''Usage''' – | |||
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}} | ||
Line 27: | Line 24: | ||
<pre>{{NewWorkCount|2007|09|11}}</pre> | <pre>{{NewWorkCount|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 ({{NewWorkCount|2007|09|11}}) created on September 11, 2007. | ||
}} | }}--> | ||
[[Category:Templates|{{PAGENAME}}]] | |||
[[Category:DPL templates]] | |||
</noinclude> |
Latest revision as of 00:24, 23 July 2020
This high-risk template has been protected from editing to prevent vandalism. Please use the talk page to ask an administrator about making an edit to change this template. |