Template:Missing image/doc

This template should replace the image syntax when an image is missing from an article, past the article's deadline for substantive changes (as of this writing, 24 hours post-publication), because the image has been deleted. It displays a missing-image message instead of a redlink, and adds a brief explanatory message to the image caption, without removing the article from Category:Pages with broken file links. If the image becomes locally available, the local image is displayed instead of the missing-image message, and the article is not added to Category:Pages with broken file links. If the image is restored on Commons, the template will not detect this, but a redlink in the addition to the caption will become a bluelink.

Articles using this template are all added to Category:Pages with missing-image template calls; this allows DPLs to identify articles that use this template but don't have to (because there's a local image), and articles that don't use this template but should (because there's a broken file link).

Usage
To use, replace the outer double-square brackets with a call to the template. Thus,
 *  ... 

becomes
 *  

If the image went missing locally rather than on commons, add to the template call a non-blank named parameter. This currently implies non-blank  (below), so if this is specified, there's no need to also specify that.

If all efforts have been taken to restore the image (locally or otherwise), and the image is therefore judged unrecoverable, add to the template call a non-blank named parameter ; the page will then be added to hidden Category:Pages with irredeemable missing-image template calls, rather than Category:Pages with missing-image template calls or Category:Pages with broken file links.

Limitations
At present, only unnamed parameters to the template are used in generating an image.

If there is no caption specified, or if the image size parameter occurs after the image caption parameter, this template could mistake the image size for the image caption. A few particular image sizes are specifically recognized, so can't be mistaken for a caption; more can be added by adjusting sub-template missing image/caption? (see below).

Adjustments

 * To adjust how the caption is modified to indicate the image is not available, see sub-template missing image/caption.
 * To adjust what image replaces the missing original when not locally available, see sub-template missing image/file.
 * To add to the list of recognized size parameters, see sub-template missing image/caption?.
 * Currently, this template supports up to seven image-syntax parameters, including the file name and the caption; if that is somehow insufficient, you'll need to adjust it in this template and in sub-templates missing image/transform and missing image/display.