Template:Doi/doc: Difference between revisions

From Zoophilia Wiki
Jump to navigationJump to search
meta>Ceyockey
added Template Data to the template documentation
meta>Ceyockey
revised template data
Line 29: Line 29:
{
{
"params": {
"params": {
"id": {
"1": {
"label": "DOI Code",
"label": "DOI Code",
"description": "This is the Digital Object Identifier, not the doi.org url, but part of it.",
"description": "This is the Digital Object Identifier, not the doi.org url, but part of it.",
"type": "string",
"example": "10.1016/j.phrs.2011.10.005",
"required": true
"required": true
}
}

Revision as of 01:43, 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 Code1

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

Example
10.1016/j.phrs.2011.10.005
Unknownrequired