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

From blackwiki
Jump to navigation Jump to search
imported>AManWithNoPlan
(Those example ref subpages don't actually exist anymore)
imported>Uzume
 
(9 intermediate revisions by 7 users not shown)
Line 2: Line 2:
 
<!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE -->
 
<!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE -->
 
{{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.}}
 
{{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.}}
{{mbox|image=[[File:Stop hand caution.svg|60px]]|text=Per [[WP:CITEVAR]], only use this template in articles whose references are formatted as described below. Please '''do not use''' the cite pmid template in articles whose references are formatted differently (''e.g.'', articles that use the [[Vancouver system]]).}}
 
  
== Usage ==
+
==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.
  
This documentation is no longer relevant since this template is not used, but is included for historical reasons.
+
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.
  
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>.
+
==Third-party tools==
 +
When using third-party tools, you are still responsible for your edits. Proofread the content generated by any of these tools.
  
Simplest form which will put a number at the citation location and place the citation in the reference section:
+
* [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]
<code><nowiki><ref>{{Cite pmid|PMID}}</ref></nowiki></code>
+
* [[User:Citation bot]]
 
 
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.
 
 
 
Use like this:
 
 
 
<code><nowiki><ref name="Example2006">{{Cite pmid|12122621}}</ref></nowiki></code>
 
 
 
To refer to the same reference elsewhere in the same article, use:
 
 
 
<code><nowiki><ref name="Example2006" /></nowiki></code>
 
 
 
=== Removing the "edit" link ===
 
If you want to remove the "edit" link that this template places, add a second parameter with the text "noedit":
 
:<code><nowiki><ref name="Example2006a">{{Cite pmid|12122621|noedit}}</ref></nowiki></code>
 
 
 
== Technical overview ==
 
 
 
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.
 
  
 
== See also ==
 
== 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]]
 
* [[Wikipedia:PMID]] and [[PubMed Central]]
{{cite doi family}}
 
  
 
{{Citation Style 1}}
 
{{Citation Style 1}}
<includeonly><!-- CATEGORIES AND INTERWIKIS HERE, THANKS -->
+
 
[[Category:Citation Style 1 templates]]
+
<includeonly>{{Sandbox other||
[[Category:Science citation templates|{{PAGENAME}}]]
+
<!-- TEMPLATE CATEGORIES HERE, THANKS -->
[[bn:টেমপ্লেট:Cite pmid]]
+
}}</includeonly>
[[es:Plantilla:Cite pmid]]
 
[[ja:Template:Cite pmid]]
 
[[sl:Predloga:Cite pmid]]
 
[[sv:Mall:Pmid Referens]]
 
</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