Permanently protected template

Template:Doi: Difference between revisions

From Vigyanwiki
(Created page with "{{#if:{{#invoke:string2|startswith|1={{{1}}}|2=10.}}|doi:[https://doi.org/{{urlencode:{{{1|{{{id}}}}}}|PATH}} {{#tag:nowiki|{{{1|{{{id}}}}}}}}]|<includeon...")
m (1 revision imported from alpha:Template:Doi)
 
(4 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{#if:{{#invoke:string2|startswith|1={{{1}}}|2=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>
{{#if:{{#invoke:string2|startswith|1={{{1}}}|2=10.}}|{{Catalog lookup link|{{{1|{{{id}}}}}}|article-suffix=[[doi (identifier)|doi]]:|link-prefix=https://doi.org/ |url-access1={{#ifeq:{{{doi-access|}}}|free|free}}}}|<includeonly>[[Category:Pages with DOI errors]]<span class="error">Error: Bad DOI specified!</span></includeonly>}}<noinclude>
{{documentation}}</noinclude>
{{documentation}}</noinclude>

Latest revision as of 09:23, 13 December 2022

Template documentation


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