Wiktenauer logo.png

Difference between revisions of "Template:Doi/doc"

From Wiktenauer
Jump to navigation Jump to search
m (1 revision)
 
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
 
{{documentation subpage}}
 
{{documentation subpage}}
 +
This template is intended to allow simple standardized links to [[digital object identifier]]s (DOIs).  Usually, {{tl|cite doi}} is a much better choice, because it will automatically complete the entire citation in most cases.
  
This template is intended to allow simple standardized links to [[digital object identifier]]s (DOIs). It is now redundant in most cases<!--does not work for some special characters-->, because Wikipedia will automatically parse <nowiki>[[doi:10.1016/j.coi.2004.08.001]]</nowiki> as the link [[doi:10.1016/j.coi.2004.08.001]].
+
== Usage ==
  
If you do wish to use this template, the basic usage is:
+
<pre><nowiki>{{doi|10.1016/j.coi.2004.08.001}}</nowiki></pre>
<nowiki>{{doi|10.1016/j.coi.2004.08.001}}</nowiki>
 
 
which produces:
 
which produces:
 
:{{doi|10.1016/j.coi.2004.08.001}}
 
:{{doi|10.1016/j.coi.2004.08.001}}
  
The template supports all symbols found in DOIs, including [];<>.
+
Usually, this template is preferred:
 +
<pre><nowiki>{{cite doi|10.1016/j.coi.2004.08.001}}</nowiki></pre>
 +
which produces:
 +
:{{cite doi|10.1016/j.coi.2004.08.001}}
  
 
==See also==
 
==See also==
 +
 
*[[Template:Doi-inline]]
 
*[[Template:Doi-inline]]
 
*{{tl|cite doi}}
 
*{{tl|cite doi}}
*[[Wikipedia:DOI]]
+
*[[Wikipedia:Wikipedia:DOI|Wikipedia:DOI]]
*[[Wikipedia:ISBN]]
+
*[[Wikipedia:Wikipedia:ISBN|Wikipedia:ISBN]]
*[[Wikipedia:PMID]]
+
*[[Wikipedia:Wikipedia:PMID|Wikipedia:PMID]]
*[[Wikipedia:ISSN]]
+
*[[Wikipedia:Wikipedia:ISSN|Wikipedia:ISSN]]
 
*[[Template:bibcode]]
 
*[[Template:bibcode]]
  
 
<includeonly>
 
<includeonly>
{{pp-template|small=yes}}
 
<!-- ADD CATEGORIES BELOW THIS LINE -->
 
 
[[Category:External link templates|{{PAGENAME}}]]
 
[[Category:External link templates|{{PAGENAME}}]]
  
<!-- ADD INTERWIKIS BELOW THIS LINE -->
 
 
</includeonly>
 
</includeonly>

Latest revision as of 20:13, 9 December 2013

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