Difference between revisions of "Template:Doi"

From imedwiki
Jump to navigation Jump to search
[checked revision][checked revision]
(Import from wikipedia)
 
m (Interwikilinks anpassen)
 
Line 1: Line 1:
{{#ifeq:{{str left|{{{1}}}|3}}|10.|[[doi (identifier)|doi]]:[https://doi.org/{{urlencode:{{{1|{{{id}}}}}}|PATH}} {{#tag:nowiki|{{{1|{{{id}}}}}}}}]|<includeonly>[[Category:Pages with DOI errors]]<span class="error">Error: Bad DOI specified!</span></includeonly>}}<noinclude>
+
{{#ifeq:{{str left|{{{1}}}|3}}|10.|[[Wikipedia:doi (identifier)|doi]]:[https://doi.org/{{urlencode:{{{1|{{{id}}}}}}|PATH}} {{#tag:nowiki|{{{1|{{{id}}}}}}}}]|<includeonly>[[Category:Pages with DOI errors]]<span class="error">Error: Bad DOI specified!</span></includeonly>}}<noinclude>
 
{{documentation}}</noinclude>
 
{{documentation}}</noinclude>

Latest revision as of 20:34, 18 February 2022

Template documentation[view] [edit] [history] [purge]

Template:Lowercase


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

This template produces a simple, standardized link to a digital object identifier (DOI).

Template parameters

ParameterDescriptionTypeStatus
DOI name1

no description

Example
10.1000/xyz123
Unknownrequired
Idid

no description

Unknownoptional
This template is based (in parts) on the Template:Doi from the free encyclopedia wikipedia and is licensed under GNU license for free documentation and the Creative Commons Attribution/Share Alike. On wikipedia there is a List of authors accessible. More about importing from wikipedia on page Imedwiki:Importing from wikipedia.