Template:ISSN
| This template is used on approximately 12,000 pages and changes may be widely noticed. Test changes in the template's /sandbox or /testcases subpages, or in your own user subpage. Consider discussing changes on the talk page before implementing them. |
| This template uses Lua: |
| The link in this template goes to a redirect page instead of to the article that is the target of the redirect. This redirect link is intentional so that links using the template are distinguishable from links to the article on the Special:WhatLinksHere/ISSN page. |
This template produces a simple, standardized link from a International Standard Serial Number (ISSN). The ISSN is rendered using much of the same code that renders |issn= in Citation Style 1 and Citation Style 2 templates except that this template can be used to render multiple ISSNs.
Usage
This template accepts these parameters:
|idn=– a ISSN identifier; the|idn=parameter name is not required but is recommended for clarity when the template has multiple ISSNs|link=– accepts a single valueno; for use when the 'ISSN' prefix in the rendering should not be linked|plainlink=– accepts a single valueyes; suppresses the 'ISSN' prefix in the rendering|leadout=– defines the conjunction between the last two identifiers in the rendered list; defaults to,
The basic form is:
{{ISSN|0028-0836}}→ Lua error in Module:Citation/CS1/Configuration at line 2172: attempt to index field '?' (a nil value).
For multiple ISSNs:
{{ISSN|0028-0836|0028-0836|0028-0836}}→ Lua error in Module:Citation/CS1/Configuration at line 2172: attempt to index field '?' (a nil value).
To unlink the prefix:
{{ISSN|0028-0836|link=no}}→ Lua error in Module:Citation/CS1/Configuration at line 2172: attempt to index field '?' (a nil value).
To suppress the prefix:
{{ISSN|0028-0836|plainlink=yes}}→ Lua error in Module:Citation/CS1/Configuration at line 2172: attempt to index field '?' (a nil value).
To use and between the last two identifiers in the rendered list:
{{ISSN|0028-0836|0028-0836|0028-0836|leadout=and}}→ Lua error in Module:Citation/CS1/Configuration at line 2172: attempt to index field '?' (a nil value).
When this template emits an error message for a valid (working) ISSN, use the accept-as-written markup ((..)) to suppress the error message.
{{ISSN|1028-0836}}→ Lua error in Module:Citation/CS1/Configuration at line 2172: attempt to index field '?' (a nil value).{{ISSN|((1028-0836))}}→ Lua error in Module:Citation/CS1/Configuration at line 2172: attempt to index field '?' (a nil value).
Tracking categories
- Category:Ignored ISSN errors – maintenance category for
{{ISSN}}templates using the accept-as-written markup((..))to suppress an error message - Category:Pages with ISSN errors – error category for
{{ISSN}}templates that show an error message
Because this template uses the same code as cs1|2 templates, error and maintenance visibility is controlled the same way. See Help:CS1 errors § Controlling error message display.
See also
- {{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}}
- Wikipedia:ISSN
- {{Catalog lookup link}}