Template:Multiple covers: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
mNo edit summary |
||
Line 1: | Line 1: | ||
<tabs> | <tabs> | ||
{{#tag:tab|[[File:{{{ | {{#tag:tab|[[File:{{{1}}}|{{ #if: {{{2|}}}|{{{2}}}px|300x350px }}|alt={{{3}}}]]|name={{ #if: {{{3|}}}|{{{3}}}|Regular Edition }} }} | ||
{{#tag:tab|[[File:{{{ | {{#tag:tab|[[File:{{{4}}}|{{ #if: {{{5|}}}|{{{5}}}px|300x350px }}|alt={{{6}}}]]|name={{ #if: {{{6|}}}|{{{6}}}|Limited Edition }} }} | ||
{{ #if:{{{ | {{ #if:{{{7|}}} | {{#tag:tab|[[File:{{{7}}}|{{ #if: {{{8|}}}|{{{8}}}px|300x350px }}|alt={{{9}}}]]|name={{{9}}} }}}} | ||
{{ #if:{{{ | {{ #if:{{{10|}}} | {{#tag:tab|[[File:{{{10}}}|{{ #if: {{{11|}}}|{{{11}}}px|300x350px }}|alt={{{12}}}]]|name={{{12}}} }}}} | ||
{{ #if:{{{ | {{ #if:{{{13|}}} | {{#tag:tab|[[File:{{{13}}}|{{ #if: {{{14|}}}|{{{14}}}px|300x350px }}|alt={{{15}}}]]|name={{{15}}} }}}} | ||
</tabs> | </tabs> | ||
<noinclude> | <noinclude> | ||
{{documentation}} | {{documentation}} | ||
</noinclude> | </noinclude> |
Revision as of 00:57, 16 July 2022
[[File:{{{1}}}|300x350px|alt={{{3}}}]]
[[File:{{{4}}}|300x350px|alt={{{6}}}]]
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 |