Difference between revisions of "Template:Cleanup gallery/doc"

From blackwiki
Jump to navigation Jump to search
imported>SMcCandlish
m (SMcCandlish moved page Template:Cleanup-gallery/doc to Template:Cleanup gallery/doc: following move of parent template)
imported>Jdaloner
m (Updated name of this template, as well as one entry in "See also" section.)
Line 7: Line 7:
 
This [[Wikipedia:Template|template]] is a [[Wikipedia:Avoid self-references|self-reference]]. Do '''not''' [[Wikipedia:Subst|subst]] this template.
 
This [[Wikipedia:Template|template]] is a [[Wikipedia:Avoid self-references|self-reference]]. Do '''not''' [[Wikipedia:Subst|subst]] this template.
  
This template can take an optional date parameter in the format <code><nowiki>{{Cleanup-gallery|date = <month> <year>}}</nowiki></code>. The date is not required and is not currently used for categorization.
+
This template can take an optional date parameter in the format <code><nowiki>{{Cleanup gallery|date = <month> <year>}}</nowiki></code>. The date is not required and is not currently used for categorization.
  
 
===Example using current date===
 
===Example using current date===
  
 
Template:
 
Template:
:: {{tlx|Cleanup-gallery|date&#61;{{CURRENTMONTHNAME}} {{CURRENTYEAR}}}}
+
:: {{tlx|Cleanup gallery|date&#61;{{CURRENTMONTHNAME}} {{CURRENTYEAR}}}}
 
Output:
 
Output:
{{Cleanup-gallery|date={{CURRENTMONTHNAME}} {{CURRENTYEAR}}}}
+
{{Cleanup gallery|date={{CURRENTMONTHNAME}} {{CURRENTYEAR}}}}
  
  
Line 22: Line 22:
  
 
===See also===
 
===See also===
*{{tl|Cleanup-images}}
+
*{{tl|Cleanup images}}
 
*{{tl|Too many photos}}
 
*{{tl|Too many photos}}
 
*[[Wikipedia:Template messages/Cleanup]]
 
*[[Wikipedia:Template messages/Cleanup]]

Revision as of 12:30, 3 January 2017

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=March 2026}}

Output:


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

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

See also

Redirects