Template:Citation/identifier: Difference between revisions
Appearance
Content deleted Content added
PMC: fix = |
ud from sandbox |
||
Line 7: | Line 7: | ||
}} |
}} |
||
|asin={{hide in print |
|asin={{hide in print |
||
|[[Amazon Standard Identification Number|ASIN]] [ |
|[[Amazon Standard Identification Number|ASIN]] [//www.amazon.<!-- |
||
-->{{#switch: {{{input2|}}} |
-->{{#switch: {{{input2|}}} |
||
|ca=ca |
|ca=ca |
||
Line 57: | Line 57: | ||
}} |
}} |
||
|issn={{hide in print |
|issn={{hide in print |
||
|[[International Standard Serial Number|ISSN]] [ |
|[[International Standard Serial Number|ISSN]] [//www.worldcat.org/issn/{{{input1|}}} {{#tag:nowiki|{{{input1|}}}}}] |
||
}}<!-- |
}}<!-- |
||
-->{{only in print |
-->{{only in print |
||
Line 69: | Line 69: | ||
}} |
}} |
||
|jstor={{hide in print |
|jstor={{hide in print |
||
|[[JSTOR]] [ |
|[[JSTOR]] [//www.jstor.org/stable/{{{input1|}}} {{#tag:nowiki|{{{input1|}}}}}] |
||
}}<!-- |
}}<!-- |
||
-->{{only in print |
-->{{only in print |
||
Line 81: | Line 81: | ||
}} |
}} |
||
|mr={{hide in print |
|mr={{hide in print |
||
|[[Mathematical Reviews|MR]][ |
|[[Mathematical Reviews|MR]] [//www.ams.org/mathscinet-getitem?mr{{=}}{{{input1|}}} {{#tag:nowiki|{{{input1|}}}}}] |
||
}}<!-- |
}}<!-- |
||
-->{{only in print |
-->{{only in print |
||
Line 87: | Line 87: | ||
}} |
}} |
||
|oclc={{hide in print |
|oclc={{hide in print |
||
|[[Online Computer Library Center|OCLC]] [ |
|[[Online Computer Library Center|OCLC]] [//www.worldcat.org/oclc/{{{input1|}}} {{#tag:nowiki|{{{input1|}}}}}] |
||
}}<!-- |
}}<!-- |
||
-->{{only in print |
-->{{only in print |
||
Line 93: | Line 93: | ||
}} |
}} |
||
|ol={{hide in print |
|ol={{hide in print |
||
|1={{#if:{{str endswith|{{{input1|}}}|A}} |
|||
|[[Open Library|OL]][http://openlibrary.org/authors/OL{{urlencode:{{{input1|}}}}} {{{input1|}}}] |
|||
⚫ | |||
|{{#if:{{str endswith|{{{id|{{{1}}}}}}|M}} |
|||
⚫ | |||
|OL{{{input1|}}} |
|[[Open Library|OL]][http://openlibrary.org/books/OL{{urlencode:{{{input1|}}}}} {{{input1|}}}] |
||
|{{#if:{{str endswith|{{{id|{{{1}}}}}}|W}} |
|||
⚫ | |||
|[[Open Library|OL]][http://openlibrary.org/works/OL{{urlencode:{{{input1|}}}}} {{{input1|}}}] |
|||
|<includeonly>[[Category:Pages with OL errors]]<span class="error">Error: Bad OL specified!</span></includeonly> |
|||
}} |
|||
}} |
|||
⚫ | |||
⚫ | |||
⚫ | |||
|1=OL{{{id|{{{1}}}}}} |
|||
}} |
|||
|osti={{hide in print |
|osti={{hide in print |
||
|[[Office of Scientific and Technical Information|OSTI]] [ |
|[[Office of Scientific and Technical Information|OSTI]] [//www.osti.gov/energycitations/product.biblio.jsp?osti_id{{=}}{{{input1|}}} {{#tag:nowiki|{{{input1|}}}}}] |
||
}}<!-- |
}}<!-- |
||
-->{{only in print |
-->{{only in print |
||
Line 105: | Line 114: | ||
}} |
}} |
||
|pmc={{hide in print |
|pmc={{hide in print |
||
|[[PubMed Central|PMC]] [ |
|[[PubMed Central|PMC]] [//www.ncbi.nlm.nih.gov/pmc/articles/PMC{{{input1|}}}/?tool{{=}}pmcentrez {{#tag:nowiki|{{{input1|}}}}}] |
||
}}<!-- |
}}<!-- |
||
-->{{only in print |
-->{{only in print |
||
Line 111: | Line 120: | ||
}} |
}} |
||
|pmid={{hide in print |
|pmid={{hide in print |
||
|[[PubMed Identifier|PMID]] [ |
|[[PubMed Identifier|PMID]] [//www.ncbi.nlm.nih.gov/pubmed/{{{input1|}}} {{#tag:nowiki|{{{input1|}}}}}] |
||
}}<!-- |
}}<!-- |
||
-->{{only in print |
-->{{only in print |
||
Line 117: | Line 126: | ||
}} |
}} |
||
|rfc={{hide in print |
|rfc={{hide in print |
||
|[[Request for Comments|RFC]] [ |
|[[Request for Comments|RFC]] [//tools.ietf.org/html/rfc{{{input1|}}} {{#tag:nowiki|{{{input1|}}}}}] |
||
}}<!-- |
}}<!-- |
||
-->{{only in print |
-->{{only in print |
Revision as of 12:18, 5 May 2012
![]() | 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. You can conduct experiments, and should test all major changes, in either this template's sandbox, the general template sandbox, or your user space before changing anything here. |
![]() | Do not modify. Citation/identifier is preserved as an historical reference against which current Lua-based cs1|2 templates may be compared. |
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.
Usage
Each identifier is invoked by use of |identifier=
to define the type and one or more input
parameters:
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 true , then error category is suppressed |
ensure doi begins with 10. if not an error shows and the page is placed in Category:Pages with DOI errors |
{{doi}} |
hdl | hdl | value | none | {{hdl}} | ||
ISBN | isbn | value | none | {{ISBN}} | ||
ISMN | ismn | value | none | {{ISMN}} | ||
ISSN | issn | value | none | {{ISSN}} | ||
JFM | jfm | value | none | {{JFM}} | ||
JSTOR | jstor | value | none | {{JSTOR}} | ||
LCCN | lccn | value | none | {{LCCN}} | ||
MR | mr | value | none | {{MR}} | ||
OCLC | oclc | value | none | {{OCLC}} | ||
OL | ol | value | none | {{OL}} | ||
OSTI | osti | value | none | {{OSTI}} | ||
PMC | pmc | value | none | {{PMC}} | ||
PMID | pmid | value | none | {{PMID}} | ||
RFC | rfc | value | none | {{IETF RFC}} | ||
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.