Template:Improve caption/doc: Difference between revisions
m (→See also: Add {{Inline cleanup tags}}) |
m (1 revision imported) |
(No difference)
|
Latest revision as of 15:01, 28 May 2023
This is a documentation subpage for Template:Improve caption. It may contain usage information, categories and other content that is not part of the original template page. |
This template can be used to tag image captions that need improvement, or images which need a caption.
Usage
Place this template within the caption of the image. If tagging a caption that needs improvement, place the template directly after the end of the caption's text without a space. If there is a full stop at the end of the caption, place the template directly after the full stop.
For images without any text in the caption, simply place the template in the caption.
See the Template data section for parameters.
Examples
Caption needing improvement
Wikitext:
[[File:Wikipedia-logo-v2-en.svg|thumb|left|Example caption{{Improve caption|date=November 2024}}]]
Output:
Wikitext:
[[File:Wikipedia-logo-v2-en.svg|thumb|left|{{Improve caption|missing=y|date=November 2024}}]]
Output:
Template data
<templatedata> { "params": { "missing": { "description": "If this parameter is passed and not empty, the text of the tag and hover text will change to indicate the image's caption is missing.", "type": "boolean", "suggested": true }, "reason": { "description": "Replaces the default hover text.", "type": "string", "suggested": true }, "date": { "description": "The date this tag was added. E.g., \"January 2013\" NOT \"jan13\"", "example": "January 2013", "type": "date", "autovalue": "{{subst:CURRENTMONTHNAME}} {{subst:CURRENTYEAR}}", "required": true } }, "format": "inline", "description": "This template can be used to tag image captions that need improvement, or images which need a caption." } </templatedata>
See also
Template:Image captions for cleanup – banner template to tag an article, or a section of an article, as needing caption improvements