Template:Extra album cover

From MusicNation
Jump to navigation Jump to search
[edit] [history] [purge] Documentation icon Template documentation

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.

If this template is substituted, it will return a cleaned-up copy of itself (see Wikipedia:Substitution trick) with unnecessary parameters removed and deprecated parameters replaced. Parameter indentation will also automatically be fixed.

Infobox album

For use with {{Infobox album}}; use this template in |misc= like this:

{{Infobox album
...
| misc    = {{subst: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 single

For use with {{Infobox single}}; use this template in |misc= like this:

{{Infobox single
...
| misc          = {{subst:Extra album cover
 | header  = 
 | type    = single
 | cover   = 
 | border  = <!-- optional parameter, type "yes" here to add a 1px border to the cover image -->
 | alt     = 
 | caption = 
}}
}}

TemplateData

This is the TemplateData documentation for this template used by VisualEditor and other tools.

See the monthly error report for this template.

TemplateData for Extra album cover

For use with {{Infobox album}}, {{Infobox song}}, or {{Infobox single}} – adds an extra album cover or image

Template parameters

ParameterDescriptionTypeStatus
Headerheader upper_caption Upper caption

text for top of image

Example
Alternative cover
Stringsuggested
Typetype Type

sets the header color

Example
song, single, for albums see types in {{Infobox album/color}}
Stringsuggested
Covercover Cover image

the file name for the cover

Example
XXX.jpg (without File:)
Filerequired
Cover sizecover_size cover size Cover size

specifies the image size

Unknownoptional
Altalt Alt

alternative text for the visually impaired

Stringoptional
Borderborder Border

type "yes" to add a 1px border to the image

Stringoptional
Captioncaption Caption lower_caption Lower caption

adds a caption beneath the image

Example
Later American release
Stringoptional