Template:Doi/doc: Difference between revisions
From Zoophilia Wiki
Jump to navigationJump to search
No edit summary |
No edit summary |
||
Line 26: | Line 26: | ||
==See also== | ==See also== | ||
*[[Template:Doi-inline]] | *[[Template:Doi-inline]] | ||
*{{tl|cite doi}} | |||
*[[Wikipedia:DOI]] | *[[Wikipedia:DOI]] | ||
*[[Wikipedia:ISBN]] | *[[Wikipedia:ISBN]] |
Revision as of 09:26, 1 August 2008
This is a documentation subpage for Template:Doi. It may contain usage information, categories and other content that is not part of the original template page. |
This template is intended to allow simple standardized links to digital object identifiers (DOIs).
Examples
Usage 1
The basic usage is:
{{doi|10.1016/j.coi.2004.08.001}}
which produces:
DOIs with square brackets
DOIs containing the square bracket characters [] will break, so one has to use the id and label variables. The id variable represents a URL encoded version of the DOI, where the label variable is the normal DOI. The label variable contains the string that is actually displayed on the page, where the closing bracket character must be replaced with a character entity:
{{doi | id = 10.1890/1051-0761(1998)008%5B0947:FROINI%5D2.0.CO;2 | label = 10.1890/1051-0761(1998)008[0947:FROINI]2.0.CO;2 }}
producing
- Error: Bad DOI specified!
See also
- Template:Doi-inline
- {{cite doi}}
- Wikipedia:DOI
- Wikipedia:ISBN
- Wikipedia:PMID
- Wikipedia:ISSN
- Template:bibcode