Template:Cleanup-section

Jump to: navigation, search

Usage

This template will add tagged articles to a cleanup category according to the month and year given. These must be spelled out in the proper order for the category name to work properly using the {{{date}}} parameter.

DO NOT SUBST THIS TEMPLATE.

Example: {{subst:cleanup-section|date={{CURRENTMONTHNAME}} {{CURRENTYEAR}}}} → {{subst:cleanup-section|date=July 2020}} (changing constantly) → Category:Cleanup from July 2020. However, the magic words CURRENTMONTHNAME and CURRENTYEAR are not fixed by that method. To work properly the code would have to be given as either:
{{cleanup-section |date={{subst:CURRENTMONTHNAME}} {{subst:CURRENTYEAR}} }}
Alternative method

The template {{DATE}} produces: "date={{subst:CURRENTMONTHNAME}} {{subst:CURRENTYEAR}}" automatically and works with any template which will take the parameter 'date=', as this one does.

Use:
{{cleanup-section|{{subst:DATE}} }} 

Note-- The DATE template, like {{CURRENTMONTHNAME}} and {{CURRENTYEAR}}, needs to be substituted to work properly. 

If no date is given, articles will be added to the more general Category:Wikipedia cleanup, the date will be added by a robot.

See also


Linked-in.jpg