Difference between revisions of "Template:Doi-inline"

From blackwiki
Jump to navigation Jump to search
imported>Tob~enwiki
(Usage)
imported>Mwtoews
(format; added see also)
Line 1: Line 1:
 
[http://dx.doi.org/{{{1}}} {{{2|}}}] <noinclude>
 
[http://dx.doi.org/{{{1}}} {{{2|}}}] <noinclude>
  
Usage:
+
==Usage==
  
 
<pre>{{doi-inline|doi|text}}</pre>
 
<pre>{{doi-inline|doi|text}}</pre>
Line 9: Line 9:
 
had linked it directly using <nowiki>[http://dx.doi.org/</nowiki>''doi''].
 
had linked it directly using <nowiki>[http://dx.doi.org/</nowiki>''doi''].
  
Example:
+
==Example==
 
<pre>
 
<pre>
 
The {{doi-inline|10.1007/b62130|Red Book of Varieties and Schemes}}.
 
The {{doi-inline|10.1007/b62130|Red Book of Varieties and Schemes}}.
Line 21: Line 21:
 
:The Red Book of Varieties and Schemes {{doi-inline|10.1007/b62130}}.
 
:The Red Book of Varieties and Schemes {{doi-inline|10.1007/b62130}}.
  
[[Category:External link templates|Doi]]</noinclude>
+
==See also==
 +
*[[Template:Doi]]
 +
 
 +
[[Category:External link templates|Doi]]
 +
</noinclude>

Revision as of 22:36, 22 December 2006

[1]

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 Schemes .
The Red Book of Varieties and Schemes [2] .

See also