Template:Improve caption/doc
This is a documentation subpage for Template:Improve caption. It contains usage information, categories and other content that is not part of the original Template page. |
[[Category:Template documentation pages{{#translation:}}]]
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:CAPipedialogo-v2-en.svg|thumb|left|Example caption{{Improve caption|date=November 2024}}]]
Output:
Wikitext:
[[File:CAPipedialogo-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": "January 2024", "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