Template:Doi-inline: Difference between revisions

From Vigyanwiki
(Created page with "<includeonly>[https://doi.org/{{urlencode:{{{1}}}}} {{{2|}}}]</includeonly><noinclude> {{documentation}} </noinclude> ")
m (1 revision imported from alpha:Template:Doi-inline)
 
(One intermediate revision by one other user not shown)
(No difference)

Latest revision as of 09:33, 16 February 2023

Template documentation


Usage

{{doi-inline|doi|text}}

will link text to the object identified by doi. If no text is given, it will produce [n], as if you had linked it directly using [https://doi.org/doi].

Example

The {{doi-inline|10.1007/b62130|Red Book of Varieties and Schemes}}.
The Red Book of Varieties and Schemes {{doi-inline|10.1007/b62130}}.

gives:

The Red Book of Varieties and Schemes.
The Red Book of Varieties and Schemes [1].

In PDFs these will be:

The Red Book of Varieties and Schemes (doi:10.1007/b62130).
The Red Book of Varieties and Schemes (doi:10.1007/b62130).

See also