Wiktenauer logo.png

Difference between revisions of "Template:Doi"

From Wiktenauer
Jump to navigation Jump to search
 
Line 1: Line 1:
{{#ifeq:{{str left|{{{1}}}|3}}|10.|[[w:Digital object identifier|doi]]:[http://dx.doi.org/{{urlencode:{{{1|{{{id}}}}}}}} {{#tag:nowiki|{{{1|{{{id}}}}}}}}]|<includeonly>[[Category:Pages with DOI errors]]<span class="error">Error: Bad DOI specified!</span></includeonly>}}<noinclude>{{documentation}}</noinclude>
+
{{#ifeq:{{str left|{{{1}}}|3}}|10.|[[Digital object identifier|doi]]:[http://dx.doi.org/{{urlencode:{{{1|{{{id}}}}}}}} {{#tag:nowiki|{{{1|{{{id}}}}}}}}]|<includeonly>[[Category:Pages with DOI errors]]<span class="error">Error: Bad DOI specified!</span></includeonly>}}<noinclude>{{documentation}}</noinclude>

Latest revision as of 20:25, 12 November 2015

[edit] [history] [purge] Documentation icon Template documentation

This template is intended to allow simple standardized links to digital object identifiers (DOIs). Usually, {{cite doi}} is a much better choice, because it will automatically complete the entire citation in most cases.

Usage

{{doi|10.1016/j.coi.2004.08.001}}

which produces:

doi:10.1016/j.coi.2004.08.001

Usually, this template is preferred:

{{cite doi|10.1016/j.coi.2004.08.001}}

which produces:

Goldstein, D. R. (2004). "Toll-like receptors and other links between innate and acquired alloimmunity". Current Opinion in Immunology 16 (5): 538–544. doi:10.1016/j.coi.2004.08.001
     doi:10.1016/j.coi.2004.08.001. PMID 15341996
      PMID 15341996.  edit

See also