Template:Doi: Difference between revisions
From Zoophilia Wiki
Jump to navigationJump to search
meta>Jo-Jo Eumerus m Changed protection level of Template:Doi: Highly visible template: Protecting admin inactive, no need for high protection given the only moderately high usage ([Edit=Require template editor access] (indefinite) [Move=Require... |
meta>Headbomb ce |
||
| Line 1: | Line 1: | ||
{{hide in print|{{#ifeq:{{str left|{{{1}}}|3}}|10.|[[Digital object identifier|doi]]:[//dx.doi.org/{{urlencode: | {{hide in print|{{#ifeq:{{str left|{{{1}}}|3}}|10.|[[Digital object identifier|doi]]:[//dx.doi.org/{{urlencode:{{{id}}}}} {{#tag:nowiki|{{{1|{{{id}}}}}}}}]|<includeonly>[[Category:Pages with DOI errors]]<span class="error">Error: Bad DOI specified!</span></includeonly>}}<!-- | ||
-->}}<!-- | -->}}<!-- | ||
-->{{only in print|doi: | -->{{only in print|doi:{{{id}}}<!-- | ||
-->}}<!-- | -->}}<!-- | ||
--><noinclude> | --><noinclude> | ||
{{documentation}}</noinclude> | {{documentation}}</noinclude> | ||
Revision as of 13:45, 24 September 2016
This template produces a simple, standardized link to a digital object identifier (DOI).
Usage
{{doi|10.1016/j.coi.2004.08.001}}
which produces:
For instructions on how to use Wikipedia to automatically expand a DOI into a full reference complete with article title, author(s), date, journal name, volume, issue, page numbers, etc., please see User:Citation bot/use.
Note: This template does not work properly if there is a space between the vertical bar and the DOI.