Template:UPC/doc
Kaonekelo
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
[kulemba source]This 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
[kulemba source]- Usage:
{{UPC|732302715039}}
- Links to: https://www.searchupc.com/?q=732302715039
- Renders as: UPC 732302715039
Multiple item list example
[kulemba source]- 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
[kulemba source]- 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
[kulemba source]- {{ISBN}}
- {{OCLC}}
- {{ISSN}}
- {{Catalog lookup link}}