Template:Doi/doc: Difference between revisions

From Zoophilia Wiki
Jump to navigationJump to search
meta>Ceyockey
added Template Data to the template documentation
Line 26: Line 26:
[[Category:DOI templates]]
[[Category:DOI templates]]
</includeonly>
</includeonly>
<templatedata>
{
"params": {
"id": {
"label": "DOI Code",
"description": "This is the Digital Object Identifier, not the doi.org url, but part of it.",
"type": "string",
"required": true
}
},
"description": "Stand-alone template for adding a DOI (Digital Object Identifier) code link"
}
</templatedata>

Revision as of 01:38, 10 February 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


Stand-alone template for adding a DOI (Digital Object Identifier) code link

Template parameters

ParameterDescriptionTypeStatus
DOI Codeid

This is the Digital Object Identifier, not the doi.org url, but part of it.

Stringrequired