Difference between revisions of "Template:Cite doi"

From blackwiki
Jump to navigation Jump to search
imported>AManWithNoPlan
(the noedit option was considered evil and was one of the reasons that this template was deprecated. Remove.)
imported>Netoholic
(no mainspace transcludes remain. killing functionality.)
Line 1: Line 1:
{{#if:{{{1|}}}
+
<span class="error">Attention: This template is deprecated. Please use {{tl|cite journal}} instead.</span><noinclude>
|{{#ifeq:{{str left|{{{1|}}}|3}}|10.
 
  |{{#ifexist:Template:Cite doi/{{anchorencode:{{{1}}}}}
 
    |{{cite doi/{{anchorencode:{{{1}}}}}}}<span class="plainlinks noprint" style="font-size:smaller">[{{fullurl:Template:cite_doi/{{urlencode:{{anchorencode:{{{1}}}}}}}|action=edit&editintro=Template:Cite_doi/editintro2}} edit]</span>
 
    |This journal article: {{doi|{{{1}}}}}</span>[[Category:Pages with incomplete DOI references|{{PAGENAME}}]]
 
    }}
 
  |[[Category:Pages with DOI errors]]<span class="error">Error: Bad DOI specified:</span> {{{1}}}
 
  }}
 
|<includeonly>[[Category:Pages with DOI errors]]<span class="error">Error: No DOI specified!</span></includeonly>
 
}}<noinclude>
 
 
{{bots|deny=Citation bot}}
 
{{bots|deny=Citation bot}}
 
{{Historical template|cite doi|cite journal}}
 
{{Historical template|cite doi|cite journal}}
 
{{documentation}}
 
{{documentation}}
 
</noinclude>
 
</noinclude>

Revision as of 04:53, 6 April 2016

Attention: This template is deprecated. Please use {{cite journal}} instead.

Template documentation[view] [edit] [history] [purge]

Overview

{{Cite doi}} was a template that was used for citing a journal article using its DOI number. When this was functioning, an editor could use the template with the DOI number, and a bot would then fill out the full reference. However, the bot created a separate template page for each individual citation which were simply calls to {{cite journal}}. An RFC at this template's talk page concluded with the consensus that this template should no longer be used because of various problems caused by this system.

Instead use {{cite journal|doi=...}}, which allows you to specify the DOI, then run the citation bot on the page. The Citoid feature, which is part of Visual Editor, does this too, and as well as other third-party tools.

Third-party tools

When using third-party tools, you are still responsible for your edits. Proofread the content generated by any of these tools.

See also