Template:Catalog number infobox/doc: Difference between revisions
m (→Examples) |
mNo edit summary |
||
Line 3: | Line 3: | ||
__NOTOC__ | __NOTOC__ | ||
This template or 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 | This template or 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. | ||
== Usages == | == Usages == | ||
{{tj|Catalog infobox|Catalog # of Regular Edition|Catalog # of Limited Edition|Catalog # of Animate Limited Edition|Catalog # of Reprints| | {{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 1st Label (Limited Edition)|7: Text of 2nd Label (Regular Edition)|8: Text of 3rd Label (Animate Limited Edition)}} | ||
: or with named parameters: | : or with named parameters: | ||
{{tj|Catalog infobox|Regular: Catalog # of Regular Edition|LE: Catalog # of Limited Edition|Animate LE: Catalog # of Animate Limited Edition|Reprint: Catalog # of Reprints| | {{tj|Catalog infobox|Type of Editions|Regular: Catalog # of Regular Edition|LE: Catalog # of Limited Edition|Animate LE: Catalog # of Animate Limited Edition|Reprint: Catalog # of Reprints/Re-Releases|6: Text of 1st Label (Limited Edition)|7: Text of 2nd Label (Regular Edition)|8: Text of 3rd Label (Animate Limited Edition)}} | ||
: Using the {{tl|Cni}} shortcut | : Using the {{tl|Cni}} shortcut | ||
{{tj|cni|Catalog # of Regular Edition|Catalog # of Limited Edition|Catalog # of Animate Limited Edition|Catalog # of Reprints| | {{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 1st Label (Limited Edition)|7: Text of 2nd Label (Regular Edition)|8: Text of 3rd Label (Animate Limited Edition)}} | ||
: or with nameded parameters: | : or with nameded parameters: | ||
{{tj|cni|Regular: Catalog # of Regular Edition|LE: Catalog # of Limited Edition|Animate LE: Catalog # of Animate Limited Edition|Reprint: Catalog # of Reprints| | {{tj|cni|Type of Editions|Regular: Catalog # of Regular Edition|LE: Catalog # of Limited Edition|Animate LE: Catalog # of Animate Limited Edition|Reprint: Catalog # of Reprints/Re-Releases|6: Text of 1st Label (Limited Edition)|7: Text of 2nd Label (Regular Edition)|8: Text of 3rd Label (Animate Limited Edition)}} | ||
== 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 for all but the LE Only option. 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" | |||
|- | |||
! style="width: 15%;" |Input !! Description | |||
|- | |||
| LE || For CDs with a Limited Edition. | |||
|- | |||
| LE, AnimateLE || For CDs with both Limited Edition and Animate Limited Edition. | |||
|- | |||
| AnimateLE || For CDs with an Animate Limited Edition. | |||
|- | |||
| LE Only || For CDs with only a Limited Edition. Use named parameters or leave the second parameter 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. | |||
|- | |||
| 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. | |||
|- | |||
| other || When the labels need to be changed from their default values. {{para|labels}} must be used, which tells how many labels up to 3 are to be used. {{para|6}}, {{para|7}}, and {{para|8}} are for the entry of the new labels. See the Examples for how to use this one. | |||
|- | |||
| SP || When the 'Limited Edition' is called Special Edition. | |||
|- | |||
| LE, RP || For CDs with Limited Edition and Reprint. Honestly this one probably will never be used, but just in case it is included. | |||
|- | |||
| LE, AnimateLE, RP || For CDs with Limited Edition, Animate Limited Edition and Reprint. Honestly this one probably will never be used, but just in case it is included. | |||
|- | |||
| AnimateLE, RP || For CDs with Animate Limited Edition and Reprints. Honestly this one probably will never be used, but just in case it is included. | |||
|- | |||
| LE, RR || For CDs with Limited Editions and Re-Releases. Honestly this one probably will never be used, but just in case it is included. | |||
|- | |||
| LE, AnimateLE, RR || For CDs with Limited Edition, Animate Limited Edition and Re-Releases. Honestly this one probably will never be used, but just in case it is included. | |||
|- | |||
| Animate, RR || For CDs with Animate Limited Edition and Re-Releases. Honestly this one probably will never be used, but just in case it is included. | |||
|} | |||
== Examples == | == Examples == | ||
Line 23: | Line 59: | ||
| {{tlc|Catalog infobox|ETT-002}} || {{cni|ETT-002}} | | {{tlc|Catalog infobox|ETT-002}} || {{cni|ETT-002}} | ||
|- | |- | ||
| {{tlc|Catalog infobox|MFCZ-3063|MFCZ-3064}} || {{cni|MFCZ-3063|MFCZ-3064}} | | {{tlc|Catalog infobox|LE|MFCZ-3063|MFCZ-3064}} || {{cni|LE|MFCZ-3063|MFCZ-3064}} | ||
|- | |- | ||
| {{tlc|Catalog infobox| | | {{tlc|Catalog infobox|LE, AnimateLE|FACA-0312|FACA-0313|FACA-0314}} || {{cni|LE, AnimateLE|FACA-0312|FACA-0313|FACA-0314}} | ||
|- | |- | ||
| {{tlc|cni|MIMIFM-011|MIMIFM-013|MIMIFM | | {{tlc|Catalog infobox|RP|FSCA-10186|Reprint {{=}} BJCA-0030}} || {{cni|RP|FSCA-10186|Reprint = BJCA-0030}} | ||
|- | |||
| {{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 36: | Line 74: | ||
"params": { | "params": { | ||
"1": { | "1": { | ||
"label": "Type of Edition", | |||
"description": "The types of editions the CD was released in.", | |||
"type": "string", | |||
"suggestedvalues": [ "LE", "LE, AnimateLE", "LE Only", "AnimateLE", "RP", "RR", "other", "SP", "LE, RP", "LE, AnimateLE, RP", "AnimateLE, RP", "LE, RR", "LE, AnimateLE, RR", "AnimateLE, RR" ], | |||
"required": true | |||
}, | |||
"2": { | |||
"label": "Regular Edition", | "label": "Regular Edition", | ||
"description": "The catalog number of the regular edition.", | "description": "The catalog number of the regular edition.", | ||
Line 43: | Line 88: | ||
"required": true | "required": true | ||
}, | }, | ||
" | "3": { | ||
"label": "Limited Edition", | "label": "Limited Edition", | ||
"description": "The catalog number of the limited edition.", | "description": "The catalog number of the limited edition.", | ||
Line 51: | Line 96: | ||
"required": false | "required": false | ||
}, | }, | ||
" | "4": { | ||
"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.", | ||
Line 59: | Line 104: | ||
"required": false | "required": false | ||
}, | }, | ||
" | "5": { | ||
"label": "Reprint", | "label": "Reprint", | ||
"description": "The catalog number of a reprint.", | "description": "The catalog number of a reprint.", | ||
Line 67: | Line 112: | ||
"required": false | "required": false | ||
}, | }, | ||
" | "6": { | ||
"label": "Label | "label": "Label 1", | ||
"description": "To change the label of the Regular Edition.", | "description": "To change the label of the Regular Edition.", | ||
"type": "string", | "type": "string", | ||
Line 74: | Line 119: | ||
"required": false | "required": false | ||
}, | }, | ||
" | "7": { | ||
"label": "Label | "label": "Label 2", | ||
"description": "To change the label of the Limited Edition.", | "description": "To change the label of the Limited Edition.", | ||
"type": "string", | "type": "string", | ||
Line 81: | Line 126: | ||
"required": false | "required": false | ||
}, | }, | ||
" | "8": { | ||
"label": "Label 3", | "label": "Label 3", | ||
"description": "To change the label of the Animate Limited Edition.", | "description": "To change the label of the Animate Limited Edition.", |
Revision as of 19:38, 23 July 2023
It contains usage information, categories and other content that is not part of the original template page.
|
This template or 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.
Usages
| Type of Editions
| Catalog # of Regular Edition
| Catalog # of Limited Edition
| Catalog # of Animate Limited Edition
| Catalog # of Reprints/Re-Releases
| 6 = Text of 1st Label (Limited Edition)
| 7 = Text of 2nd Label (Regular Edition)
| 8 = Text of 3rd Label (Animate Limited Edition)
}}
- or with named parameters:
| Type of Editions
| Regular = Catalog # of Regular Edition
| LE = Catalog # of Limited Edition
| Animate LE = Catalog # of Animate Limited Edition
| Reprint = Catalog # of Reprints/Re-Releases
| 6 = Text of 1st Label (Limited Edition)
| 7 = Text of 2nd Label (Regular Edition)
| 8 = Text of 3rd Label (Animate Limited Edition)
}}
- Using the {{Cni}} shortcut
| Type of Editions
| Catalog # of Regular Edition
| Catalog # of Limited Edition
| Catalog # of Animate Limited Edition
| Catalog # of Reprints/Re-Releases
| 6 = Text of 1st Label (Limited Edition)
| 7 = Text of 2nd Label (Regular Edition)
| 8 = Text of 3rd Label (Animate Limited Edition)
}}
- or with nameded parameters:
| Type of Editions
| Regular = Catalog # of Regular Edition
| LE = Catalog # of Limited Edition
| Animate LE = Catalog # of Animate Limited Edition
| Reprint = Catalog # of Reprints/Re-Releases
| 6 = Text of 1st Label (Limited Edition)
| 7 = Text of 2nd Label (Regular Edition)
| 8 = Text of 3rd Label (Animate Limited Edition)
}}
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 for all but the LE Only option. 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 |
---|---|
LE | For CDs with a Limited Edition. |
LE, AnimateLE | For CDs with both Limited Edition and Animate Limited Edition. |
AnimateLE | For CDs with an Animate Limited Edition. |
LE Only | For CDs with only a Limited Edition. Use named parameters or leave the second parameter 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. |
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.
|
other | When the labels need to be changed from their default values. |labels= must be used, which tells how many labels up to 3 are to be used. |6= , |7= , and |8= are for the entry of the new labels. See the Examples for how to use this one.
|
SP | When the 'Limited Edition' is called Special Edition. |
LE, RP | For CDs with Limited Edition and Reprint. Honestly this one probably will never be used, but just in case it is included. |
LE, AnimateLE, RP | For CDs with Limited Edition, Animate Limited Edition and Reprint. Honestly this one probably will never be used, but just in case it is included. |
AnimateLE, RP | For CDs with Animate Limited Edition and Reprints. Honestly this one probably will never be used, but just in case it is included. |
LE, RR | For CDs with Limited Editions and Re-Releases. Honestly this one probably will never be used, but just in case it is included. |
LE, AnimateLE, RR | For CDs with Limited Edition, Animate Limited Edition and Re-Releases. Honestly this one probably will never be used, but just in case it is included. |
Animate, RR | For CDs with Animate Limited Edition and Re-Releases. Honestly this one probably will never be used, but just in case it is included. |
Examples
Input | Output |
---|---|
{{Catalog infobox|ETT-002}} |
ETT-002 |
{{Catalog infobox|LE|MFCZ-3063|MFCZ-3064}} |
Limited Edition: MFCZ-3063 Regular Edition: LE Animate Limited Edition: MFCZ-3064 |
{{Catalog infobox|LE, AnimateLE|FACA-0312|FACA-0313|FACA-0314}} |
Limited Edition: FACA-0312 Regular Edition: LE, AnimateLE Animate Limited Edition: FACA-0313 Amazon Limited Edition: FACA-0314 |
{{Catalog infobox|RP|FSCA-10186|Reprint = BJCA-0030}} |
FSCA-10186 Reprint: BJCA-0030 |
{{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 | 1 | The types of editions the CD was released in.
| String | required |
Regular Edition | 2 Regular | The catalog number of the regular edition.
| String | required |
Limited Edition | 3 LE | The catalog number of the limited edition.
| String | optional |
Animate Limited Edition | 4 Animate LE | The catalog number of the animate 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 |