Template:Media/doc

Usage
This template adds an image to the category " media files", or if that does not exist then "  images", otherwise "  media", with the  sort key.

Tracking category
Category:Pages using Template:Media with ambiguous media category contains pages using this template with an ambiguous category name ending in just "media" rather than "media files" (as opposed to mass media).