Difference between revisions of "Template:PostedDate"

From ChoralWiki
Jump to navigation Jump to search
Line 3: Line 3:
 
;Usage: {{tl|PostedDate|''<yyyy-mm-dd>''}}
 
;Usage: {{tl|PostedDate|''<yyyy-mm-dd>''}}
  
This template is automatically added to any new work, if the new work form is used.
+
This template is automatically added to any new edition, if the AddWork form is used.
  
 
If the date in the first parameter is more than 90 days old, the page is added to the category "More than 90 days old".  
 
If the date in the first parameter is more than 90 days old, the page is added to the category "More than 90 days old".  

Revision as of 06:42, 30 July 2020


Documentation
Usage
{{PostedDate|<yyyy-mm-dd>}}

This template is automatically added to any new edition, if the AddWork form is used.

If the date in the first parameter is more than 90 days old, the page is added to the category "More than 90 days old".

If the date in the first parameter is within 30 days of the current date, this template displays the "New" icon and adds the page to the category Posted in <month>’’.

Regardless of the date, this template also prints "(Posted {<yyyy-mm-dd>) " before the CPDL number of an edition.