Wiktenauer logo.png

Difference between revisions of "Template:Doi"

From Wiktenauer
Jump to navigation Jump to search
m (1 revision)
 
Line 1: Line 1:
<!--
+
{{#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>
-->{{hide in print<!--
 
-->|[[Digital object identifier|doi]]:[http://dx.doi.org/{{urlencode:{{{1|{{{id}}}}}}}} {{#tag:nowiki|{{{1|{{{id}}}}}}}}]<!--
 
-->}}<!--
 
-->{{only in print<!--
 
-->|doi:{{{1|{{{id}}}}}}<!--
 
-->}}<!--
 
--><noinclude>
 
{{documentation}}</noinclude>
 

Revision as of 20:07, 9 December 2013

[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