Template:Doi
From Wikinfo
This template is intended to allow simple standardized links to digital object identifiers (DOIs).
Contents |
Examples
Usage 1
The basic usage is:
{{doi|10.1016/j.coi.2004.08.001}}
which produces:
Usage 2
If the DOI contains characters such as < and >, that cause the display to break, one may 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:
{{doi
| id = 10.1175/1520-0442(2002)015%3C0487:SOCASI%3E2.0.CO;2
| label = 10.1175/1520-0442(2002)015<0487:SOCASI>2.0.CO;2
}}
produces:
The escape code for < is %3C. For >, it is %3E. For [, use %5B, and for ], %5D.
See also
Adapted from the Wikipedia template/doc "Template:Doi/doc" http://en.wikipedia.org/w/index.php?title=Template:Doi/doc&oldid=161707450 released under the GNU Free Documentation License 1.2
Adapted from the Wikipedia template "Template:Doi" http://en.wikipedia.org/w/index.php?title=Template:Doi&oldid=161710033 released under the GNU Free Documentation License 1.2

