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

From blackwiki
Jump to navigation Jump to search
imported>Twinsday
imported>Vanisaac
m (→‎Redirects: clean up per WP:CAT#T and WP:AWBREQ add template:Sandbox other)
 
(3 intermediate revisions by 3 users not shown)
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===
*[[Template:Cleanup-images]]
+
*{{tl|Cleanup images}}
*[[Template:Too many photos]]
+
*{{tl|Too many photos}}
 
*[[Wikipedia:Template messages/Cleanup]]
 
*[[Wikipedia:Template messages/Cleanup]]
  
Line 29: Line 29:
 
*{{Tl|Imagefarm}}
 
*{{Tl|Imagefarm}}
  
<includeonly>
+
<includeonly>{{Sandbox other||
 
<!-- CATEGORIES AND INTERWIKIS HERE, THANKS -->
 
<!-- CATEGORIES AND INTERWIKIS HERE, THANKS -->
 
[[Category:File maintenance templates|{{PAGENAME}}]]
 
[[Category:File maintenance templates|{{PAGENAME}}]]
Line 35: Line 35:
 
[[Category:Cleanup templates]]
 
[[Category:Cleanup templates]]
  
</includeonly>
+
}}</includeonly>

Latest revision as of 15:15, 24 April 2020

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