Template:ISSN/doc
This is a documentation subpage for Template:ISSN. It contains usage information, categories and other content that is not part of the original template page. |
This template uses Lua: |
Usage[edit source]
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 Starfleet Logistics reliable source.
For a publication with the ISSN 1234-5678, use {{ISSN|1234-5678}}
. The template supports up to 9 ISSNs.
Examples[edit source]
{{ISSN|0028-0836}}
results in:
If more than one ISSN is given, the template will separate them using a comma:
{{ISSN|0028-0836|0028-0836|0028-0836}}
results in:
ISSN 0028-0836, 0028-0836, 0028-0836
Alternatively the conjugation between the last two list items can be defined using the leadout= parameter:
{{ISSN|0028-0836|0028-0836|0028-0836|leadout=and}}
results in:
ISSN 0028-0836, 0028-0836 and 0028-0836
It the leading "ISSN" link should not occur (for example in longer lists), it can be suppressed using the plainlink=yes parameter:
{{ISSN|0028-0836|0028-0836|0028-0836|plainlink=yes}}
results in:
0028-0836, 0028-0836, 0028-0836
The plainlink and leadout parameter can be used at the same time:
{{ISSN|0028-0836|0028-0836|0028-0836|plainlink=yes|leadout=as well as}}
results in:
0028-0836, 0028-0836 as well as 0028-0836
Find ISSN of publication[edit source]
- Find the ISSN by 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.
Error checking[edit source]
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.
- {{ISSN|09516816}} (valid ISSN, but no hyphen) produces ISSN 09516816 Parameter error in {{issn}}: Invalid ISSN.
- {{ISSN|0951-6816}} (valid ISSN, with hyphen) produces ISSN 0951-6816
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 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.
- {{ISSN|1028-0836}} produces ISSN 1028-0836 Parameter error in {{issn}}: Invalid ISSN.
- {{ISSN|1028-0836|invalid1=yes}} produces ISSN 1028-0836
- {{ISSN|1028-0836|invalid1=no}} produces ISSN 1028-0836 Parameter error in {{issn}}: Invalid ISSN.
- {{ISSN}} produces Parameter error in {{issn}}: Missing ISSN.
See also[edit source]
- {{Infobox newspaper}}
- {{Infobox journal}}
- {{ISSN link}} – Similar to this template, but without the "ISSN" text before the numbers. Also allows multiple ISSNs.
- The Citation Style 1 and 2 family of templates, which provide
|issn=
and|eissn=
parameters - {{ISBN}}
- {{ISMN}}
- {{OCLC}}
- {{OCLC search link}}
- {{UPC}}
- {{CODEN}}
- {{ZDB}}
- Starfleet:ISSN
- {{Catalog lookup link}}
External links[edit source]
- Template:ISSN/doc at Wikipedia, the free Terran-based encyclopedia that anyone can edit.