Template:Embed dpla

From Wikimedia Commons, the free media repository
Jump to navigation Jump to search
Template documentationview · edit · history · purge ]
This documentation is transcluded from Template:Embed dpla/doc.

This is an experimental template, for demonstration purposes only. Use this template to add DPLA images to articles, and structured data will be used to display a file with either auto-generated caption text, or custom user-provided caption text with auto-generated footnote.

Usage

{{embed_dpla |file= |caption= |group= }}

Template parameters

ParameterDescriptionDefaultStatus
filefile nameName of image to display (without "File:" prefix).nonerequired
captioncustom caption textIf filled in, the image will be displayed with the custom caption text provided instead of default metadata, and metadata will be expressed as a footnote.emptyoptional
grouptoggle reference groupIf set to yes, this will create a separate reference group for images, which you can list with {{reflist|group=image}}.emptyoptional

Additional information

The template is intended to be used in the following namespaces: the main or gallery namespace (unprefixed)

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

Use this template to add DPLA images to articles, and structured data will be used to display a file with either auto-generated caption text, or custom user-provided caption text with auto-generated footnote.

Template parameters[Edit template data]

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
file namefile

Name of image to display (without "File:" prefix).

Example
Maggie Mitchell - DPLA - 1a10faaab7c6083ac27f1afd90716e45 (page 1).jpg
Filerequired
custom caption textcaption

If filled in, the image will be displayed with the custom caption text provided instead of default metadata, and metadata will be expressed as a footnote.

Example
Historic photograph of Boston neighborhood.
Stringsuggested
toggle reference groupgroup

If set to "yes", this will create a separate reference group for images, which you can list with {{reflist|group=image}}.

Example
yes
Stringsuggested