Template:Cleanup gallery/doc: Difference between revisions

From CAPipedia
en>Moxy
 
m 1 revision imported
 
(No difference)

Latest revision as of 13:01, 23 January 2024

[[Category:Template documentation pages{{#translation:}}]]

Usage

Place this template at the top of a section that seems to form an image gallery in violation of the policy on image galleries.

This template is a self-reference. Do not subst this template.

This template can take an optional date parameter in the format {{Cleanup gallery|date = <month> <year>}}. The date is not required and is not currently used for categorization.

Example using current date

Template:

{{Cleanup gallery|date=November 2024}}

Output:

To automatically include the date for when the tag was added use the following:

{{Cleanup gallery|date={{subst:CURRENTMONTHNAME}} {{subst:CURRENTYEAR}}}}

Redirects

See also

<templatedata> { "params": { "date": { "type": "date", "default": "{{subst:CURRENTMONTHNAME}} {{subst:CURRENTYEAR}}}}", "suggested": true, "label": "Date", "description": "An optional date parameter in the format <month> <year>. The date is not required and is not currently used for categorization. Note that this should autofill by default upon saving when using the visual editor.", "example": "December 2019" } }, "description": "Place this template at the top of a section that seems to form an image gallery in violation of the policy on image galleries.", "format": "inline" } </templatedata>