{{#ifeq:doc |doc

    | 

{{#ifeq:show |show

|

        }}{{#if: |
         |   {{#ifexist:模板:Cleanup gallery
                  | [[Category:{{#switch:模板 |Template=Template |Module=Module |User=User |#default=Wikipedia}} documentation pages]]
                  |
                 }}
        }}
    | 
   }}

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=11月 2024}}

Output:

{{#ifeq:{{{small}}}|left|}}

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

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

Redirects编辑

See also编辑