![]() | This is a documentation subpage for Template:UPC. It may contain usage information, categories and other content that is not part of the original template page. |
Usage
editThis template generates one or more links for finding data about a publication or other item via its Universal Product Code (UPC). Up to nine codes are supported.
Do not use spaces, dashes or other punctuation, just the numerals in the code.
It may be used to implement other templates or directly; in both cases, please be sure that the context makes clear that it provides a link for UPC lookup. This template should not be used if the item has an ISBN, OCLC Control Number, or ISSN ("See also" section below).
Basic example
edit- Usage:
{{UPC|732302715039}}
- Links to: https://www.searchupc.com/?q=732302715039
- Renders as: UPC 732302715039
Multiple item list example
edit- Usage:
{{UPC|732302715039|732302715039|732302715039}}
- Links to: https://www.searchupc.com/?q=732302715039
- Renders as: UPC 732302715039, 732302715039, 732302715039
- Usage:
{{UPC|732302715039|732302715039|732302715039|leadout=and}}
- Links to: http://www.searchupc.com/?q=732302715039
- Renders as: UPC 732302715039, 732302715039 and 732302715039
Plain link example
edit- Usage:
{{UPC|732302715039|plainlink=yes}}
- Links to: https://www.searchupc.com/?q=732302715039
- Renders as: 732302715039
- Usage:
{{UPC|732302715039|plainlink=no}}
- Links to: https://www.searchupc.com/?q=732302715039
- Renders as: UPC 732302715039
See also
edit- {{EAN}} a 13 digit product code will be an EAN-13. All 12 digit UPC-As can be converted to EAN by prefixing a
0
. - {{ISBN}}
- {{ISSN}}
- {{OCLC}}
- {{Catalog lookup link}}