Diferencia entre revisiones de «Plantilla:Extra album cover»
Sin resumen de edición |
Sin resumen de edición |
||
Línea 1: | Línea 1: | ||
{{Infobox | {{Infobox | ||
| child = <includeonly>yes</includeonly> | | child = <includeonly>yes</includeonly> | ||
| headerstyle = background:#F47079; | | headerstyle = background:#F47079; font-size: 95% | ||
| header1 = {{#switch:{{{header|}}}|no|none=|=Alternative cover|#default={{{header|}}}}} | | header1 = {{#switch:{{{header|}}}|no|none=|=Alternative cover|#default={{{header|}}}}} | ||
| data2 = {{Infobox | child = yes | | data2 = {{Infobox | child = yes |
Revisión actual - 00:21 20 feb 2024
Alternative cover | |
---|---|
This template is used on many 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
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
TemplateData for Extra album cover
<templatedata> { "params": { "header": { "label": "Header", "description": "text for top of image", "example": "UK release", "type": "string", "suggested": true, "default": "Alternative cover" }, "type": { "label": "Type", "description": "sets the header color", "example": "song", "type": "string", "suggested": true }, "cover": { "aliases": [ "image" ], "label": "Cover", "description": "the file name for the cover", "example": "Example.jpg", "type": "wiki-file-name", "required": true }, "cover_size": { "label": "Cover size", "description": "specifies the image size" }, "alt": { "label": "Alt", "description": "alternative text for the visually impaired", "type": "string" }, "border": { "label": "Border", "description": "type \"yes\" to add a 1px border to the image", "type": "string" }, "caption": { "label": "Caption", "description": "adds a caption beneath the image", "example": "Later American release", "type": "string" } },
"description": "For use withUntitled |
---|
Extra album cover | |
---|---|
Song | |
Stems | {{{Stems}}} |
"paramOrder": [ "header", "type", "cover", "cover_size", "alt", "border", "caption" ], "format": "block" } </templatedata>