Difference between revisions of "Template:Cite doi"

From AlchemistryWiki
Jump to navigation Jump to search
m
m (1 revision: Citedoi pages)
(One intermediate revision by the same user not shown)
Line 2: Line 2:
 
  |{{#ifeq:{{str left|{{{1|}}}|3}}|10.
 
  |{{#ifeq:{{str left|{{{1|}}}|3}}|10.
 
   |{{#ifexist:Template:Cite doi/{{anchorencode:{{{1}}}}}
 
   |{{#ifexist:Template:Cite doi/{{anchorencode:{{{1}}}}}
     |{{cite doi/{{anchorencode:{{{1}}}}}}}<!--
+
     |{{cite doi/{{anchorencode:{{{1}}}}}|displayauthors={{{displayauthors|}}}|displayeditors={{{displayeditors|}}}|authorformat={{{authorformat|}}}|editorformat={{{editorformat|}}}}}<!--
 
   -->{{#ifeq:{{{2}}}|noedit
 
   -->{{#ifeq:{{{2}}}|noedit
 
       |
 
       |
Line 9: Line 9:
 
     |{{doi|{{{1}}}}}<br /><span class="plainlinks nourlexpansion">This citation will be automatically completed in the next few minutes. <small>You can [http://toolserver.org/~verisimilus/Bot/DOI_bot/doibot.php?doi={{urlencode:{{{1}}}}} jump the queue] or [{{fullurl:Template:cite_doi/{{urlencode:{{anchorencode:{{{1}}}}}}}|preload=Template:Cite_doi/preload&editintro=Template:Cite_doi/editintro&action=edit}} expand by hand]</small></span>[[Category:Pages with incomplete DOI references|{{PAGENAME}}]]
 
     |{{doi|{{{1}}}}}<br /><span class="plainlinks nourlexpansion">This citation will be automatically completed in the next few minutes. <small>You can [http://toolserver.org/~verisimilus/Bot/DOI_bot/doibot.php?doi={{urlencode:{{{1}}}}} jump the queue] or [{{fullurl:Template:cite_doi/{{urlencode:{{anchorencode:{{{1}}}}}}}|preload=Template:Cite_doi/preload&editintro=Template:Cite_doi/editintro&action=edit}} expand by hand]</small></span>[[Category:Pages with incomplete DOI references|{{PAGENAME}}]]
 
     }}
 
     }}
   |[[Category:Pages with DOI errors]]<span class="error">Error: Bad DOI specified!</span>
+
   |[[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>
 
  |<includeonly>[[Category:Pages with DOI errors]]<span class="error">Error: No DOI specified!</span></includeonly>
 
}}<noinclude>
 
}}<noinclude>
 
+
{{bots|deny=Citation bot}}
Please see [http://en.wikipedia.org/wiki/Template:Cite_doi the original template on Wikipedia] to see how this works.<ref name=test>{{Cite doi|10.1063/1.4707737}}</ref>
+
{{documentation}}
<references/>
 
 
</noinclude>
 
</noinclude>

Revision as of 08:35, 15 July 2013


Documentation icon Template documentation[create]

Template:Fmbox