Jump to content

Template:Cleanup gallery/doc: Difference between revisions

From BattleIntelligence
imported>Deadfire
Created page with "{{Documentation subpage}} <!-- Add categories where indicated at the bottom of this page and interwikis at Wikidata --> ===Usage=== Place this template at the top of a sectio..."
 
m Text replacement - "BattleTechWiki" to "BattleIntelligence"
 
Line 5: Line 5:
Place this template at the top of a section that seems to form an image gallery in violation of the policy on image galleries.
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 [[BattleTechWiki:Template|template]] is a self-reference. Do '''not''' [[BattleTechWiki:Subst|subst]] this template.
This [[BattleIntelligence:Template|template]] is a self-reference. Do '''not''' [[BattleIntelligence: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.
Line 39: Line 39:
*{{tl|Cleanup images}}
*{{tl|Cleanup images}}
*{{tl|Cleanup image captions}}
*{{tl|Cleanup image captions}}
*[[BattleTechWiki:Template index/Cleanup]]
*[[BattleIntelligence:Template index/Cleanup]]
*[[BattleTechWiki:Tagging pages for problems]]
*[[BattleIntelligence:Tagging pages for problems]]
<includeonly>{{sandbox other||
<includeonly>{{sandbox other||
<!-- Categories below this line; interwikis at Wikidata -->
<!-- Categories below this line; interwikis at Wikidata -->
[[Category:Cleanup templates]]
[[Category:Cleanup templates]]
}}</includeonly>
}}</includeonly>

Latest revision as of 00:05, 1 May 2025

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

Output:

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

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

TemplateData

Place this template at the top of a section that seems to form an image gallery in violation of the policy on image galleries.

Template parameters

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
Datedate

An optional date parameter in the format <month> <year>. The date is not required and is not currently used for categorization. Note that this should autofill by default upon saving when using the visual editor.

Default
{{subst:CURRENTMONTHNAME}} {{subst:CURRENTYEAR}}}}
Example
December 2019
Datesuggested

See also