Template:NewScoreCount: Difference between revisions

From ChoralWiki
Jump to navigation Jump to search
(replace default 2008 with {{CURRENTYEAR}})
(documentation, protection, categorization)
Line 7: Line 7:
|resultsheader=%TOTALPAGES%
|resultsheader=%TOTALPAGES%
|noresultsheader=0
|noresultsheader=0
}}}}}}<noinclude>
{{prot-temp}}
[[Category:Templates|{{PAGENAME}}]]
{{DisplayBox|text='''Usage''' &ndash;
There are four forms by which the template may be invoked:
<pre>{{NewScoreCount}}
{{NewScoreCount|yyyy}}
{{NewScoreCount|yyyy-mm}}
{{NewScoreCount|yyyy-mm-dd}}</pre>
'''Examples'''
<pre>{{NewScoreCount}}</pre>
gives a count of the number of editions ({{NewScoreCount}}) posted on score pages in the current year ({{CURRENTYEAR}}).
<pre>{{NewScoreCount|2007}}</pre>
gives a count of the number of editions ({{NewScoreCount|2007}}) posted on score pages in 2007.
<pre>{{NewScoreCount|2008-10}}</pre>
gives a count of the number of editions ({{NewScoreCount|2008-10}}) posted on score pages in October of 2008.
<pre>{{NewScoreCount|2007-09-11}}</pre>
gives a count of the number of editions ({{NewScoreCount|2007-09-11}}) posted on score pages on September 11, 2007.
}}
}}

Revision as of 18:01, 15 December 2008

1551}}}}

Usage – There are four forms by which the template may be invoked:

{{NewScoreCount}}
{{NewScoreCount|yyyy}}
{{NewScoreCount|yyyy-mm}}
{{NewScoreCount|yyyy-mm-dd}}

Examples

{{NewScoreCount}}

gives a count of the number of editions (1551}}}}) posted on score pages in the current year (2024).

{{NewScoreCount|2007}}

gives a count of the number of editions (910}}}}) posted on score pages in 2007.

{{NewScoreCount|2008-10}}

gives a count of the number of editions (74}}}}) posted on score pages in October of 2008.

{{NewScoreCount|2007-09-11}}

gives a count of the number of editions (97}}}}) posted on score pages on September 11, 2007.