Template:Catalog number entry
(Redirected from Template:Cne)
Jump to navigation
Jump to search
{{{1}}}
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.
- {{Catalog number entry
|Not hyphened catalog number}}
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
Parameter | Description | Type | Status | |
---|---|---|---|---|
Before | 1 | Text before the hyphen.
| String | required |
After | 2 | Text after the hyphen.
| String | optional |