Template:Catalog number infobox/doc: Difference between revisions
Jump to navigation
Jump to search
(Created page with "{{Documentation subpage}} {{tsh|Cni}} __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. Parameters {{para|5}}, {{para|6}}, and {{para|7}} allow for the changing of the label text. == Usages == {{tj|Catalog infobox|Catalog # of Regular Edition|Catalog # of Limited Edition|Catalog # of Animate...") |
mNo edit summary |
||
Line 24: | Line 24: | ||
| {{tlc|Catalog infobox|ETT-002}} || {{cni|ETT-002}} | | {{tlc|Catalog infobox|ETT-002}} || {{cni|ETT-002}} | ||
|- | |- | ||
| {{tlc|Catalog infobox|MFCZ-3063|MFCZ-3064 | | {{tlc|Catalog infobox|MFCZ-3063|MFCZ-3064}} || {{cni|MFCZ-3063|MFCZ-3064}} | ||
|- | |- | ||
| {{tlc|Catalog infobox|Regular {{=}} FSCA-10186|Reprint {{=}} BJCA-0030}} || {{cni|Regular = FSCA-10186|Reprint = BJCA-0030}} | | {{tlc|Catalog infobox|Regular {{=}} FSCA-10186|Reprint {{=}} BJCA-0030}} || {{cni|Regular = FSCA-10186|Reprint = BJCA-0030}} |
Revision as of 05:56, 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. Parameters |5=
, |6=
, and |7=
allow for the changing of the label text.
Usages
{{Catalog infobox
| Catalog # of Regular Edition
| Catalog # of Limited Edition
| Catalog # of Animate Limited Edition
| Catalog # of Reprints
| 5 = Text of 2nd Label (Regular Edition)
| 6 = Text of 1st Label (Limited Edition)
| 7 = Text of 3rd Label (Animate Limited Edition)
}}
| Catalog # of Regular Edition
| Catalog # of Limited Edition
| Catalog # of Animate Limited Edition
| Catalog # of Reprints
| 5 = Text of 2nd Label (Regular Edition)
| 6 = Text of 1st Label (Limited Edition)
| 7 = Text of 3rd Label (Animate Limited Edition)
}}
- or with named parameters:
{{Catalog infobox
| Regular = Catalog # of Regular Edition
| LE = Catalog # of Limited Edition
| Animate LE = Catalog # of Animate Limited Edition
| Reprint = Catalog # of Reprints
| 5 = Text of 2nd Label (Regular)
| 6 = Text of 1st Label (Limited Edition)
| 7 = Text of 3rd Label (Animate Limited Edition)
}}
| Regular = Catalog # of Regular Edition
| LE = Catalog # of Limited Edition
| Animate LE = Catalog # of Animate Limited Edition
| Reprint = Catalog # of Reprints
| 5 = Text of 2nd Label (Regular)
| 6 = Text of 1st Label (Limited Edition)
| 7 = Text of 3rd Label (Animate Limited Edition)
}}
- Using the {{Cni}} shortcut
{{cni
| Catalog # of Regular Edition
| Catalog # of Limited Edition
| Catalog # of Animate Limited Edition
| Catalog # of Reprints
| 5 = Text of 2nd Label (Regular Edition)
| 6 = Text of 1st Label (Limited Edition)
| 7 = Text of 3rd Label (Animate Limited Edition)
}}
| Catalog # of Regular Edition
| Catalog # of Limited Edition
| Catalog # of Animate Limited Edition
| Catalog # of Reprints
| 5 = Text of 2nd Label (Regular Edition)
| 6 = Text of 1st Label (Limited Edition)
| 7 = Text of 3rd Label (Animate Limited Edition)
}}
- or with nameded parameters:
{{cni
| Regular = Catalog # of Regular Edition
| LE = Catalog # of Limited Edition
| Animate LE = Catalog # of Animate Limited Edition
| Reprint = Catalog # of Reprints
| 5 = Text of 2nd Label (Regular)
| 6 = Text of 1st Label (Limited Edition)
| 7 = Text of 3rd Label (Animate Limited Edition)
}}
| Regular = Catalog # of Regular Edition
| LE = Catalog # of Limited Edition
| Animate LE = Catalog # of Animate Limited Edition
| Reprint = Catalog # of Reprints
| 5 = Text of 2nd Label (Regular)
| 6 = Text of 1st Label (Limited Edition)
| 7 = Text of 3rd Label (Animate Limited Edition)
}}
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|Regular = FSCA-10186|Reprint = BJCA-0030}} |
FSCA-10186 |
{{cni|MIMIFM-011|MIMIFM-013|MIMIFM‑012|5 = Regular Edition Vol 1|6 = Special Edition|7 = Regular Edition Vol 2}} |
Limited Edition: MIMIFM-013 Regular Edition: MIMIFM-011 Animate Limited Edition: MIMIFM‑012 |
TemplateData
To format the Catalog Number in CD infoboxes.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Regular Edition | 1 Regular | The catalog number of the regular edition.
| String | required |
Limited Edition | 2 LE | The catalog number of the limited edition.
| String | optional |
Animate Limited Edition | 3 Animate LE | The catalog number of the animate limited edition.
| String | optional |
Reprint | 4 Reprint | The catalog number of a reprint.
| String | optional |
Label 2 | 5 | To change the label of the Regular Edition.
| String | optional |
Label 1 | 6 | To change the label of the Limited Edition.
| String | optional |
Label 3 | 7 | To change the label of the Animate Limited Edition.
| String | optional |