Template:Embed dpla
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
Parameter | Description | Default | Status | |
---|---|---|---|---|
file | file name | Name of image to display (without "File:" prefix). | none | required |
caption | custom caption text | 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. | empty | optional |
group | toggle reference group | If set to yes , this will create a separate reference group for images, which you can list with {{reflist|group=image}} . | empty | optional |
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.
Parameter | Description | Type | Status | |
---|---|---|---|---|
file name | file | Name of image to display (without "File:" prefix).
| File | required |
custom caption text | caption | 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.
| String | suggested |
toggle reference group | group | If set to "yes", this will create a separate reference group for images, which you can list with {{reflist|group=image}}.
| String | suggested |