Template:Extra album cover/doc

From Talking Heads Wiki
Revision as of 19:02, 26 December 2023 by Wikipedia>Tom.Reding (→‎top: {{High-use}})
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

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: <syntaxhighlight lang="wikitext" style="overflow:auto">{{Infobox album ...

| misc = Alternative cover

}}</syntaxhighlight>

Other values for |type= are at Template:Infobox album/color.

Infobox song

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

<syntaxhighlight lang="wikitext" style="overflow:auto">

Extra album cover/doc
single ...
Alternative cover

</syntaxhighlight>

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

This is the TemplateData for this template used by TemplateWizard, VisualEditor and other tools. See a monthly parameter usage report for Template:Extra album cover in articles based on its 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 with

Untitled

or

Extra album cover/doc
Song

– adds an extra album cover or image",

"paramOrder": [ "header", "type", "cover", "cover_size", "alt", "border", "caption" ], "format": "block" } </templatedata>