Open main menu

Wikimedia Commons β


Notice This ingestion template is used for uploads of images from and previously from


Gallery page
Documentation icon Documentationviewedithistorypurge

This documentation is transcluded from Template:Milim/doc.

A military image template for preserving the most relevant fields for photographs and other media available on the website or other Department of Defense websites that provide the same metadata. Note that had a public interface before 2015, but has been hidden, effectively superseded by dvidshub. Existing links on Commons can be usefully swapped over to DVIDS links where they exist.


{{milim |description= |date= |source= |author= |gallery= |permission= |location= |virin= |dateposted= |filename= |newsphotoid= |post= |stars= }}

Please ensure the VIRIN is always provided in this template. This ensures that non-identical duplicates can be found. As photographs from the Department of Defense may have varied EXIF data, the normal file hash check will not always find these duplicates.

Template parameters

Parameter Description Default Status
description Description of the file, normally identical to the Department of Defense gallery description. empty required
date Date photograph or video was taken. empty optional
source Link to source for the media file. empty required
author Author of original file. empty required
gallery Link to gallery webpage providing a source for metadata. empty optional
permission Permission information to supplement the PD license. empty optional
location Location where original was taken. empty optional
virin Unique identifier given by the Department of Defense. empty required
dateposted Date posted to the Department of Defense website, or the original date of official release to the public. empty optional
filename Alternative field for VIRIN, retained for compatibility with uploads from the DoD blog website. empty optional
newsphotoid Unique blog post number assigned when used on the DoD blog website. empty optional
post Link to the blog archive page (showing associated metadata) for photos that have been put on the DoD blog. empty optional
stars Star rating (out of 5) given by DVIDS users. This feature was dropped from the dvidshub website in June 2016. empty optional

Additional information

The template is intended to be used in the following namespaces: the File namespace

The template is intended to be used by the following user groups:

no user group specified