Template:Catalog number entry/doc

From HIBIKIFORUM
Jump to navigation Jump to search
Light bulb.png }}
It contains usage information, categories and other content that is not part of the original template page.


This template is to format the Catalog Number on CD pages using a non-breaking hyphen to keep them from being split by a line break. It should be used within the parameters of {{Catalog number infobox}}.

Usage

  • {{Catalog number entry|Text before hyphen|Text after hypen}}
Using shortcut
  • {{cne|Text before hyphen|Text after hyphen}}
If there is no hyphen in the Catalog number then just include the entire thing in the first parameter.

Examples

  • {{Catalog number entry|FACA|0312}} → FACA‑0312
  • {{cne|FACA|0312}} → FACA‑0312
When using it with {{Catalog number infobox}}
Input Output
Without {{cni|FACA-0312|FACA-0313|FACA-0314}} Limited Edition: FACA-0313
Regular Edition: FACA-0312
Animate Limited Edition: FACA-0314
With {{cni|FACA-0312|FACA-0313|{{cne|FACA|0314}}}} Limited Edition: FACA-0313
Regular Edition: FACA-0312
Animate Limited Edition: FACA‑0314

TemplateData

Formats the CD catalog number with a non-breaking hyphen. Using just the first parameter also supports non-hyphened catalog numbers

Template parameters

ParameterDescriptionTypeStatus
Before1

Text before the hyphen.

Example
FACA
Stringrequired
After2

Text after the hyphen.

Example
0314
Stringoptional