Difference between revisions of "Template:ISSN link/doc"

From blackwiki
Jump to navigation Jump to search
imported>Plastikspork
(→‎See also: Fix links)
imported>Jonesey95
(add documentation about how to find valid ISBNs)
 
(4 intermediate revisions by 3 users not shown)
Line 1: Line 1:
 
{{Documentation subpage}}
 
{{Documentation subpage}}
<!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE -->
+
<!-- Please place categories where indicated at the bottom of this page and interwikis at Wikidata (see [[Wikipedia:Wikidata]]) -->
 +
Use {{tl|ISSN link}} to produce a link or pair of links to the [[Worldcat]] search page for an [[ISSN]]. Unlike {{tl|ISSN}}, this template does not prefix the link with "[[ISSN]]&nbsp;"; and if multiple ISSNs are provided they will be tagged as being for "<small>(print)</small>" and "<small>(web)</small>".
  
=== Usage ===
+
==Usage==
This template generates a link for finding data about a single (print or online) publication via its [[International Standard Serial Number|ISSN]]. 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 ISSN lookup.
+
In any context where you need to show an ISSN linked to a [[Worldcat]] search, but where the inclusion of the "[[ISSN]]&nbsp;" 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 {{tl|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 {{tl|ISSN}} or {{tl|ISSN search link}}.
  
;Example
+
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.
*Usage: <code><nowiki>{{</nowiki>{{BASEPAGENAME}}|0028-0836<nowiki>}}</nowiki></code>
 
*Links to: http://www.worldcat.org/issn/0028-0836
 
*Renders as: {{{{BASEPAGENAME}}|0028-0836}}
 
  
== See also ==
+
*<code>|1=</code>: If <code>|2=</code> is also provided, this is the ISSN for the print edition, and will be tagged with "<small>(print)</small>". If this is the only parameter passed in, no assumption will be made as to its type and no tag will be provided.
 +
*<code>|2=</code>: The ISSN of the online edition. This parameter is optional, but if given will produce a linked ISSN tagged with "<small>(web)</small>".
 +
 
 +
==Examples==
 +
===One argument===
 +
<code><nowiki>{{ISSN link|1234-5678}}</nowiki></code> &rarr; {{ISSN link|1234-5678}}
 +
 
 +
===Two arguments===
 +
<code><nowiki>{{ISSN link|1234-5678|9876-5432}}</nowiki></code> &rarr; {{ISSN link|1234-5678|9876-5432}}
 +
 
 +
===Two arguments without a line break===
 +
<code><nowiki>{{ISSN link|1234-5678|9876-5432|br=;}}</nowiki></code> &rarr; {{ISSN link|1234-5678|9876-5432|br=;}}
 +
 
 +
==Notes and error detection==
 +
===Finding the ISSN of a publication===
 +
*Find the ISSN by [http://grlinker.coalliance.org/grbin/ilu_rmt.cgi searching with the publication's name] on the [[Colorado Alliance of Research Libraries]] web site.
 +
 
 +
===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 {{cl|Articles with invalid ISSNs}}.
 +
 
 +
==See also==
 
*[[Template:Infobox newspaper]]
 
*[[Template:Infobox newspaper]]
 
*[[Template:Infobox journal]]
 
*[[Template:Infobox journal]]
Line 18: Line 41:
 
*[[Template:UPC]]
 
*[[Template:UPC]]
  
<includeonly>
+
<includeonly>{{basepage subpage|
<!-- CATEGORIES HERE, THANKS -->
+
<!-- Categories below this line, please; interwikis at Wikidata -->
[[Category:External link templates|ISSN search link]]
+
[[Category:External link templates]]
</includeonly>
+
[[Category:Catalog lookup templates]]
 +
}}</includeonly>

Latest revision as of 20:28, 14 September 2016

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}} or {{ISSN search link}}.

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-5678Template:Please check ISSN

Two arguments

{{ISSN link|1234-5678|9876-5432}}1234-5678 (print)Template:Please check ISSN
9876-5432 (web)Template:Please check ISSN

Two arguments without a line break

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

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