Template:Catalog number infobox/doc: Difference between revisions
mNo edit summary |
m (→TemplateData) |
||
(10 intermediate revisions by the same user not shown) | |||
Line 3: | Line 3: | ||
__NOTOC__ | __NOTOC__ | ||
This template | This template, and it's shortcut {{tl|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 {{tl|Catalog number entry}} or {{tl|cne}} shortcut, which uses a non-breaking hyphen. | ||
== | == Syntax == | ||
{{tj|Catalog infobox|Type of Editions|Catalog # of Regular Edition|Catalog # of Limited Edition|Catalog # of Animate Limited Edition|Catalog # of Reprints/Re-Releases|6: Text of | {{tj|Catalog infobox|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}} | ||
{{bi|or with named parameters:}} | |||
{{tj|Catalog infobox|Type of Editions|Regular: Catalog # of Regular Edition| | {{tj|Catalog infobox|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}} | ||
{{bi|'''Using the {{tl|Cni}} shortcut'''}} | |||
{{tj|cni|Type of Editions|Catalog # of Regular Edition|Catalog # of Limited Edition|Catalog # of Animate Limited Edition|Catalog # of Reprints/Re-Releases|6: Text of | {{tj|cni|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}} | ||
{{bi|or with nameded parameters:}} | |||
{{tj|cni|Type of Editions|Regular: Catalog # of Regular Edition| | {{tj|cni|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 == | == Types of Editions == | ||
These should be typed in just as they appear in the Input list. {{code|Regular}} should never be used because it is added automatically | These should be typed in just as they appear in the Input list. {{code|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. | ||
{| class="wikitable" | {| class="wikitable" | ||
|- | |- | ||
! style="width: 15%;" |Input !! Description | ! style="width: 15%;" |Input !! Description | ||
|- | |- | ||
| RP || For CDs with Reprints. Use named parameters or leave the third and fourth parameters blank for this one to work properly. | | RP || For CDs with Reprints. Use named parameters or leave the third and fourth parameters blank for this one to work properly. | ||
Line 29: | Line 27: | ||
| RR || For CDs with Re-Releases that have a different catalog number than the original. This uses the {{para|Reprint}} parameter, just has a different displayed label. | | RR || For CDs with Re-Releases that have a different catalog number than the original. This uses the {{para|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 {{para|Reprint}} parameter, just has a different displayed label. | ||
|- | |- | ||
| | | other || When the labels need to be changed from their default values. {{para|labels}} must be used, which tells how many labels up to 4 are to be used. {{para|6}}, {{para|7}}, {{para|8}}, and {{para|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 {{para|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. | ||
|} | |} | ||
Line 53: | Line 49: | ||
| {{tlc|Catalog infobox|ETT-002}} || {{cni|ETT-002}} | | {{tlc|Catalog infobox|ETT-002}} || {{cni|ETT-002}} | ||
|- | |- | ||
| {{tlc|Catalog infobox|MFCZ-3063|MFCZ-3064}} || {{cni| | | {{tlc|Catalog infobox|MFCZ-3063|MFCZ-3064}} || {{cni|MFCZ-3063|MFCZ-3064}} | ||
|- | |||
| <code><nowiki>{{Catalog infobox||MFCZ-3064}}</nowiki></code> || {{cni||MFCZ-3064}} | |||
|- | |- | ||
| {{tlc|Catalog infobox|FACA-0312|FACA-0313|FACA | | {{tlc|Catalog infobox|FACA-0312|FACA-0313|{{tlf|cne|FACA|0314}}}} || {{cni|FACA-0312|FACA-0313|{{cne|FACA|0314}}}} | ||
|- | |- | ||
| {{ | | <code><nowiki>{{Catalog infobox|FACA-0312||FACA-0314}}</nowiki></code> || {{cni|FACA-0312||FACA-0314}} | ||
|- | |- | ||
| {{tlc|Catalog infobox|RP|FSCA-10186|Reprint {{=}} BJCA-0030}} || {{cni|RP|FSCA-10186|||BJCA-0030}} | | {{tlc|Catalog infobox|RP|FSCA-10186|Reprint {{=}} BJCA-0030}} || {{cni|RP|FSCA-10186|||BJCA-0030}} | ||
|- | |||
| <code><nowiki>{{cni|RS|MMCC-3078|||MESC-0308}}</nowiki></code> || {{cni|RS|MMCC-3078|||MESC-0308}} | |||
|- | |- | ||
| {{tlc|cni|other|labels {{=}} 3|MIMIFM-011|MIMIFM-013|MIMIFM-012|6 {{=}} Regular Edition Vol 1|7 {{=}} Special Edition|8 {{=}} Regular Edition Vol 2}} || {{cni|other|labels = 3|MIMIFM-011|MIMIFM-013|MIMIFM-012|6 = Regular Edition Vol 1|7 = Special Edition|8 = Regular Edition Vol 2}} | | {{tlc|cni|other|labels {{=}} 3|MIMIFM-011|MIMIFM-013|MIMIFM-012|6 {{=}} Regular Edition Vol 1|7 {{=}} Special Edition|8 {{=}} Regular Edition Vol 2}} || {{cni|other|labels = 3|MIMIFM-011|MIMIFM-013|MIMIFM-012|6 = Regular Edition Vol 1|7 = Special Edition|8 = Regular Edition Vol 2}} | ||
Line 69: | Line 69: | ||
"description": "To format the Catalog Number in CD infoboxes.", | "description": "To format the Catalog Number in CD infoboxes.", | ||
"params": { | "params": { | ||
" | "": { | ||
"label": "Type of Edition", | "label": "Type of Edition", | ||
"description": "The types of editions the CD was released in.", | "description": "The types of editions the CD was released in.", | ||
"type": "string", | "type": "string", | ||
"suggestedvalues": [ " | "suggestedvalues": [ "RP", "RR", "RS", "other", "SP", "RV", "Combo RP", "Combo RR", "Combo RS" ], | ||
"required": true | "required": true | ||
}, | }, | ||
" | "1": { | ||
"label": "Regular Edition", | "label": "Regular Edition", | ||
"description": "The catalog number of the regular edition.", | "description": "The catalog number of the regular edition.", | ||
Line 84: | Line 84: | ||
"required": true | "required": true | ||
}, | }, | ||
" | "2": { | ||
"label": "Limited Edition", | "label": "Limited Edition", | ||
"description": "The catalog number of the limited edition.", | "description": "The catalog number of the limited edition.", | ||
"type": "string", | "type": "string", | ||
"example": "MFCZ-3064", | "example": "MFCZ-3064", | ||
"aliases": [ " | "aliases": [ "Limited" ], | ||
"required": false | "required": false | ||
}, | }, | ||
" | "3": { | ||
"label": "Animate Limited Edition", | "label": "Animate Limited Edition", | ||
"description": "The catalog number of the animate limited edition.", | "description": "The catalog number of the animate limited edition.", | ||
"type": "string", | "type": "string", | ||
"example": "FACA-0314", | "example": "FACA-0314", | ||
"aliases": [ "Animate | "aliases": [ "Animate Limited" ], | ||
"required": false | |||
}, | |||
"4": { | |||
"label": "Amazon Limited Edition", | |||
"description": "The catalog number of the amazon limited edition.", | |||
"type": "string", | |||
"example": "FACA-0243", | |||
"aliases": [ "Amazon Limited" ], | |||
"required": false | "required": false | ||
}, | }, | ||
Line 127: | Line 135: | ||
"type": "string", | "type": "string", | ||
"default": "Animate Limited Edition", | "default": "Animate Limited Edition", | ||
"required": false | |||
}, | |||
"9": { | |||
"label": "Label 4", | |||
"description": "To change the label of the 4th item.", | |||
"type": "string", | |||
"required": false | "required": false | ||
} | } | ||
Line 137: | Line 151: | ||
<!-- Categories below this line, please --> | <!-- Categories below this line, please --> | ||
[[Category:Infobox formatting templates]] | [[Category:Infobox formatting templates]] | ||
}}}}</includeonly> | }}}}</includeonly> |
Latest revision as of 07:25, 15 December 2023
It contains usage information, categories and other content that is not part of the original template page.
|
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 |