wikilife>Funandtrvl (add template demos, copy edit) |
(没有差异)
|
2020年12月16日 (三) 09:46的版本
{{#ifeq:doc |doc
|
{{#ifeq:show |show
|
40px | This is a documentation subpage for 模板:Image captions for cleanup. It contains usage information, categories and other content that is not part of the original {{#if: |{{{text2}}} |{{#if: |{{{text1}}} |{{#ifeq:模板 |用户 |模板 template page |{{#if:模板 |模板 page|article}}}}}}}}. |
}}{{#if: | | {{#ifexist:模板:Image captions for cleanup | [[Category:{{#switch:模板 |Template=Template |Module=Module |User=User |#default=Wikipedia}} documentation pages]] | }} }} | }}
40x40px | This template should not be substituted. |
Usage
The {{Image captions for cleanup|date=11月 2024}}
template helps track articles with image captions in need of cleanup. This template will auto-categorize tagged articles into Category:Image captions for cleanup, and the subsequent bot edit will place it into a dated subcategory, as well. The auto-categorization includes variations, like Category:Image captions for cleanup/With examples and Category:Image captions for cleanup/Without examples, and dated variants, like Category:Image captions for cleanup from November 2020.
See all of the scheme's categories below:
Click on "►" below to display subcategories: |
---|
<categorytree depth="0"> Image captions for cleanup</categorytree>{{#ifexist:Category:Image captions for cleanup}} |
Syntax
The basic syntax uses {{Image captions for cleanup|date=11月 2024}}
with the current month and year.
Parameters
| date = is the only required parameter – dated subcategories depend on its use; for example: Image captions for cleanup from December 2020 – 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: "11月 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
{{ambox}}
'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 1
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}}
{{#ifeq:|file||}} | {{#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}}}|{{#ifeq:模板|Wikipedia|模板 page|{{#ifeq:模板||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: ||}}|.}} }} }} }} }} }} }} }} {{{example}}} should be cleaned-up right away.|{{#if:| In particular, the caption for ' should be cleaned-up right away.|{{#if:| In particular, the caption for {{{e}}} should be cleaned-up right away.|{{#if:| In particular, the captions for {{{examples}}} should be cleaned-up right away.|{{#if:| In particular, the captions for {{{es}}} should be cleaned-up right away.| }} }} }} }} }} See Wikipedia's picture tutorial and image help pages – review policy on image use {{#ifexist:模板讨论:Image captions for cleanup/doc|and check the talk page – visit the Graphics Lab and improve this {{#ifeq:模板|Wikipedia|模板 page|{{#ifeq:模板||article|模板 }} }} if you can.|and visit the Graphics Lab – And improve this {{#ifeq:模板|Wikipedia|模板 page|{{#ifeq:模板||article|模板 }} }} if you can.}} |
{{#ifeq:{{#if:|left|}}|left|}}
{{#switch:
{{#if: | {{{demospace}}} | {{#ifeq:模板|文件 | file | other }} }}
| file | image =
| other | #default = }}
{{Image captions for cleanup/sandbox}}
Error: expandTemplate: template "Image captions for cleanup/sandbox" does not exist
Example 2
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}}
{{#ifeq:|file||}} | {{#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}}}|{{#ifeq:模板|Wikipedia|模板 page|{{#ifeq:模板||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: ||}}|.}} }} }} }} }} }} }} }} {{{example}}} should be cleaned-up right away.|{{#if:| In particular, the caption for ' should be cleaned-up right away.|{{#if:| In particular, the caption for {{{e}}} should be cleaned-up right away.|{{#if:| In particular, the captions for {{{examples}}} should be cleaned-up right away.|{{#if:| In particular, the captions for {{{es}}} should be cleaned-up right away.| }} }} }} }} }} See Wikipedia's picture tutorial and image help pages – review policy on image use {{#ifexist:模板讨论:Image captions for cleanup/doc|and check the talk page – visit the Graphics Lab and improve this {{#ifeq:模板|Wikipedia|模板 page|{{#ifeq:模板||article|模板 }} }} if you can.|and visit the Graphics Lab – And improve this {{#ifeq:模板|Wikipedia|模板 page|{{#ifeq:模板||article|模板 }} }} if you can.}} |
{{#ifeq:{{#if:|left|}}|left|}}
{{#switch:
{{#if: | {{{demospace}}} | {{#ifeq:模板|文件 | file | other }} }}
| file | image =
| other | #default = }}
{{Image captions for cleanup/sandbox}}
Error: expandTemplate: template "Image captions for cleanup/sandbox" does not exist
Example 3
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}}
{{#ifeq:|file||}} | {{#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}}}|{{#ifeq:模板|Wikipedia|模板 page|{{#ifeq:模板||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: ||}}|.}} }} }} }} }} }} }} }} {{{example}}} should be cleaned-up right away.|{{#if:| In particular, the caption for ' should be cleaned-up right away.|{{#if:| In particular, the caption for {{{e}}} should be cleaned-up right away.|{{#if:| In particular, the captions for {{{examples}}} should be cleaned-up right away.|{{#if:| In particular, the captions for {{{es}}} should be cleaned-up right away.| }} }} }} }} }} See Wikipedia's picture tutorial and image help pages – review policy on image use {{#ifexist:模板讨论:Image captions for cleanup/doc|and check the talk page – visit the Graphics Lab and improve this {{#ifeq:模板|Wikipedia|模板 page|{{#ifeq:模板||article|模板 }} }} if you can.|and visit the Graphics Lab – And improve this {{#ifeq:模板|Wikipedia|模板 page|{{#ifeq:模板||article|模板 }} }} if you can.}} |
{{#ifeq:{{#if:|left|}}|left|}}
{{#switch:
{{#if: | {{{demospace}}} | {{#ifeq:模板|文件 | file | other }} }}
| file | image =
| other | #default = }}
{{Image captions for cleanup/sandbox}}
Error: expandTemplate: template "Image captions for cleanup/sandbox" does not exist
Example 4
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}}
{{#ifeq:|file||}} | {{#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}}}|{{#ifeq:模板|Wikipedia|模板 page|{{#ifeq:模板||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: ||}}|.}} }} }} }} }} }} }} }} {{{example}}} should be cleaned-up right away.|{{#if:| In particular, the caption for ' should be cleaned-up right away.|{{#if:| In particular, the caption for {{{e}}} should be cleaned-up right away.|{{#if:| In particular, the captions for {{{examples}}} should be cleaned-up right away.|{{#if:| In particular, the captions for {{{es}}} should be cleaned-up right away.| }} }} }} }} }} See Wikipedia's picture tutorial and image help pages – review policy on image use {{#ifexist:模板讨论:Image captions for cleanup/doc|and check the talk page – visit the Graphics Lab and improve this {{#ifeq:模板|Wikipedia|模板 page|{{#ifeq:模板||article|模板 }} }} if you can.|and visit the Graphics Lab – And improve this {{#ifeq:模板|Wikipedia|模板 page|{{#ifeq:模板||article|模板 }} }} if you can.}} |
{{#ifeq:{{#if:|left|}}|left|}}
{{#switch:
{{#if: | {{{demospace}}} | {{#ifeq:模板|文件 | file | other }} }}
| file | image =
| other | #default = }}
{{Image captions for cleanup/sandbox}}
Error: expandTemplate: template "Image captions for cleanup/sandbox" does not exist
Example 5
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:
{{Image captions for cleanup}}
{{#ifeq:|file||}} | {{#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}}}|{{#ifeq:模板|Wikipedia|模板 page|{{#ifeq:模板||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: ||}}|.}} }} }} }} }} }} }} }} {{{example}}} should be cleaned-up right away.|{{#if:| In particular, the caption for ' should be cleaned-up right away.|{{#if:| In particular, the caption for {{{e}}} should be cleaned-up right away.|{{#if:| In particular, the captions for {{{examples}}} should be cleaned-up right away.|{{#if:| In particular, the captions for {{{es}}} should be cleaned-up right away.| }} }} }} }} }} See Wikipedia's picture tutorial and image help pages – review policy on image use {{#ifexist:模板讨论:Image captions for cleanup/doc|and check the talk page – visit the Graphics Lab and improve this {{#ifeq:模板|Wikipedia|模板 page|{{#ifeq:模板||article|模板 }} }} if you can.|and visit the Graphics Lab – And improve this {{#ifeq:模板|Wikipedia|模板 page|{{#ifeq:模板||article|模板 }} }} if you can.}} |
{{#ifeq:{{#if:|left|}}|left|}}
{{#switch:
{{#if: | {{{demospace}}} | {{#ifeq:模板|文件 | file | other }} }}
| file | image =
| other | #default = }}
{{Image captions for cleanup/sandbox}}
Error: expandTemplate: template "Image captions for cleanup/sandbox" does not exist
Example 6
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:
{{Image captions for cleanup}}
{{#ifeq:|file||}} | {{#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}}}|{{#ifeq:模板|Wikipedia|模板 page|{{#ifeq:模板||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: ||}}|.}} }} }} }} }} }} }} }} {{{example}}} should be cleaned-up right away.|{{#if:| In particular, the caption for ' should be cleaned-up right away.|{{#if:| In particular, the caption for {{{e}}} should be cleaned-up right away.|{{#if:| In particular, the captions for {{{examples}}} should be cleaned-up right away.|{{#if:| In particular, the captions for {{{es}}} should be cleaned-up right away.| }} }} }} }} }} See Wikipedia's picture tutorial and image help pages – review policy on image use {{#ifexist:模板讨论:Image captions for cleanup/doc|and check the talk page – visit the Graphics Lab and improve this {{#ifeq:模板|Wikipedia|模板 page|{{#ifeq:模板||article|模板 }} }} if you can.|and visit the Graphics Lab – And improve this {{#ifeq:模板|Wikipedia|模板 page|{{#ifeq:模板||article|模板 }} }} if you can.}} |
{{#ifeq:{{#if:|left|}}|left|}}
{{#switch:
{{#if: | {{{demospace}}} | {{#ifeq:模板|文件 | file | other }} }}
| file | image =
| other | #default = }}
{{Image captions for cleanup/sandbox}}
Error: expandTemplate: template "Image captions for cleanup/sandbox" does not exist
Tracking categories
- [[:Category:{{#ifeq:All image|Category:|模板:Str right|All image captions for cleanup}}|{{#if:|{{{name}}}|Category:{{#ifeq:All image|Category:|模板:Str right|All image captions for cleanup}}}}]] (0)
Redirects
- {{Clean caption}}
- {{Cleanup image captions}}
- {{Cuic}}
See also