More actions
Created page with "{{Documentation subpage}} {{High-use}} <!-- Categories go at the bottom of this page and interwikis go in Wikidata. --> {{Lua|Module:Check for unknown parameters}} ===Usage=== '''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==== {{main|Template:Infobox album#Template:Extra album cover}} For use with {{tl|Infobox..." |
No edit summary |
||
| (4 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
{{wikipedia|page name}} | |||
{{Documentation subpage}} | {{Documentation subpage}} | ||
<!-- Categories go at the bottom of this page and interwikis go in Wikidata. --> | <!-- Categories go at the bottom of this page and interwikis go in Wikidata. --> | ||
{{Lua|Module:Check for unknown parameters}} | {{Lua|Module:Check for unknown parameters}} | ||
| Line 6: | Line 6: | ||
===Usage=== | ===Usage=== | ||
'''Important''': When using this template, please ensure you comply with the | '''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==== | ====Infobox album==== | ||
| Line 24: | Line 24: | ||
}}</syntaxhighlight> | }}</syntaxhighlight> | ||
Other values for {{para|type}} are at | Other values for {{para|type}} are at Template:Infobox album/color. | ||
====Infobox song==== | ====Infobox song==== | ||
| Line 47: | Line 47: | ||
==TemplateData== | ==TemplateData== | ||
<templatedata> | <templatedata> | ||
{ | { | ||
Latest revision as of 17:30, 9 April 2025
| This page uses Creative Commons Licensed content from Wikipedia (view authors). |
| 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 uses Lua: |
Usage
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
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
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
TemplateData
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 |