模板:Cleanup gallery

Ph9讨论 | 贡献2020年12月27日 (日) 14:57的版本 (导入1个版本)
(差异) ←上一版本 | 最后版本 (差异) | 下一版本→ (差异)

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

50px Template documentation[view] [edit] [history] [purge]

{{#ifeq:cleanup gallery |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

{{#if:{{#ifeq:Cleanup|sandbox|1}}{{#ifeq:Cleanup gallery|doc|1}}|| }}