Template:NewWorkCount2: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 8: | Line 8: | ||
|noresultsheader=0 | |noresultsheader=0 | ||
|allowcachedresults=true | |allowcachedresults=true | ||
}}}} | }}}}<noinclude> | ||
<noinclude> | |||
<!--{{prot-temp}}--> | <!--{{prot-temp}}--> | ||
[[Category:Templates|{{PAGENAME}}]] | [[Category:Templates|{{PAGENAME}}]] | ||
{{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}} | ||
{{NewWorkCount|yyyy}} | {{NewWorkCount|yyyy}} | ||
{{NewWorkCount|yyyy|mm}} | {{NewWorkCount|yyyy|mm}} | ||
{{NewWorkCount|yyyy|mm|dd}}</pre> | {{NewWorkCount|yyyy|mm|dd}}</pre>--> | ||
'''Examples''' | '''Examples''' | ||
<pre>{{ | <pre>{{NewWorkCount2}}</pre> | ||
gives a count of the number of current score pages ({{ | gives a count of the number of current score pages ({{NewWorkCount2}}) created in the current year ({{CURRENTYEAR}}). | ||
<pre>{{ | <pre>{{NewWorkCount2|2007}}</pre> | ||
gives a count of the number of current score pages ({{ | gives a count of the number of current score pages ({{NewWorkCount2|2007}}) created in 2007. | ||
<pre>{{ | <pre>{{NewWorkCount2|2008|10}}</pre> | ||
gives a count of the number of current score pages ({{ | gives a count of the number of current score pages ({{NewWorkCount2|2008|10}}) created in October of 2008. | ||
<pre>{{ | <pre>{{NewWorkCount2|2007|09|11}}</pre> | ||
gives a count of the number of current score pages ({{ | gives a count of the number of current score pages ({{NewWorkCount2|2007|09|11}}) created on September 11, 2007. | ||
}} | }} | ||
Revision as of 15:19, 1 June 2020
1664
Usage – Examples
{{NewWorkCount2}}
gives a count of the number of current score pages (1664) 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.