Difference between revisions of "Template:Citation/identifier"
m (Changed protection level of Template:Citation/identifier: Enable access by template editors ([Edit=Allow only template editors and admins] (indefinite) [Move=Allow only template editors and admins] (indefinite))) |
m (1 revision) |
(No difference)
|
Latest revision as of 02:48, 22 March 2014
40x40px | This template employs intricate features of template syntax.
You are encouraged to familiarise yourself with its setup and parser functions before editing the template. If your edit causes unexpected problems, please undo it quickly, as this template may appear on a large number of pages. Remember that you can conduct experiments, and should test all improvements, in either the local /sandbox or your user space before changing anything here. |
About this template
Template:Citation/identifier is a helper template to Wikipedia's citation system. This template ties in with other templates like Template:Citation/core. Specifically, it helps render how identifiers like ASIN, ISBN, and JSTOR are rendered in references, producing a consistent look throughout the encyclopedia.
Stand-alone templates
Most of the fields have stand-alone templates for other uses. ISBN, PMID and RFC are directly supported by the MediaWiki software.
Usage
Each identifier is invoked by use of |identifier=
to define the type and one or more
parameters:
input
Identifier | |identifier= |
|input1= |
|input2= |
|input3= |
error check | Stand-alone |
---|---|---|---|---|---|---|
arXiv | arxiv | value | none | {{Arxiv}} | ||
ASIN | asin | value | top-level domain; defaults to com ; do not include leading dot; valid values: co.jp , co.uk , ca , cn , fr , de , it or es |
none | {{ASIN}} | |
Bibcode | bibcode | value | none | {{Bibcode}} | ||
doi | doi | value | date the DOI is broken | if , then error category is suppressed |
ensure doi begins with if not an error shows and the page is placed in Category:Pages with DOI errors |
{{doi}} |
ISBN | isbn | value | none | built in | ||
ISSN | issn | value | none | {{ISSN}} | ||
JFM | jfm | value | none | {{JFM}} | ||
JSTOR | jstor | value | none | {{JSTOR}} | ||
LCCN | lccn | value | none | {{LCCN}} | ||
MR | mr | value | none | {{MathSciNet}} | ||
OCLC | oclc | value | none | {{OCLC}} | ||
OL | ol | value | none | {{OL}} | ||
OSTI | osti | value | none | {{OSTI}} | ||
PMC | pmc | value | none | {{PMC}} | ||
PMID | pmid | value | none | built in or {{PMID}} | ||
RFC | rfc | value | none | built in | ||
SSRN | ssrn | value | none | {{SSRN}} | ||
Zbl | zbl | value | none | {{Zbl}} |
Notes
- Changes should be synchronized between this template and the stand-alone templates.
- {{cite journal}} uses PMC in the url parameter; this needs to be synchronized.
The above documentation is transcluded from Template:Citation/identifier/doc. (edit | history) Editors can experiment in this template's sandbox (edit | diff) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |