Template:Doi/doc: Difference between revisions

From Zoophilia Wiki
Jump to navigationJump to search
meta>CapitalR
updating doc
meta>Leyo
Special characters
Line 3: Line 3:
This template is intended to allow simple standardized links to [[digital object identifier]]s (DOIs).
This template is intended to allow simple standardized links to [[digital object identifier]]s (DOIs).


==Examples==
== Examples ==
The usage is:
The usage is:
  <nowiki>{{doi|10.1016/j.coi.2004.08.001}}</nowiki>
  <nowiki>{{doi|10.1016/j.coi.2004.08.001}}</nowiki>
Line 9: Line 9:
:{{doi|10.1016/j.coi.2004.08.001}}
:{{doi|10.1016/j.coi.2004.08.001}}


==See also==
== Special characters ==
*[[Template:Doi-inline]]
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 ==
* [[Template:Doi-inline]]


<includeonly>
<includeonly>

Revision as of 18:50, 9 May 2008

This template is intended to allow simple standardized links to digital object identifiers (DOIs).

Examples

The usage is:

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

which produces:

doi:10.1016/j.coi.2004.08.001

Special characters

If a DOI string contains the characters <, >, [ or ], they have to be replaced (see Percent-encoding):

  • <&#60;
  • >&#62;
  • [&#x5B;
  • ]&#x5D;

See also