Template:Doi/Doc

From MgmtWiki
Jump to: navigation, search

Template:Lowercase {{#ifeq:doi/doc |doc

    | 

{{#ifeq:show |show

         | {{#invoke:Message box|mbox}}
        }}{{#if: |
         |   {{#ifexist:Template:Doi/Doc
                  | [[Category:{{#switch:Template |Template=Template |Module=Module |User=User |#default=Wikipedia}} documentation pages]]
                  |
                 }}
        }}
    | 
   }}

This template produces a simple, standardized link to a digital object identifier (DOI).

Usage

{{doi|10.1016/j.coi.2004.08.001}}

which produces:

{{#ifeq:10.|10.|doi:10.1016/j.coi.2004.08.001|Error: Bad DOI specified!}}{{#if:1||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.

See also