Template:Cover image: Difference between revisions
Jump to navigation
Jump to search
(Created page with "[[File:{{ #if: {{{Cover|}}}|{{{Cover}}}|Generic Image CD.jpg }}|{{ #if: {{{Cover Width|}}}|{{{Cover Width}}}px|300x350px }}|{{ #if: {{{Caption|}}}|{{{Caption}}}|Cover Unavailable }}]] <noinclude> {{documentation}} </noinclude>") |
m (Protected "Template:Cover Image" ([Edit=Allow only administrators] (indefinite) [Move=Allow only administrators] (indefinite))) |
(No difference)
|
Revision as of 21:37, 8 September 2022
This is a template for adding a single image cover to the infobox of CD pages.
Usage
When using it, copy the text below and paste it in the infobox under the |Cover=
parameter. Do not delete the items that do not have information, leave them as they are.
Parameters
|Cover=
- The file name goes here for the CD's cover, format should be Romaji Name. Do not include the
File:
,[[]]
, or anything else. |Width=
- This is used for a cover that is smaller than the default 300px width. You only need to enter the number. Example: 150 or 200.
|Caption=
- Use the Romaji title of the CD here. This will also be used for the
Alt Text
which is rendered if either the referenced image cannot be downloaded and embedded, or if the support media must use the alternative description text (e.g. when using a Braille reader or with accessibility options set by the user in its browser). PLEASE ALWAYS INCLUDE THIS! Example: Saezuru Tori wa Habatakanai Cover
TemplateData
Displays the Cover image in CD Infoboxes.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Image Name | Cover | The file name of the image. | String | required |
Width | Width | The width of the image if it is smaller then the default.
| Number | optional |
Cation | Caption | The Romaji title of CD is generally used for this. | String | required |