Difference between revisions of "Template:JAN"
imported>Matthiaspaul (Converted to use generic link template) |
imported>Matthiaspaul (deliberately routing through (identifier) redirect for consistency with CS1 citation templates and to improve reverse lookup functionality) |
||
| Line 1: | Line 1: | ||
| − | {{Catalog lookup link|{{{jan|{{{1|}}}}}}|{{{2|}}}|{{{3|}}}|{{{4|}}}|{{{5|}}}|{{{6|}}}|{{{7|}}}|{{{8|}}}|{{{9|}}}|list-leadout={{{leadout|}}}|link-prefix=//www.amazon.co.jp/s?url=search-alias=aps&field-keywords=|article-link={{#if:{{{plainlink|}}}|| | + | {{Catalog lookup link|{{{jan|{{{1|}}}}}}|{{{2|}}}|{{{3|}}}|{{{4|}}}|{{{5|}}}|{{{6|}}}|{{{7|}}}|{{{8|}}}|{{{9|}}}|list-leadout={{{leadout|}}}|link-prefix=//www.amazon.co.jp/s?url=search-alias=aps&field-keywords=|article-link={{#if:{{{plainlink|}}}||JAN (identifier)}}|article-name={{#if:{{{plainlink|}}}||JAN}}}}<noinclude> |
{{documentation}} | {{documentation}} | ||
</noinclude> | </noinclude> | ||
Latest revision as of 04:31, 19 April 2020
Usage
This template generates a link for finding data about a single (print or online) publication via its Japanese Article Number (JAN). 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 ISSN or ISBN, in which cases see the "See also" section below for more appropriate templates.
It takes up to nine parameters.
The template can also be used inside the |id= parameter of the various {{cite}} citation templates.
- Example
- Usage:
{{JAN|4910139660715}} - Links to: https://www.amazon.co.jp/s?url=search-alias=aps&field-keywords=4910139660715
- Renders as: JAN 4910139660715
- Note
If you know of an better (official, non-commercial) database for JAN codes, feel free to update the template and replace the link to amazon.jp by something more appropriate.
See also
- {{ASIN}}
- {{Infobox newspaper}}
- {{Infobox journal}}
- {{ISSN}}
- {{ISSN search link}}
- {{OCLC}}
- {{OCLC search link}}
- {{UPC}}
- {{NCID}}
- {{NAID}}
- {{Catalog lookup link}}
| The above documentation is transcluded from Template:JAN/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |