Difference between revisions of "Template:Extra album cover/doc"
imported>Mike Novikoff (→Usage: linked WP:Substitution trick) |
imported>George Ho (→TemplateData: fix typo) |
||
Line 113: | Line 113: | ||
} | } | ||
}, | }, | ||
− | "description": "For use with {{Infobox album}}, {{Infobox song | + | "description": "For use with {{Infobox album}}, {{Infobox song}}, or {{Infobox single}} – adds an extra album cover or image", |
"paramOrder": [ | "paramOrder": [ | ||
"header", | "header", |
Revision as of 21:18, 8 January 2018
![]() | This is a documentation subpage for Template:Extra album cover. It contains usage information, categories and other content that is not part of the original template page. |
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
TemplateData for Extra album cover
For use with {{Infobox album}}, {{Infobox song}}, or {{Infobox single}} – adds an extra album cover or image
Parameter | Description | Type | Status | |
---|---|---|---|---|
Header | header upper_caption Upper caption | text for top of image
| String | suggested |
Type | type Type | sets the header color
| String | suggested |
Cover | cover Cover image | the file name for the cover
| File | required |
Cover size | cover_size cover size Cover size | specifies the image size | Unknown | optional |
Alt | alt Alt | alternative text for the visually impaired | String | optional |
Border | border Border | type "yes" to add a 1px border to the image | String | optional |
Caption | caption Caption lower_caption Lower caption | adds a caption beneath the image
| String | optional |