Wiktenauer logo.png

Difference between revisions of "Template:ISSN link"

From Wiktenauer
Jump to navigation Jump to search
(Created page with "{{#if:{{{1|}}}|{{#if:{{{2|}}}|[https://www.worldcat.org/search?fq=x0:jrnl&q=n2:{{#if:1|{{{1}}}}} {{#if:1|{{{1}}}}}] (print)<includeonly>{{#invoke:check isxn|check_issn|1=...")
 
 
Line 1: Line 1:
{{#if:{{{1|}}}|{{#if:{{{2|}}}|[https://www.worldcat.org/search?fq=x0:jrnl&q=n2:{{#if:1|{{{1}}}}} {{#if:1|{{{1}}}}}]&nbsp;(print)<includeonly>{{#invoke:check isxn|check_issn|1={{{1|}}}|error={{Please check ISSN}}}}</includeonly>{{{br|<br>}}} [https://www.worldcat.org/search?fq=x0:jrnl&q=n2:{{#if:1|{{{2}}}}} {{#if:1|{{{2}}}}}]&nbsp;(web)<includeonly>{{#invoke:check isxn|check_issn|1={{{2|}}}|error={{Please check ISSN}}}}</includeonly>|[https://www.worldcat.org/search?fq=x0:jrnl&q=n2:{{#if:1|{{{1}}}}} {{#if:1|{{{1}}}}}]<includeonly>{{#invoke:check isxn|check_issn|1={{{1|}}}|error={{Please check ISSN}}}}</includeonly>}}}}<noinclude>
+
{{#if:{{{1|}}}|{{#if:{{{2|}}}|[//www.worldcat.org/issn/{{#if:1|{{{1}}}}} {{#if:1|{{{1}}}}}]&nbsp;(print){{{br|<br>}}} [//www.worldcat.org/issn/{{#if:1|{{{2}}}}} {{#if:1|{{{2}}}}}]&nbsp;(web)|[//www.worldcat.org/issn/{{#if:1|{{{1}}}}} {{#if:1|{{{1}}}}}]}}}}<noinclude>
 
<!-- * INTERNAL NOTE:
 
<!-- * INTERNAL NOTE:
 
     *
 
     *
 
     * This template uses WorldCat, with the benefit that the link format
 
     * This template uses WorldCat, with the benefit that the link format
 
     *
 
     *
     *  https://www.worldcat.org/search?fq=x0:jrnl&q=n2:[item ISSN]
+
     *  //www.worldcat.org/issn/[item ISSN]
 
     *
 
     *
 
     * is _documented_ (see worldcat.org) and thus unlikely to change.
 
     * is _documented_ (see worldcat.org) and thus unlikely to change.

Latest revision as of 17:58, 25 March 2024

[edit] [history] [purge] Documentation icon Template documentation

Use {{ISSN link}} to produce a link or pair of links to the Worldcat search page for an ISSN. Unlike {{ISSN}}, this template does not prefix the link with "ISSN "; and if multiple ISSNs are provided they will be tagged as being for "(print)" and "(web)".

Usage

In any context where you need to show an ISSN linked to a Worldcat search, but where the inclusion of the "ISSN " prefix would be distracting, or where you need to provide both the ISSN (print) and eISSN (web/online/digital) for a publication, you can use {{ISSN link}} to generate the needed markup. The template was created for use with List of Cambridge University Press journals (several hundred ISSNs in a table, with a separate column for the ISSNs). If you only need a single or a few ISSNs, you'll be better off just using {{ISSN}}.

The template takes two positional parameters, and at least one is required. If both are given, the first is assumed to be the ISSN for the print edition and the second to be the online edition, and both will be tagged accordingly. If only one parameter is given, no assumption is made regarding print vs. online and no tagging is done.

  • |1=: If |2= is also provided, this is the ISSN for the print edition, and will be tagged with "(print)". If this is the only parameter passed in, no assumption will be made as to its type and no tag will be provided.
  • |2=: The ISSN of the online edition. This parameter is optional, but if given will produce a linked ISSN tagged with "(web)".

Examples

One argument

{{ISSN link|1234-5678}}1234-5678

Two arguments

{{ISSN link|1234-5678|9876-5432}}1234-5678 (print)
9876-5432 (web)

Two arguments without a line break

{{ISSN link|1234-5678|9876-5432|br=;}}1234-5678 (print); 9876-5432 (web)

Notes and error detection

Finding the ISSN of a publication

Note

An ISSN is always eight digits long. Scroll down the Worldcat page to find the ISSN. Do not rely on the digits shown in the Worldcat URL for the particular publication, since the URL sometimes shows only seven digits, which is invalid to use as the ISSN.

Errors

Articles with invalid ISSNs (as determined by the template) will be placed in Category:Articles with invalid ISSNs.

See also