Jump to content

Template:Publisher Item Identifier/doc

From Wikipedia, the free encyclopedia

Usage

[edit]

This template frames Publisher Item Identifier (PII) codes for usage inside the |id= parameter in the various {{citation}} and {{cite xxx}} templates, or elsewhere. At present it just allows the PII code to be given in some documented way and links to the Publisher Item Identifier article in order to provide some explanation. However, it thereby helps to frame the code in some machine readable form and to standardize the appearance.

Alternatively, if the |check= (1 digit) and |id= (5 digits) or |mr= codes (7 digits from MR) are known, the PII code can be constructed from ISSN (8 digits) or ISBN (10 digits) as well.

The template could be expanded to make the given code available as meta-data, or to provide some error checking or to create DOI codes from PII codes.

Parameters

[edit]

The first parameter should be the PII code (alternatively given as |pii=.

  • Example 1:
{{PII|12345678901234567}}
will result in
PII 12345678901234567
  • Example 2:
{{PII|pii=12345678901234567}}
will result in
PII 12345678901234567
  • Example 3:
{{PII|isbn=1234567890|id=12345|check=x}}
will result in
PII B1234567890/12345-x
  • Example 4:
{{PII|issn=12345678|year=00|id=12345|check=x}}
will result in
PII S12345678(00)12345-x
  • Example 5:
{{PII|issn=12345678|year=2000|id=12345|check=x}}
will result in
PII S12345678(2000)12345-x
  • Example 6:
{{PII|issn=12345678|year=2000|mr=1234567|check=x}}
will result in
PII S12345678(2000)1234567-x

See also

[edit]