Template:Doi: Difference between revisions
From Zoophilia Wiki
Jump to navigationJump to search
meta>Trappist the monk m Reverted edits by Trappist the monk (talk) to last version by Matt Fitzpatrick |
meta>Matthiaspaul deliberately going through (identifier) redirect for consistency with CS1 citation templates and to improve reverse lookup functionality |
||
| Line 1: | Line 1: | ||
{{hide in print|{{#ifeq:{{str left|{{{1}}}|3}}|10.|[[ | {{hide in print|{{#ifeq:{{str left|{{{1}}}|3}}|10.|[[doi (identifier)|doi]]:[https://doi.org/{{urlencode:{{{1|{{{id}}}}}}}} {{#tag:nowiki|{{{1|{{{id}}}}}}}}]|<includeonly>[[Category:Pages with DOI errors]]<span class="error">Error: Bad DOI specified!</span></includeonly>}}<!-- | ||
-->}}<!-- | -->}}<!-- | ||
-->{{only in print|doi:{{{1|{{{id}}}}}}<!-- | -->{{only in print|doi:{{{1|{{{id}}}}}}<!-- | ||
Revision as of 18:28, 18 April 2020
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.