Template:Cover image/doc: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
mNo edit summary |
||
(4 intermediate revisions by the same user not shown) | |||
Line 8: | Line 8: | ||
{{tj|Cover image | {{tj|Cover image | ||
| Cover: | | Cover: | ||
| | | Width: | ||
| Caption: | | Caption: | ||
}} | }} | ||
== Parameters == | == Parameters == | ||
; {{para|Cover}} : The file name goes here for the CD's cover, format should be | ; {{para|Cover}} : The file name goes here for the CD's cover, format should be Romaji Name. Do not include the {{code|File:}}, {{code|[[]]}}, or anything else. | ||
; {{para| | ; {{para|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. | ||
; {{para|Caption}} : Use the | ; {{para|Caption}} : Use the Romaji title of the CD here. This will also be used for the {{code|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). {{fcb|red|PLEASE ALWAYS INCLUDE THIS!}} '''Example:''' Saezuru Tori wa Habatakanai Cover | ||
== TemplateData == | == TemplateData == | ||
Line 28: | Line 28: | ||
"required": true | "required": true | ||
}, | }, | ||
" | "Width": { | ||
"label": "Width", | "label": "Width", | ||
"description": "The width of the image if it is smaller then the default.", | "description": "The width of the image if it is smaller then the default.", | ||
Line 37: | Line 37: | ||
"Caption": { | "Caption": { | ||
"label": "Cation", | "label": "Cation", | ||
"description": "The | "description": "The Romaji title of CD is generally used for this.", | ||
"type": "string", | "type": "string", | ||
"required": true | "required": true | ||
Line 49: | Line 49: | ||
<!-- Categories below this line, please --> | <!-- Categories below this line, please --> | ||
[[Category: | [[Category:Infobox formatting templates]] | ||
}}}}</includeonly> | }}}}</includeonly> |
Latest revision as of 04:31, 20 August 2023
It contains usage information, categories and other content that is not part of the original template page.
|
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 |