Template:Catalog number infobox: Difference between revisions
mNo edit summary |
mNo edit summary |
||
(12 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
{{ #switch:{{{1}}} | {{ #switch:{{{1}}} | ||
| | | #default = {{ #switch:{{ #if:{{{1|{{{Regular|}}}}}}|1|0}}{{ #if:{{{2|{{{Limited|}}}}}}|1|0}}{{ #if:{{{3|{{{Animate Limited|}}}}}}|1|0}}{{ #if:{{{4|{{{Amazon Limited|}}}}}}|1|0}} | ||
| 1111 = Limited Edition: {{{2|{{{Limited}}}}}}{{br}}Regular Edition: {{{1|{{{Regular}}}}}}{{br}}Animate Limited Edition: {{{3|{{{Animate Limited}}}}}}{{br}}Amazon Limited Edition: {{{4|{{{Amazon Limited}}}}}} | |||
| 1110 = Limited Edition: {{{2|{{{Limited}}}}}}{{br}}Regular Edition: {{{1|{{{Regular}}}}}}{{br}}Animate Limited Edition: {{{3|{{{Animate Limited}}}}}} | |||
| 1101 = Limited Edition: {{{2|{{{Limited}}}}}}{{br}}Regular Edition: {{{1|{{{Regular}}}}}}{{br}}Amazon Limited Edition: {{{3|{{{Amazon Limited}}}}}} | |||
| RP = {{{2|{{{Regular | | 1100 = Limited Edition: {{{2|{{{Limited}}}}}}{{br}}Regular Edition: {{{1|{{{Regular}}}}}} | ||
| RR = {{{2|{{{Regular | | 1011 = Regular Edition: {{{1|{{{Regular}}}}}}{{br}}Animate Limited Edition: {{{3|{{{Animate Limited}}}}}}{{br}}Amazon Limited Edition: {{{4|{{{Amazon Limited}}}}}} | ||
| 1010 = Regular Edition: {{{1|{{{Regular}}}}}}{{br}}Animate Limited Edition: {{{3|{{{Animate Limited}}}}}} | |||
| 1000 = {{{1|{{{Regular}}}}}} | |||
| 1001 = {{{1|{{{Regular}}}}}}{{br}}Amazon Limited Edition: {{{3|{{{Amazon Limited}}}}}} | |||
| 0100 = Limited Edition: {{{2|{{{Limited}}}}}} | |||
| 0101 = Limited Edition: {{{2|{{{Limited}}}}}}{{br}}Amazon Limited Edition: {{{3|{{{Amazon Limited}}}}}} | |||
| 0110 = Limited Edition: {{{2|{{{Limited}}}}}}{{br}}Animate Limited Edition: {{{3|{{{Animate Limited}}}}}} | |||
| 0111 = Limited Edition: {{{2|{{{Limited}}}}}}{{br}}Animate Limited Edition: {{{3|{{{Animate Limited}}}}}}{{br}}Amazon Limited Edition: {{{4|{{{Amazon Limited}}}}}} | |||
}} | |||
| RP = {{{2|{{{Regular}}}}}}{{br}}Reprint: {{{5|{{{Reprint}}}}}} | |||
| RR = {{{2|{{{Regular}}}}}}{{br}}Re-Release: {{{5|{{{Reprint}}}}}} | |||
| RS = {{{2|{{{Regular}}}}}}{{br}}Resale: {{{5|{{{Reprint}}}}}} | |||
| other = {{ #switch:{{{labels|}}} | | other = {{ #switch:{{{labels|}}} | ||
| 1 = {{{6}}}: {{{2|{{{Regular}}}}}} | | 1 = {{If empty|{{{6|}}}|Regular Edition}}: {{{2|{{{Regular}}}}}} | ||
| 2 = {{{7}}}: {{{3|{{{Limited}}}}}}{{br}}{{{6}}}: {{{2|{{{Regular}}}}}} | | 2 = {{If empty|{{{7|}}}|Limited Edition}}: {{{3|{{{Limited}}}}}}{{br}}{{If empty|{{{6|}}}|Regular Edition}}: {{{2|{{{Regular}}}}}} | ||
| 3 = {{{7}}}: {{{3|{{{Limited}}}}}}{{br}}{{{6}}}: {{{2|{{{Regular}}}}}}{{br}}{{{8}}}: {{{4|{{{Animate Limited}}}}}} | | 3 = {{If empty|{{{7|}}}|Limited Edition}}: {{{3|{{{Limited}}}}}}{{br}}{{If empty|{{{6|}}}|Regular Edition}}: {{{2|{{{Regular}}}}}}{{br}}{{If empty|{{{8|}}}|Animate Limited Edition}}: {{{4|{{{Animate Limited}}}}}} | ||
| 4 = {{If empty|{{{7|}}}|Limited Edition}}: {{{3|{{{Limited}}}}}}{{br}}{{If empty|{{{6|}}}|Regular Edition}}: {{{2|{{{Regular}}}}}}{{br}}{{If empty|{{{8|}}}|Animate Limited Edition}}: {{{4|{{{Animate Limited}}}}}}{{br}}{{{9}}}: {{{5|{{{Reprint}}}}}} | |||
}} | |||
| SP = Special Edition: {{{3|{{{Limited}}}}}}{{br}}Regular Edition: {{{2|{{{Regular}}}}}}} | | SP = Special Edition: {{{3|{{{Limited}}}}}}{{br}}Regular Edition: {{{2|{{{Regular}}}}}} | ||
| | | RV = {{{2|{{{Regular}}}}}}{{br}}Revival Edition: {{{5|{{{Reprint}}}}}} | ||
| Combo RP = {{ #switch:{{ #if:{{{3|{{{Limited|}}}}}}|1|0}}{{ #if:{{{4|{{{Animate Limited|}}}}}}|1|0}}{{ #if:{{{5|{{{Reprint}}}}}}|1|0}} | |||
| 101 = Limited Edition: {{{3|{{{Limited}}}}}}{{br}}Regular Edition: {{{2|{{{Regular}}}}}}{{br}}{{br}}Reprint: {{{5|{{{Reprint}}}}}} | |||
| | | 111 = Limited Edition: {{{3|{{{Limited}}}}}}{{br}}Regular Edition: {{{2|{{{Regular}}}}}}{{br}}Animate Limited Edition: {{{4|{{{Animate Limited}}}}}}{{br}}Reprint: {{{5|{{{Reprint}}}}}} | ||
| 011 = Regular Edition: {{{2|{{{Regular}}}}}}{{br}}Animate Limited Edition: {{{4|{{{Animate Limited}}}}}}{{br}}Reprint: {{{5|{{{Reprint}}}}}} | |||
}} | |||
| Combo RR = {{ #switch:{{ #if:{{{3|{{{Limited|}}}}}}|1|0}}{{ #if:{{{4|{{{Animate Limited|}}}}}}|1|0}}{{ #if:{{{5|{{{Reprint}}}}}}|1|0}} | |||
| 101 = Limited Edition: {{{3|{{{Limited}}}}}}{{br}}Regular Edition: {{{2|{{{Regular}}}}}}{{br}}{{br}}Re-Release: {{{5|{{{Reprint}}}}}} | |||
| 111 = Limited Edition: {{{3|{{{Limited}}}}}}{{br}}Regular Edition: {{{2|{{{Regular}}}}}}{{br}}Animate Limited Edition: {{{4|{{{Animate Limited}}}}}}{{br}}Re-Release: {{{5|{{{Reprint}}}}}} | |||
| 011 = Regular Edition: {{{2|{{{Regular}}}}}}{{br}}Animate Limited Edition: {{{4|{{{Animate Limited}}}}}}{{br}}Re-Release: {{{5|{{{Reprint}}}}}} | |||
}} | |||
| Combo RS = {{ #switch:{{ #if:{{{3|{{{Limited|}}}}}}|1|0}}{{ #if:{{{4|{{{Animate Limited|}}}}}}|1|0}}{{ #if:{{{5|{{{Reprint}}}}}}|1|0}} | |||
| 101 = Limited Edition: {{{3|{{{Limited}}}}}}{{br}}Regular Edition: {{{2|{{{Regular}}}}}}{{br}}{{br}}Resale: {{{5|{{{Reprint}}}}}} | |||
| 111 = Limited Edition: {{{3|{{{Limited}}}}}}{{br}}Regular Edition: {{{2|{{{Regular}}}}}}{{br}}Animate Limited Edition: {{{4|{{{Animate Limited}}}}}}{{br}}Resale: {{{5|{{{Reprint}}}}}} | |||
| 011 = Regular Edition: {{{2|{{{Regular}}}}}}{{br}}Animate Limited Edition: {{{4|{{{Animate Limited}}}}}}{{br}}Resale: {{{5|{{{Reprint}}}}}} | |||
}} | |||
}}<noinclude> | }}<noinclude> | ||
Latest revision as of 04:24, 6 April 2024
This template, and it's shortcut {{Cni}} is used to format the catalog number in CD infoboxes. Unnamed or named paramters may be used. If a parameter needs to be skipped then named or numbered parameters should be used, otherwise an empty space must be left. If the catalog numbers are splitting between two lines then use the {{Catalog number entry}} or {{cne}} shortcut, which uses a non-breaking hyphen.
Syntax
| Type of Editions
| Catalog # of Regular Edition
| Catalog # of Limited Edition
| Catalog # of Animate Limited Edition
| Catalog # of Amazon Limited Edition
| Catalog # of Reprints/Re-Releases/Resale/Revival
| 6 = Text of Regular Edition Label
| 7 = Text of Limited Edition Label
| 8 = Text of Animate Limited Edition Label
| 9 = Text of Reprint Label
}}
| Type of Editions
| Regular = Catalog # of Regular Edition
| Limited = Catalog # of Limited Edition
| Animate Limited = Catalog # of Animate Limited Edition
| Amazon Limited = Catalog # of Amazon Limited Edition
| Reprint = Catalog # of Reprints/Re-Releases/Resale/Revival
| 6 = Text of Regular Edition Label
| 7 = Text of Limited Edition Label
| 8 = Text of Animate Limited Edition Label
| 9 = Text of Reprint Label
}}
| Type of Editions
| Catalog # of Regular Edition
| Catalog # of Limited Edition
| Catalog # of Animate Limited Edition
| Catalog # of Amazon Limited Edition
| Catalog # of Reprints/Re-Releases/Resale/Revival
| 6 = Text of Regular Edition Label
| 7 = Text of Limited Edition Label
| 8 = Text of Animate Limited Edition Label
| 9 = Text of Reprint Label
}}
| Type of Editions
| Regular = Catalog # of Regular Edition
| Limited = Catalog # of Limited Edition
| Animate Limited = Catalog # of Animate Limited Edition
| Amazon Limited = Catalog # of Amazon Limited Edition
| Reprint = Catalog # of Reprints/Re-Releases/Resale/Revival
| 6 = Text of Regular Edition Label
| 7 = Text of Limited Edition Label
| 8 = Text of Animate Limited Edition Label
| 9 = Text of Reprint Label
}}
Types of Editions
These should be typed in just as they appear in the Input list. Regular
should never be used because it is added automatically when needed. For Limited Edition, and Animate Limited Edition, the Catalog Numbers only need to be entered in the proper parameters and the first parameter is not needed. Generally if there is only a regular edition then this template probably doesn't need to be used, but it can be by just putting the Catalog Number in the first parameter.
Input | Description |
---|---|
RP | For CDs with Reprints. Use named parameters or leave the third and fourth parameters blank for this one to work properly. |
RR | For CDs with Re-Releases that have a different catalog number than the original. This uses the |Reprint= parameter, just has a different displayed label.
|
RS | For CDs with Resales that have a different catalog number than the original. This uses the |Reprint= parameter, just has a different displayed label.
|
other | When the labels need to be changed from their default values. |labels= must be used, which tells how many labels up to 4 are to be used. |6= , |7= , |8= , and |9= are for the entry of the new labels. See the Examples for how to use this one.
|
RV | For CDs with Revival Editions (Movic Re-releases) that have a different catalog number than the original. This uses the |Reprint= parameter, just has a different displayed label.
|
SP | When the 'Limited Edition' is called Special Edition. |
Combo RP | For CDs with any number of Editions and a Reprint. Just enter the Catalog numbers in the appropriate parameters. This will probably never be needed but just in case. |
Combo RR | For CDs with any number of Editions and a Re-Release. Just enter the Catalog numbers in the appropriate parameters. This will probably never be needed but just in case. |
Combo RS | For CDs with any number of Editions and a Resale. Just enter the Catalog numbers in the appropriate parameters. This will probably never be needed but just in case. |
Examples
Input | Output |
---|---|
{{Catalog infobox|ETT-002}} |
ETT-002 |
{{Catalog infobox|MFCZ-3063|MFCZ-3064}} |
Limited Edition: MFCZ-3064 Regular Edition: MFCZ-3063 |
{{Catalog infobox||MFCZ-3064}} |
Limited Edition: MFCZ-3064 |
{{Catalog infobox|FACA-0312|FACA-0313|{{cne|FACA|0314}}}} |
Limited Edition: FACA-0313 Regular Edition: FACA-0312 Animate Limited Edition: FACA‑0314 |
{{Catalog infobox|FACA-0312||FACA-0314}} |
Regular Edition: FACA-0312 Animate Limited Edition: FACA-0314 |
{{Catalog infobox|RP|FSCA-10186|Reprint = BJCA-0030}} |
FSCA-10186 Reprint: BJCA-0030 |
{{cni|RS|MMCC-3078|||MESC-0308}} |
MMCC-3078 Resale: MESC-0308 |
{{cni|other|labels = 3|MIMIFM-011|MIMIFM-013|MIMIFM-012|6 = Regular Edition Vol 1|7 = Special Edition|8 = Regular Edition Vol 2}} |
Special Edition: MIMIFM-013 Regular Edition Vol 1: MIMIFM-011 Regular Edition Vol 2: MIMIFM-012 |
TemplateData
To format the Catalog Number in CD infoboxes.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Type of Edition |
| The types of editions the CD was released in.
| String | required |
Regular Edition | 1 Regular | The catalog number of the regular edition.
| String | required |
Limited Edition | 2 Limited | The catalog number of the limited edition.
| String | optional |
Animate Limited Edition | 3 Animate Limited | The catalog number of the animate limited edition.
| String | optional |
Amazon Limited Edition | 4 Amazon Limited | The catalog number of the amazon limited edition.
| String | optional |
Reprint | 5 Reprint | The catalog number of a reprint.
| String | optional |
Label 1 | 6 | To change the label of the Regular Edition.
| String | optional |
Label 2 | 7 | To change the label of the Limited Edition.
| String | optional |
Label 3 | 8 | To change the label of the Animate Limited Edition.
| String | optional |
Label 4 | 9 | To change the label of the 4th item. | String | optional |