Template:Doi/doc: Difference between revisions

From Zoophilia Wiki
Jump to navigationJump to search
meta>Leyo
Special characters
Ookami (talk | contribs)
m 56 revisions imported
 
(41 intermediate revisions by 25 users not shown)
Line 1: Line 1:
{{lowercase}}
{{documentation subpage}}
{{documentation subpage}}


This template is intended to allow simple standardized links to [[digital object identifier]]s (DOIs).
This template produces a simple, standardized link to a [[digital object identifier]] (DOI).


== Examples ==
== Usage ==
The usage is:
  <nowiki>{{doi|10.1016/j.coi.2004.08.001}}</nowiki>
  <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}}
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]].


== Special characters ==
'''''Note:''''' This template does not work properly if there is a space between the vertical bar and the DOI.
If a DOI string contains the characters <tt><</tt>, <tt>></tt>, <tt>[</tt> or <tt>]</tt>, they have to be replaced (see [[Percent-encoding#Percent-encoding reserved characters|Percent-encoding]]):
* <tt><</tt> → <tt>&amp;#60;</tt>
* <tt>></tt> → <tt>&amp;#62;</tt>
* <tt>[</tt> → <tt>&amp;#x5B;</tt>
* <tt>]</tt> → <tt>&amp;#x5D;</tt>


== See also ==
==See also==
* [[Template:Doi-inline]]
*{{tl|doi-inline}}
*{{tl|hdl}}
*[[Wikipedia:Digital Object Identifier]]
*[[Wikipedia:ISBN]]
*[[Wikipedia:PMID]]
*[[Wikipedia:ISSN]]
*{{tl|bibcode}}
*{{tl|PII}}


<includeonly>
<includeonly>{{sandbox other|1=<!-- keep sandbox out of categories -->|2=
<!-- ADD CATEGORIES BELOW THIS LINE -->
[[Category:Catalog lookup templates]]
[[Category:External link templates|{{PAGENAME}}]]
}}</includeonly>
 
<!-- ADD INTERWIKIS BELOW THIS LINE -->
[[de:Vorlage:DOI]]
[[es:Plantilla:DOI]]
[[ja:Template:Doi]]
[[no:Mal:Doi]]
 
</includeonly>

Latest revision as of 04:25, 3 September 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:

doi:10.1016/j.coi.2004.08.001

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.

See also