Template:NewWorkCount: Difference between revisions
Jump to navigation
Jump to search
m (User:CHGiffen/NewWorkCount moved to Template:NewWorkCount: new template, counts new work pages created) |
No edit summary |
||
(9 intermediate revisions by 4 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 | ||
}}}}</includeonly><noinclude> | |||
{{prot-temp}} | |||
<!--{{DisplayBox|text='''Usage''' – | |||
There are four forms by which the template may be invoked: | |||
<pre>{{NewWorkCount}} | |||
{{NewWorkCount|yyyy}} | |||
{{NewWorkCount|yyyy|mm}} | |||
{{NewWorkCount|yyyy|mm|dd}}</pre> | |||
'''Examples''' | |||
<pre>{{NewWorkCount}}</pre> | |||
gives a count of the number of current score pages ({{NewWorkCount}}) created in the current year ({{CURRENTYEAR}}). | |||
<pre>{{NewWorkCount|2007}}</pre> | |||
gives a count of the number of current score pages ({{NewWorkCount|2007}}) created in 2007. | |||
<pre>{{NewWorkCount|2008|10}}</pre> | |||
gives a count of the number of current score pages ({{NewWorkCount|2008|10}}) created in October of 2008. | |||
<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. | |||
}}--> | |||
[[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. |