Template:NewWork: Difference between revisions

From ChoralWiki
Jump to navigation Jump to search
(Posted in Month is required for Template:NewPostCount)
(Labeled as obsolete; there are no pages that use it)
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
<includeonly>{{#ifeq: {{IsNew|{{{1|1901-01-01}}}}}
<!--<includeonly>{{#ifeq: {{IsNew|{{{1|1901-01-01}}}}}
| yes |{{filepath:NewScore.gif}} &nbsp;[[Category:New works| {{{1|1901-01-01}}}]] {{#ifeq: {{IsNew|{{{1|1901-01-01}}}|range=30 days}}
| yes |{{filepath:NewScore.gif}} &nbsp;[[Category:New works| {{{1|1901-01-01}}}]] {{#ifeq: {{IsNew|{{{1|1901-01-01}}}|range=30 days}}
| yes |[[Category:New works in the past 30 days| {{{1|1901-01-01}}}]][[Category:Posted in {{#time:F|{{{1|1901-01-01}}} }}]]<span style="display:none">[[Posted on {{{1|an unknown date}}}]]</span>
| yes |[[Category:New works in the past 30 days| {{{1|1901-01-01}}}]][[Category:Posted in {{#time:F|{{{1|1901-01-01}}} }}]]<span style="display:none">[[Posted on {{{1|an unknown date}}}]]</span>
}} }}</includeonly><noinclude>{{prot-temp}}
}} }}</includeonly>-->
<noinclude>{{prot-temp}}
{{DisplayBox|title=Documentation|text=
{{DisplayBox|title=Documentation|text=


;Usage: {{tl|NewWork|''<yyyy-mm-dd>''}}
THIS TEMPLATE is now obsolete. The code and explanation are hidden within.
 
<!--;Usage: {{tl|NewWork|''<yyyy-mm-dd>''}}


This template is affected by the behaviour of template {{CiteTemp|IsNew}} in two ways:
This template is affected by the behaviour of template {{CiteTemp|IsNew}} in two ways:
Line 12: Line 15:
#* Insert the page in which it is contained in category {{CiteCat|New works}}
#* Insert the page in which it is contained in category {{CiteCat|New works}}
# If the date passed (''yyyy-mm-dd'') falls inside the alternate date range value (currently 30 days), then NewWork will
# If the date passed (''yyyy-mm-dd'') falls inside the alternate date range value (currently 30 days), then NewWork will
#* Insert the page in the categories {{CiteCat|New works in the past 30 days}} (for the {{CiteCW|Multi-Category Search}}), [[:Category:Posted editions by day of month|Posted on day ''dd'']] and [[:Category:Posted editions by month|Posted in ''Month'']] (for the {{CiteCW|LatestScores}})
#* Insert the page in categories {{CiteCat|New works in the past 30 days}} (for the {{CiteCW|Multi-Category Search}}) and [[:Category:Posted editions by month|Posted in ''Month'']] (for the {{CiteCW|LatestScores}} list that is displayed on the Main page)-->
:Only works in these two categories are eligible to be displayed on the Main page "Latest scores" listing.
}}
}}


[[Category:Templates]]</noinclude>
[[Category:Obsolete templates]]</noinclude>

Latest revision as of 16:09, 31 July 2020

Documentation

THIS TEMPLATE is now obsolete. The code and explanation are hidden within.