Template:Catalog number infobox/doc: Difference between revisions

From HIBIKIFORUM
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 143: Line 143:


<!-- Categories below this line, please -->
<!-- Categories below this line, please -->
[[Category:Templates]]
[[Category:Infobox formatting templates]]
[[Category:Infobox formatting templates]]
}}}}</includeonly>
}}}}</includeonly>

Revision as of 03:30, 20 August 2023

Light bulb.png }}
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, 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.

Usages

{{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 (Regular Edition)
| 7 = Text of 2nd Label (Limited Edition)
| 8 = Text of 3rd Label (Animate Limited Edition)
| 9 = Text of 4th Label
}}
or with named parameters:
{{Catalog infobox
| Type of Editions
| Regular = Catalog # of Regular Edition
| Limited = Catalog # of Limited Edition
| Animate Limited = Catalog # of Animate Limited Edition
| Reprint = Catalog # of Reprints/Re-Releases
| 6 = Text of 1st Label (Regular Edition)
| 7 = Text of 2nd Label (Limited Edition)
| 8 = Text of 3rd Label (Animate Limited Edition)
| 9 = Text of 4th Label
}}


Using the {{Cni}} shortcut
{{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 (Regular Edition)
| 7 = Text of 2nd Label (Limited Edition)
| 8 = Text of 3rd Label (Animate Limited Edition)
| 9 = Text of 4th Label
}}
or with nameded parameters:
{{cni
| Type of Editions
| Regular = Catalog # of Regular Edition
| Limited = Catalog # of Limited Edition
| Animate Limited = Catalog # of Animate Limited Edition
| Reprint = Catalog # of Reprints/Re-Releases
| 6 = Text of 1st Label (Regular Edition)
| 7 = Text of 2nd Label (Limited Edition)
| 8 = Text of 3rd Label (Animate Limited Edition)
| 9 = Text of 4th 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 for all but the LE Only option. For Limited Edition, and Animate Limited Edition, the Catalog Numbers only need to be entered in the proper spots 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.
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.
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|{{cne|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|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.

Template parameters

ParameterDescriptionTypeStatus
Type of Edition1

The types of editions the CD was released in.

Suggested values
RP RR other SP LE, RP LE, AnimateLE, RP AnimateLE, RP LE, RR LE, AnimateLE, RR AnimateLE, RR
Stringrequired
Regular Edition2 Regular

The catalog number of the regular edition.

Example
ETT-002
Stringrequired
Limited Edition3 Limited

The catalog number of the limited edition.

Example
MFCZ-3064
Stringoptional
Animate Limited Edition4 Animate Limited

The catalog number of the animate limited edition.

Example
FACA-0314
Stringoptional
Reprint5 Reprint

The catalog number of a reprint.

Example
BJCA-0030
Stringoptional
Label 16

To change the label of the Regular Edition.

Default
Regular Edition
Stringoptional
Label 27

To change the label of the Limited Edition.

Default
Limited Edition
Stringoptional
Label 38

To change the label of the Animate Limited Edition.

Default
Animate Limited Edition
Stringoptional
Label 49

The label of the 4th item.

Stringoptional