Template:Improve caption/doc

From Pantonian Republic Wiki
< Template:Improve caption
Revision as of 12:39, 15 August 2021 by wikipedia>DesertPipeline (→‎See also: Add {{Inline cleanup tags}})
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

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=October 2024}}]]

Output:

Missing caption

Wikitext:

[[File:Wikipedia-logo-v2-en.svg|thumb|left|{{Improve caption|missing=y|date=October 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