Modèle:Image captions for cleanup/doc
{{#ifexpr:{{#expr:{{#iferror:{{#time:U|July 2017}}|2000000000}}>=1341100800}}*{{#if:Should use Lua.|0|1}}*{{#ifeq:{{{nocat}}}|true|0|1}}
|You must add a|{{#if:reason|reason=}}
parameter to this Cleanup template - replace it with{{Cleanup|{{#if:|||}}{{#if:July 2017|date=July 2017|}}reason=<Fill reason here>}}
, or remove the Cleanup template.
|{{#switch: {{#if: | | {{#ifeq:Modèle| | main | other }} }}| main =
This article may require cleanup to meet Wikipedia's quality standards. {{#if:Should use Lua.
|The specific problem is: Should use Lua.
}}
| = article | Wikisisar = Wikipedia page | Utilisateur | Aide = modèle page | #default = modèle }}] if you can. (July 2017) |
| other
| #default =This {{#switch: Modèle
| = article | Wikisisar = Wikipedia page | Utilisateur | Aide = modèle page | #default = modèle }} may require cleanup to meet Wikipedia's quality standards. {{#if:Should use Lua. |The specific problem is: Should use Lua. |No cleanup reason has been specified. }} Please help [https://wiki.esisariens.org/index.php?title=Mod%C3%A8le:Image_captions_for_cleanup/doc&action=edit improve this {{#switch: Modèle | = article | Wikisisar = Wikipedia page | Utilisateur | Aide = modèle page | #default = modèle }}] if you can{{#ifeq:Modèle|Modèle |; the [[Discussion modèle:Image captions for cleanup/doc{{#if:|#{{{talksection}}}}}|talk page]] may contain suggestions. |.}} |
}}{{#ifeq:{{#titleparts:Modèle:Image captions for cleanup/doc|1}}|Template:Cleanup||{{#ifeq:{{ safesubst:#if:
| {{ safesubst:#titleparts:{{ safesubst:#if:|{{{1}}}|Modèle:Image captions for cleanup/doc}}|1}} | {{ safesubst:#if:|{{{1}}}|Modèle:Image captions for cleanup/doc}}
}}|Wikipedia:Template messages||{{#ifexpr:{{#if:Modèle|0|1}}+{{#ifeq:no|yes|0|1}}
|{{#if:July 2017 |{{#ifexist:Category:Wikipedia templates needing cleanup from July 2017 ||}} |[[Category:{{#if: |{{{5}}}|Wikipedia templates needing cleanup}}]]}}{{#if: |[[Category:{{{4}}}]]}}}}}}}}
}} {{#ifeq:doc |doc
|
{{#ifeq:show |show
|This is a documentation subpage for Modèle:Image captions for cleanup. It contains usage information, categories and other content that is not part of the original {{#if: |{{{text2}}} |{{#if: |{{{text1}}} |{{#ifeq:Modèle |Utilisateur |modèle template page |{{#if:Modèle |modèle page|article}}}}}}}}. |
}}{{#if: | | {{#ifexist:Modèle:Image captions for cleanup | [[Category:{{#switch:Modèle |Template=Template |Module=Module |User=User |#default=Wikipedia}} documentation pages]] | }} }} | }}
This template should not be substituted. |
Usage
{{Image captions for cleanup}}
This template helps track articles with image captions in need of cleanup. It places pages it tags into a categorization scheme born of the template and its parent category:
It includes variations like Parent/With examples and Parent/Without examples and dated variants like Parent from June 2017 as well.
The pages are auto-categorized by the template; through its parameters (depending on their use or omission). See all of the scheme's categories below:
Click the "►" below to see all subcategories: |
---|
<categorytree depth="0"> Image captions for cleanup</categorytree> |
Syntax
{{{{#if: |subst:}}Image captions for cleanup{{#if: ||{{{2}}}}}{{#if: ||{{{3}}}}}{{#if: ||{{{4}}}}}{{#if: ||{{{5}}}}}{{#if: ||{{{6}}}}}{{#if: ||{{{7}}}}}{{#if: ||{{{8}}}}}{{#if: ||{{{9}}}}}{{#if: ||{{{10}}}}}{{#if: ||{{{11}}}}}{{#if: ||…}}}}
is the main template. Along with {{{{#if: |subst:}}Cuic{{#if: ||{{{2}}}}}{{#if: ||{{{3}}}}}{{#if: ||{{{4}}}}}{{#if: ||{{{5}}}}}{{#if: ||{{{6}}}}}{{#if: ||{{{7}}}}}{{#if: ||{{{8}}}}}{{#if: ||{{{9}}}}}{{#if: ||{{{10}}}}}{{#if: ||{{{11}}}}}{{#if: ||…}}}}
and {{{{#if: |subst:}}Clean caption{{#if: ||{{{2}}}}}{{#if: ||{{{3}}}}}{{#if: ||{{{4}}}}}{{#if: ||{{{5}}}}}{{#if: ||{{{6}}}}}{{#if: ||{{{7}}}}}{{#if: ||{{{8}}}}}{{#if: ||{{{9}}}}}{{#if: ||{{{10}}}}}{{#if: ||{{{11}}}}}{{#if: ||…}}}}
(its two aliases), the three may be used interchangeably, to identical ends. Without parameter modification, they produce:
{{#ifeq:|file|{{#if: |This caption does not clearly identify the subject.|{{#if: |This caption is not succinct.|{{#if: |This caption does not establish the image's relevance.|{{#if: |This caption provides insufficient context.|{{#if: |This caption does not draw readers in.|{{#if: |This caption uses trivial wording.|{{#if: |This caption is improperly formatted.|This caption requires cleanup}} }} }} }} }} }} }}|{{#if: |The image caption|{{#if: |The image captions|Some of the image captions}} }} in this {{#if:|{{{subset}}}|{{#if:|{{{sub}}}|{{#if:|{{{su}}}|article}} }} }} {{#if: |requires cleanup|{{#if: |require cleanup|may require cleanup}} }} to comply with Wikipedia guidelines{{#if: | for clearly identifying the image's subject.{{#if: ||}}|{{#if: | for succinctness.{{#if: ||}}|{{#if: | for establishing an image's relevance to the article.{{#if: ||}}|{{#if: | for providing context for the picture.{{#if: ||}}|{{#if: | for drawing readers into the article.{{#if: ||}}|{{#if: | for trivial wording.{{#if: ||}}|{{#if: | for formatting and punctuating image captions.{{#if: ||}}|.}} }} }} }} }} }} }} }} (June 2017) |
{{#switch:
{{#if: | {{{demospace}}} | {{#ifeq:Modèle|Fichier | file | other }} }}
| file | image =
| other | #default = }}
Parameters
| date = is the only required parameter – dated subcategories depend on its use; for example: Image captions for cleanup from June 2017 – if the template is used without "|date=", a bot will append it in place and correct the omission
Required
- | date = value should be set in "Month year" form; for example: "mai 2024" – if missing or blank a bot will add it later
Optional
The following parameters are available for optional use, subject to the user's best discretion and clue (parameters shown on the same line are aliases and may be used interchangeably):
- | link = using "y" or "yes" turns the camera icon into an active link to its File:page – all other values transclude through {{{link}}} which allows for a custom URL
- | shrink = any value reduces the
{{{{#if: |subst:}}ambox{{#if: ||{{{2}}}}}{{#if: ||{{{3}}}}}{{#if: ||{{{4}}}}}{{#if: ||{{{5}}}}}{{#if: ||{{{6}}}}}{{#if: ||{{{7}}}}}{{#if: ||{{{8}}}}}{{#if: ||{{{9}}}}}{{#if: ||{{{10}}}}}{{#if: ||{{{11}}}}}{{#if: ||…}}}}
's size, location, and text rendered – from a width of 80%, centered on page, to a width of 25% aligned left, the image icon reduces from 40px to 20px, the output of "| fix =" is hidden, and Category:Articles using small message boxes is added to page. Set this parameter's value to "file" to tag a specific image's caption and place the tag directly before the caption itself (the "criteria specific" parameters may also be used). See "examples five and six" for more information
- | onefile =, | of =, and | o = when the article, or section thereof (when tag is placed therein), has only one image, this parameter, using any value, modifies the prose to speak of the caption as being the only one and places the tagged page in Category:Image captions for cleanup/With examples
- | allfiles =, | all =, and | af = when all of the files in the article, or section thereof (when tag is placed therein), have problematic captions, this parameter modifies the prose to speak of the captions as all being in need and places the tagged page in Category:Image captions for cleanup/With examples
- | subset =, | sub =, and | su = using any value which is a subset of an article, (for example, "section", "list", or "gallery"), changes the tag's prose from article specific to section, list, or gallery specific verbiage
- | example =, | 1 =, and | e = for listing only one example, add its file page name without "File:" or extension to show the file name as an example of a caption in need of the clean-up specified and places the tagged page in Category:Image captions for cleanup/With examples
- | examples = and | es = when listing more than one example – add file page names without "File:" or extension for examples with captions in need of clean-up and places the tagged page in Category:Image captions for cleanup/With examples
The following parameters modify the tag's prose from "generalized verbiage" to "criteria specific verbiage"; for example: where the default text says: "... to comply with Wikipedia guidelines, the parameters modify it as shown:
- | clarify =, | cl =, and | c = using any value adds: for clearly identifying the image's subject. ..."
- | succinct =, | sc =, and | s = using any value adds: for succinctness. ..."
- | relevance =, | re =, and | r = using any value adds: for establishing an image's relevance to the article. ..."
- | context =, | con =, and | ct = using any value adds: for providing context for the picture. ..."
- | allure =, | al =, and | a = using any value adds: for drawing readers into the article. ..."
- | wording =, | wo =, and | w = using any value adds: for trivial wording. ..."
- | format =, | fm =, and | f = using any value adds: for formatting and punctuating image captions. ..."
Examples
Example one
This example assumes an article has two or more image captions spread over two or more sections of the article, some of which are needing cleanup, and that the tag will be placed atop the article without giving specific examples. The syntax added atop the page would appear, in edit mode, as:
{{Image captions for cleanup
|date=June 2017
}}
And renders as:
{{#ifeq:|file|{{#if: |This caption does not clearly identify the subject.|{{#if: |This caption is not succinct.|{{#if: |This caption does not establish the image's relevance.|{{#if: |This caption provides insufficient context.|{{#if: |This caption does not draw readers in.|{{#if: |This caption uses trivial wording.|{{#if: |This caption is improperly formatted.|This caption requires cleanup}} }} }} }} }} }} }}|{{#if: |The image caption|{{#if: |The image captions|Some of the image captions}} }} in this {{#if:|{{{subset}}}|{{#if:|{{{sub}}}|{{#if:|{{{su}}}|article}} }} }} {{#if: |requires cleanup|{{#if: |require cleanup|may require cleanup}} }} to comply with Wikipedia guidelines{{#if: | for clearly identifying the image's subject.{{#if: ||}}|{{#if: | for succinctness.{{#if: ||}}|{{#if: | for establishing an image's relevance to the article.{{#if: ||}}|{{#if: | for providing context for the picture.{{#if: ||}}|{{#if: | for drawing readers into the article.{{#if: ||}}|{{#if: | for trivial wording.{{#if: ||}}|{{#if: | for formatting and punctuating image captions.{{#if: ||}}|.}} }} }} }} }} }} }} }} (June 2017) |
{{#switch:
{{#if: | {{{demospace}}} | {{#ifeq:Modèle|Fichier | file | other }} }}
| file | image =
| other | #default = }}
Example two
This example assumes that a section of the article has only one file within, and its caption needs cleanup. The tag uses generalized language, is placed atop the section, and shrunk in size. The syntax atop the section appears in edit mode as:
{{Image captions for cleanup
|onefile=yes
|subset=section
|shrink=yes
|date=June 2017
}}
And renders as:
{{#ifeq:y|file|{{#if: |This caption does not clearly identify the subject.|{{#if: |This caption is not succinct.|{{#if: |This caption does not establish the image's relevance.|{{#if: |This caption provides insufficient context.|{{#if: |This caption does not draw readers in.|{{#if: |This caption uses trivial wording.|{{#if: |This caption is improperly formatted.|This caption requires cleanup}} }} }} }} }} }} }}|{{#if:y |The image caption|{{#if: |The image captions|Some of the image captions}} }} in this {{#if:|{{{subset}}}|{{#if:|{{{sub}}}|{{#if:section|section|article}} }} }} {{#if:y |requires cleanup|{{#if:y |require cleanup|may require cleanup}} }} to comply with Wikipedia guidelines{{#if: | for clearly identifying the image's subject.{{#if:y ||}}|{{#if: | for succinctness.{{#if:y ||}}|{{#if: | for establishing an image's relevance to the article.{{#if:y ||}}|{{#if: | for providing context for the picture.{{#if:y ||}}|{{#if: | for drawing readers into the article.{{#if:y ||}}|{{#if: | for trivial wording.{{#if:y ||}}|{{#if: | for formatting and punctuating image captions.{{#if:y ||}}|.}} }} }} }} }} }} }} }} (June 2017) |
{{#switch:
{{#if: | {{{demospace}}} | {{#ifeq:Modèle|Fichier | file | other }} }}
| file | image =
| other | #default = }}
Example three
This example assumes a section of the article has three or more captions where at least two, given as examples, are in need of cleanup and they specifically are problematic for being trivial. The syntax placed atop the section appears, in edit mode, as:
{{Image captions for cleanup
|subset=section
|wording=trivial
|examples=Example 1 ''''' and''''' Example 2
|date=June 2017
}}
And renders as:
{{#ifeq:|file|{{#if: |This caption does not clearly identify the subject.|{{#if: |This caption is not succinct.|{{#if: |This caption does not establish the image's relevance.|{{#if: |This caption provides insufficient context.|{{#if: |This caption does not draw readers in.|{{#if:t |This caption uses trivial wording.|{{#if: |This caption is improperly formatted.|This caption requires cleanup}} }} }} }} }} }} }}|{{#if: |The image caption|{{#if: |The image captions|Some of the image captions}} }} in this {{#if:|{{{subset}}}|{{#if:|{{{sub}}}|{{#if:section|section|article}} }} }} {{#if: |requires cleanup|{{#if:Example 1 and Example 2|require cleanup|may require cleanup}} }} to comply with Wikipedia guidelines{{#if: | for clearly identifying the image's subject.{{#if:Example 1 and Example 2||}}|{{#if: | for succinctness.{{#if:Example 1 and Example 2||}}|{{#if: | for establishing an image's relevance to the article.{{#if:Example 1 and Example 2||}}|{{#if: | for providing context for the picture.{{#if:Example 1 and Example 2||}}|{{#if: | for drawing readers into the article.{{#if:Example 1 and Example 2||}}|{{#if:t | for trivial wording.{{#if:Example 1 and Example 2||}}|{{#if: | for formatting and punctuating image captions.{{#if:Example 1 and Example 2||}}|.}} }} }} }} }} }} }} }} (June 2017) |
{{#switch:
{{#if: | {{{demospace}}} | {{#ifeq:Modèle|Fichier | file | other }} }}
| file | image =
| other | #default = }}
Example four
This example assumes an article has two or more captions within and that they all are problematic. Using generalized terms, the syntax placed atop the article appears, in edit mode, as:
{{{Image captions for cleanup
|allfiles=yes
|date=June 2017
}}
And renders as:
{{#ifeq:|file|{{#if: |This caption does not clearly identify the subject.|{{#if: |This caption is not succinct.|{{#if: |This caption does not establish the image's relevance.|{{#if: |This caption provides insufficient context.|{{#if: |This caption does not draw readers in.|{{#if: |This caption uses trivial wording.|{{#if: |This caption is improperly formatted.|This caption requires cleanup}} }} }} }} }} }} }}|{{#if: |The image caption|{{#if:y |The image captions|Some of the image captions}} }} in this {{#if:|{{{subset}}}|{{#if:|{{{sub}}}|{{#if:|{{{su}}}|article}} }} }} {{#if: |requires cleanup|{{#if:y |require cleanup|may require cleanup}} }} to comply with Wikipedia guidelines{{#if: | for clearly identifying the image's subject.{{#if:y ||}}|{{#if: | for succinctness.{{#if:y ||}}|{{#if: | for establishing an image's relevance to the article.{{#if:y ||}}|{{#if: | for providing context for the picture.{{#if:y ||}}|{{#if: | for drawing readers into the article.{{#if:y ||}}|{{#if: | for trivial wording.{{#if:y ||}}|{{#if: | for formatting and punctuating image captions.{{#if:y ||}}|.}} }} }} }} }} }} }} }} (June 2017) |
{{#switch:
{{#if: | {{{demospace}}} | {{#ifeq:Modèle|Fichier | file | other }} }}
| file | image =
| other | #default = }}
Example five
This example assumes the tag, using "generalized verbiage", will be placed in the caption field of a file whose caption needs cleanup (other files in the article can also be tagged as is appropriate). The syntax appears, in edit mode, as:
[[File:1976 Fender Stratocaster.jpg |thumb |center |{{Image captions for cleanup |shrink=file |date=June 2017}} Guitar]]
And renders as:
Example six
This example assumes the tag, using "criteria specific verbiage", will be placed in the caption field of a file whose caption uses trivial wording. The syntax appears, in edit mode, as:
[[File:1976 Fender Stratocaster.jpg |thumb |center |{{Image captions for cleanup |shrink=file |wording=trivial |date=June 2017}} Guitar]]
And renders as:
- Articles using small message boxes
- Wikipedia templates needing cleanup from July 2017
- Articles with invalid date parameter in template
- Documentation subpages without corresponding pages
- Image captions for cleanup/With examples/With unclear subject identification
- Image captions for cleanup/With examples/Not succinct
- Image captions for cleanup/With examples/With no established relevance
- Image captions for cleanup/With examples/With inadequate context
- Image captions for cleanup/With examples/With no allure
- Image captions for cleanup/With examples/With trivial wording
- Image captions for cleanup/With examples/With improper formatting and punctuation
- Image captions for cleanup/With examples
- Image captions for cleanup/Without examples
- Image captions for cleanup/Without examples/With unclear subject identification
- Image captions for cleanup/Without examples/Not succinct
- Image captions for cleanup/Without examples/With no established relevance
- Image captions for cleanup/Without examples/With inadequate context
- Image captions for cleanup/Without examples/With no allure
- Image captions for cleanup/Without examples/With trivial wording
- Image captions for cleanup/Without examples/With improper formatting and punctuation
- Image captions for cleanup