Difference between revisions of "Template:Cite pmid/doc"

From blackwiki
Jump to navigation Jump to search
imported>Uzume
 
(50 intermediate revisions by 32 users not shown)
Line 1: Line 1:
 
{{Documentation subpage}}
 
{{Documentation subpage}}
 
<!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE -->
 
<!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE -->
== Usage ==
+
{{mbox|image=[[File:Stop hand.svg|60px]]|text=Please '''do not add''' cite pmid template to articles.  Their use is [[Template talk:Cite pmid#RFC: Should template:cite pmid be deprecated|deprecated]] and for this reason,  [[User:Citation bot|Citation bot]] no longer expands cite pmid templates.}}
  
Saves you filling out a citation template every time you want to cite a source. If your source has a [[Wikipedia:PMID|PMID]], just enter <code><nowiki>{{Cite pmid|PMID of your source}}</nowiki></code>.
+
==Overview==
 +
{{tl|Cite pmid}} was a template that was used for citing a journal article using its [[PubMed|PMID]] number. When this was functioning, an editor could use the template with the PMID number, and a [[User:Citation bot|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 {{tl|cite journal}}.  An [[Template talk:Cite doi/Archive 1#RfC: Should Template:cite doi cease creating a separate subpage for each DOI?|RFC at this templates talk page]] concluded with the consensus that this template should no longer be used because of various problems caused by this system.
  
If another Wikipedia article already uses that reference (via the Cite pmid template), it will automatically use the existing information to present the full citation details of the reference in the article. If not, a bot will retrieve the information from PubMed and create the citation for you within a few minutes.  
+
Instead use {{tlx|cite journal|pmid{{=}}...}}, which allows you to specify the PMID, then run the citation bot on the page. The [[WP:CITOID|Citoid feature]], which is part of [[WP:VISUAL|Visual Editor]] does this too, and as well as other third-party tools.
  
Use like this:
+
==Third-party tools==
 +
When using third-party tools, you are still responsible for your edits. Proofread the content generated by any of these tools.
  
<code><nowiki><ref name="Example2006">{{Cite pmid|12122621}}</ref></nowiki></code>
+
* [https://tools.wmflabs.org/citation-template-filling/cgi-bin/index.cgi Wikipedia template filling tool], including searching by PMID
 +
* [https://reftag.appspot.com/doiweb.py DOI Wikipedia reference generator]
 +
* [[User:Citation bot]]
  
To refer to the same reference elsewhere in the same article, use:
+
== See also ==
 +
* {{tl|Cite Q}}, a similar method based on Wikidata items instead of PMID-based sub-templates
 +
* [[Template:Ref pmid]], a historically deprecated method to create references based upon citations created by this template
 +
* [[Template:Cite doi]], another historically deprecated method based on DOI-based sub-templates
 +
* [[Wikipedia:PMID]] and [[PubMed Central]]
  
<code><nowiki><ref name="Example2006" /></nowiki></code>
+
{{Citation Style 1}}
  
==Technical overview==
+
<includeonly>{{Sandbox other||
 
+
<!-- TEMPLATE CATEGORIES HERE, THANKS -->
The template works by transcluding a template, which is stored as Template:cite pmid/xxxxxxxx.  This subpage is filled out by [[User:Citation bot|a bot]] using the {{tl|cite journal}} syntax. If the article already exists in, say, Template:Cite doi, a redirect to the appropriate page will be created.
+
}}</includeonly>

Latest revision as of 02:35, 16 June 2020

Overview

{{Cite pmid}} was a template that was used for citing a journal article using its PMID number. When this was functioning, an editor could use the template with the PMID 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 templates 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|pmid=...}}, which allows you to specify the PMID, 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