Template:ISSN/doc

From Wikipedia, the free encyclopedia
Jump to navigation Jump to search

Script error: No such module "Message box". Script error: No such module "High-use". Template:ISBN/doc/identifier link information Template:Lua

Usage

This template generates a link for finding data about a (print or on-line) publication via its International Standard Serial Number (ISSN). The ISSN refers to the particular publication, not to a specific issue (or date) of that publication. The ISSN is used to help establish the publication as a Wikipedia reliable source.

For a publication with the ISSN 1234-5678, use Template:Tl2. The template supports up to 9 ISSNs.

Examples

Template:Tlc

results in:

Template:Catalog lookup linkScript error: No such module "check isxn".Script error: No such module "check isxn".Script error: No such module "check isxn".Script error: No such module "check isxn".Script error: No such module "check isxn".Script error: No such module "check isxn".Script error: No such module "check isxn".Script error: No such module "check isxn".Script error: No such module "check isxn".

If more than one ISSN is given, the template will separate them using a comma:

Template:Tlc

results in:

Template:Catalog lookup linkScript error: No such module "check isxn".Script error: No such module "check isxn".Script error: No such module "check isxn".Script error: No such module "check isxn".Script error: No such module "check isxn".Script error: No such module "check isxn".Script error: No such module "check isxn".Script error: No such module "check isxn".Script error: No such module "check isxn".

Alternatively the conjugation between the last two list items can be defined using the |leadout= parameter:

Template:Tlc

results in:

Template:Catalog lookup linkScript error: No such module "check isxn".Script error: No such module "check isxn".Script error: No such module "check isxn".Script error: No such module "check isxn".Script error: No such module "check isxn".Script error: No such module "check isxn".Script error: No such module "check isxn".Script error: No such module "check isxn".Script error: No such module "check isxn".

If the leading "ISSN" should not be a link (for example if already linked to in the article), it can be suppressed using the |link=no parameter:

Template:Tlc

results in:

Template:Catalog lookup linkScript error: No such module "check isxn".Script error: No such module "check isxn".Script error: No such module "check isxn".Script error: No such module "check isxn".Script error: No such module "check isxn".Script error: No such module "check isxn".Script error: No such module "check isxn".Script error: No such module "check isxn".Script error: No such module "check isxn".

It the leading "ISSN" link should not occur (for example in longer lists), it can be suppressed using the |plainlink=yes parameter:

Template:Tlc

results in:

Template:Catalog lookup linkScript error: No such module "check isxn".Script error: No such module "check isxn".Script error: No such module "check isxn".Script error: No such module "check isxn".Script error: No such module "check isxn".Script error: No such module "check isxn".Script error: No such module "check isxn".Script error: No such module "check isxn".Script error: No such module "check isxn".

The |plainlink= and |leadout= parameter can be used at the same time:

Template:Tlc

results in:

Template:Catalog lookup linkScript error: No such module "check isxn".Script error: No such module "check isxn".Script error: No such module "check isxn".Script error: No such module "check isxn".Script error: No such module "check isxn".Script error: No such module "check isxn".Script error: No such module "check isxn".Script error: No such module "check isxn".Script error: No such module "check isxn".

Find ISSN of 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.

Error checking

This template uses Module:Check isxn to validate the ISSN. If the ISSN is not valid, this subtemplate will still generate the link, and it will add the article to Category:Pages with ISSN errors. To be valid, the ISSN must contain a hyphen separating the two groups of four digits.

  • <templatestyles src="Mono/styles.css" />{{ISSN|09516816}} (valid ISSN, but no hyphen)   produces Template:Catalog lookup linkScript error: No such module "check isxn".Script error: No such module "check isxn".Script error: No such module "check isxn".Script error: No such module "check isxn".Script error: No such module "check isxn".Script error: No such module "check isxn".Script error: No such module "check isxn".Script error: No such module "check isxn".Script error: No such module "check isxn".
  • <templatestyles src="Mono/styles.css" />{{ISSN|0951-6816}} (valid ISSN, with hyphen)   produces Template:Catalog lookup linkScript error: No such module "check isxn".Script error: No such module "check isxn".Script error: No such module "check isxn".Script error: No such module "check isxn".Script error: No such module "check isxn".Script error: No such module "check isxn".Script error: No such module "check isxn".Script error: No such module "check isxn".Script error: No such module "check isxn".

Since invalid ISSNs are sometimes used in publications, it is possible to disable the validity check for individual ISSNs given as parameters. In order to do so, add <templatestyles src="Mono/styles.css" />invalid?=yes (with ? replaced by the parameter number 1 to 9) to the template. In this case, the article will be added to Category:Articles with invalid ISSNs.

  • <templatestyles src="Mono/styles.css" />{{ISSN|1028-0836}}   produces Template:Catalog lookup linkScript error: No such module "check isxn".Script error: No such module "check isxn".Script error: No such module "check isxn".Script error: No such module "check isxn".Script error: No such module "check isxn".Script error: No such module "check isxn".Script error: No such module "check isxn".Script error: No such module "check isxn".Script error: No such module "check isxn".
  • <templatestyles src="Mono/styles.css" />{{ISSN|1028-0836|invalid1=yes}}   produces Template:Catalog lookup linkScript error: No such module "check isxn".Script error: No such module "check isxn".Script error: No such module "check isxn".Script error: No such module "check isxn".Script error: No such module "check isxn".Script error: No such module "check isxn".Script error: No such module "check isxn".Script error: No such module "check isxn".Script error: No such module "check isxn".
  • <templatestyles src="Mono/styles.css" />{{ISSN|1028-0836|invalid1=no}}   produces Template:Catalog lookup linkScript error: No such module "check isxn".Script error: No such module "check isxn".Script error: No such module "check isxn".Script error: No such module "check isxn".Script error: No such module "check isxn".Script error: No such module "check isxn".Script error: No such module "check isxn".Script error: No such module "check isxn".Script error: No such module "check isxn".
  • <templatestyles src="Mono/styles.css" />{{ISSN}}   produces Template:Error-small

See also