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

From blackwiki
Jump to navigation Jump to search
imported>OlEnglish
imported>RL0919
(Updating to include more details, such as how to add the date, redirects to this template, etc.)
Line 1: Line 1:
 
{{Documentation subpage}}
 
{{Documentation subpage}}
<!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE -->
+
<!-- EDIT TEMPLATE DOCUMENTATION BELOW THIS LINE. PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE. -->
  
=== Usage ===
+
===Usage===
This [[Wikipedia:Template|template]] is a [[Wikipedia:Avoid self-references|self-reference]].
+
Place this template at the top of a section that seems to form an [[WP:PIC#Galleries|image gallery]] in violation of the [[WP:IG|policy]] on image galleries.
This template is not useful for [[Wikipedia:Subst]].
 
  
=== See also ===
+
This [[Wikipedia:Template|template]] is a [[Wikipedia:Avoid self-references|self-reference]]. Do '''not''' [[Wikipedia:Subst|subst]] this template.
* [[Template:Too many photos]]
+
 
* [[Wikipedia:Template messages/Cleanup]]
+
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===
 +
 
 +
Template:
 +
:: {{tlx|Cleanup-gallery|date&#61;{{CURRENTMONTHNAME}} {{CURRENTYEAR}}}}
 +
Output:
 +
{{Cleanup-gallery|date={{CURRENTMONTHNAME}} {{CURRENTYEAR}}}}
 +
 
 +
 
 +
To automatically include the date for when the tag was added use the following:
 +
 
 +
<code><nowiki>{{Cleanup-gallery|date={{subst:CURRENTMONTHNAME}} {{subst:CURRENTYEAR}}}}</nowiki></code>
 +
 
 +
===See also===
 +
*[[Template:Too many photos]]
 +
*[[Wikipedia:Template messages/Cleanup]]
 +
 
 +
===Redirects===
 +
*{{Tl|Imagefarm}}
  
 
<includeonly>
 
<includeonly>

Revision as of 21:24, 25 September 2009

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