Template:NewWork: Difference between revisions
Jump to navigation
Jump to search
Documentation
(Posted in Month is required for Template:NewPostCount) |
(Documentation updated) |
||
Line 12: | Line 12: | ||
#* 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 | #* 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) | ||
}} | }} | ||
[[Category:Templates]]</noinclude> | [[Category:Templates]]</noinclude> |
Revision as of 15:05, 1 November 2018
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. |
- Usage
- {{NewWork|<yyyy-mm-dd>}}
This template is affected by the behaviour of template IsNew in two ways:
- If the date passed as parameter falls inside that template's default date range (currently 90 days), then NewWork will:
- Show an icon () in front of the edition's CPDL#
- Insert the page in which it is contained in category New works
- If the date passed (yyyy-mm-dd) falls inside the alternate date range value (currently 30 days), then NewWork will
- Insert the page in categories New works in the past 30 days (for the Multi-Category Search) and Posted in Month (for the LatestScores list that is displayed on the Main page)