Template:Multiple covers: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
mNo edit summary |
||
(30 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
{{ #if:{{{ | {{#tag:tabber| | ||
{{ #if: {{{Tab1|}}}|{{{Tab1}}}|Regular Edition }}= | |||
[[File:{{{ | <div>[[File:{{ #if: {{{Regular|}}}|{{{Regular}}}|Generic Image CD.jpg }}|{{ #if: {{{Regular width|}}}|{{{Regular width}}}px|300x350px }}|{{ #if: {{{Caption1|}}}|{{{Caption1}}}|Cover Unavailable }}]]</div> | ||
< | {{!}}-{{!}} | ||
{{ #if: {{{Tab2|}}}|{{{Tab2}}}|Limited Edition }}= | |||
<div>[[File:{{ #if: {{{Limited|}}}|{{{Limited}}}|Generic Image CD.jpg }}|{{ #if: {{{Limited width|}}}|{{{Limited width}}}px|300x350px }}|{{ #if: {{{Caption2|}}}|{{{Caption2}}}|Cover Unavailable }}]]</div> | |||
}}<noinclude> | |||
{{Documentation}} | |||
<!-- Add categories to the /doc subpage, not here! --> | |||
</noinclude> | |||
</ | |||
</ |
Latest revision as of 22:29, 21 June 2023
This is a template for adding multiple images 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.
{{Multiple Covers | Tab1 = | Regular = | Regular width = | Caption1 = | Tab2 = | Limited = | Limited width = | Caption2 = }}
Parameters Expained
|Tab1=
- This is the tab name. If you leave it blank the default display will be Regular Edition.
|Regular=
- The file name goes here for the CD's Regular cover, format should be Romanji Name.jpg. Do not include the
File:
,[[]]
, or anything else. |Regular 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.
|Caption1=
- Use the Romanji 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
|Tab2=
- This is the tab name. If you leave it blank the default display will be Limited Edition.
|Limited=
- The file name goes here for the CD's Limited/Special Edition cover, format should be Romanji Name Limited Edition.jpg. Do not include the
File:
,[[]]
, or anything else. |Limited 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.
|Caption2=
- You can use a descriptive name 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: Animate Limited Edition Cover
TemplateData
Displays the Cover image in CD Infoboxes.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Tab 1 Name | Tab1 | Text displayed on first tab.
| String | optional |
Regular Edition Cover | Regular | The file name of the regular edition cover image. | Number | required |
Width | Regular width | The width of the image if it is smaller then the default.
| String | optional |
Regular Cover Caption | Caption1 | The Romanji title of CD is generally used for this. | String | required |
Tab 2 Name | Tab2 | Text displayed on second tab.
| String | optional |
Limited Edition Cover | Limited | The file name of the limited or special edition cover image. | Number | required |
Width | Limited width | The width of the image if it is smaller then the default.
| String | optional |
Limited or Special Cover Caption | Caption2 | The Romanji title of CD is generally used for this. | String | required |