Difference between revisions of "Template:Doi-inline/doc"

From blackwiki
Jump to navigation Jump to search
imported>Headbomb
imported>Fayenatic london
Line 32: Line 32:
 
<includeonly>
 
<includeonly>
 
<!-- CATEGORIES AND INTERWIKIS HERE, THANKS -->
 
<!-- CATEGORIES AND INTERWIKIS HERE, THANKS -->
[[Category:DOI templates]]
 
 
[[Category:External link templates|Doi]]
 
[[Category:External link templates|Doi]]
 
[[ja:Template:doi-inline]]
 
[[ja:Template:doi-inline]]
 
[[Category:Catalog lookup templates]]
 
[[Category:Catalog lookup templates]]
 
</includeonly>
 
</includeonly>

Revision as of 15:07, 15 April 2020

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 [http://dx.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 SchemesTemplate:Only in print.
The Red Book of Varieties and Schemes [1]Template:Only in print.

In PDF and Books 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