Template:Extra album cover/doc
![]() | This is a documentation subpage for Template:Extra album cover. It may contain usage information, categories and other content that is not part of the original template page. |
![]() | This template is used on approximately 8,300 pages and changes may be widely noticed. Test changes in the template's /sandbox or /testcases subpages, or in your own user subpage. Consider discussing changes on the talk page before implementing them. |
![]() | This template uses Lua: |
Usage
[edit]Important: When using this template, please ensure you comply with the non-free content criteria. This includes not using multiple non-free images when one would suffice.
Infobox album
[edit]For use with {{Infobox album}}; use this template in |misc=
like this:
{{Infobox album
...
| misc = {{Extra album cover
| header =
| type = studio
| cover =
| border = <!-- optional parameter, type "yes" here to add a 1px border to the cover image -->
| alt =
| caption =
}}
}}
Other values for |type=
are at Template:Infobox album/color.
Infobox song
[edit]For use with {{Infobox song}}; use this template in |misc=
like this:
{{Infobox song
| type = single
...
| misc = {{Extra album cover
| header =
| type = single
| cover =
| border = <!-- optional parameter, type "yes" here to add a 1px border to the cover image -->
| alt =
| caption =
}}
}}
Note: In the event that |type=single
is not used in Infobox song, specify song
in the |type=
for this subtemplate, so that a light blue color will be produced.
Tracking category
[edit]TemplateData
[edit]TemplateData for Extra album cover
For use with {{Infobox album}} or {{Infobox song}} – adds an extra album cover or image
Parameter | Description | Type | Status | |
---|---|---|---|---|
Header | header | text for top of image
| String | suggested |
Type | type | sets the header color
| String | suggested |
Cover | cover image | the file name for the cover
| File | required |
Cover size | cover_size | specifies the image size | Unknown | optional |
Alt | alt | alternative text for the visually impaired | String | optional |
Border | border | type "yes" to add a 1px border to the image | String | optional |
Caption | caption | adds a caption beneath the image
| String | optional |