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

From blackwiki
Jump to navigation Jump to search
imported>AManWithNoPlan
(Deprecated and if you have any proof of a bot please put on talk page.)
imported>Dexbot
m (Bot: Deprecating Template:Cite pmid and some minor fixes)
Line 10: Line 10:
 
Simplest form which will put a number at the citation location and place the citation in the reference section:
 
Simplest form which will put a number at the citation location and place the citation in the reference section:
  
<code><nowiki><ref>{{Cite pmid|PMID}}</ref></nowiki></code><ref>{{Cite pmid|1}}</ref>
+
<code><nowiki><ref>{{Cite pmid|PMID}}</ref></nowiki></code><ref>{{Cite journal | doi = 10.1016/0006-2944(75)90147-7 | last1 = Makar | first1 = A. B. | last2 = McMartin | first2 = K. E. | last3 = Palese | first3 = M. | last4 = Tephly | first4 = T. R. | title = Formate assay in body fluids: Application in methanol poisoning | journal = Biochemical medicine | volume = 13 | issue = 2 | pages = 117–126 | year = 1975 | pmid = 1}}</ref>
  
 
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.  
 
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.  
Line 16: Line 16:
 
Use like this:
 
Use like this:
  
<code><nowiki><ref name="Example2006">{{Cite pmid|12122621}}</ref></nowiki></code><ref name="Example2006">{{Cite pmid|12122621}}</ref>
+
<code><nowiki><ref name="Example2006">{{Cite journal| pmid = 12122621| year = 2002| last1 = Ozturan | first1 = O.| last2 = Miman | first2 = M. C.| last3 = Yiğit | first3 = B.| last4 = Cokkeser | first4 = Y.| last5 = Kizilay | first5 = A.| last6 = Aktaş | first6 = D.| title = Approaches to twisted noses and results of treatment| volume = 9| issue = 1| pages = 21–29| journal = Kulak burun bogaz ihtisas dergisi : KBB = Journal of ear, nose, and throat| displayauthors={{{displayauthors|}}}| display-authors={{{displayeditors|}}}| authorformat={{{authorformat|}}}| author-separator={{{author-separator|}}}| author-name-separator={{{author-name-separator|}}}}}</ref></nowiki></code><ref name="Example2006">{{Cite journal| pmid = 12122621| year = 2002| last1 = Ozturan | first1 = O.| last2 = Miman | first2 = M. C.| last3 = Yiğit | first3 = B.| last4 = Cokkeser | first4 = Y.| last5 = Kizilay | first5 = A.| last6 = Aktaş | first6 = D.| title = Approaches to twisted noses and results of treatment| volume = 9| issue = 1| pages = 21–29| journal = Kulak burun bogaz ihtisas dergisi : KBB = Journal of ear, nose, and throat| displayauthors={{{displayauthors|}}}| display-authors={{{displayeditors|}}}| authorformat={{{authorformat|}}}| author-separator={{{author-separator|}}}| author-name-separator={{{author-name-separator|}}}}}</ref>
  
 
To refer to the same reference elsewhere in the same article, use:
 
To refer to the same reference elsewhere in the same article, use:
Line 24: Line 24:
 
===Removing the "edit" link===
 
===Removing the "edit" link===
 
If you want to remove the "edit" link that this template places, add a second parameter with the text "noedit":
 
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><ref name="Example2006a">{{Cite pmid|12122621|noedit}}</ref>
+
:<code><nowiki><ref name="Example2006a">{{Cite journal| pmid = 12122621| year = 2002| last1 = Ozturan | first1 = O.| last2 = Miman | first2 = M. C.| last3 = Yiğit | first3 = B.| last4 = Cokkeser | first4 = Y.| last5 = Kizilay | first5 = A.| last6 = Aktaş | first6 = D.| title = Approaches to twisted noses and results of treatment| volume = 9| issue = 1| pages = 21–29| journal = Kulak burun bogaz ihtisas dergisi : KBB = Journal of ear, nose, and throat| displayauthors={{{displayauthors|}}}| display-authors={{{displayeditors|}}}| authorformat={{{authorformat|}}}| author-separator={{{author-separator|}}}| author-name-separator={{{author-name-separator|}}}}}</ref></nowiki></code><ref name="Example2006a">{{Cite journal| pmid = 12122621| year = 2002| last1 = Ozturan | first1 = O.| last2 = Miman | first2 = M. C.| last3 = Yiğit | first3 = B.| last4 = Cokkeser | first4 = Y.| last5 = Kizilay | first5 = A.| last6 = Aktaş | first6 = D.| title = Approaches to twisted noses and results of treatment| volume = 9| issue = 1| pages = 21–29| journal = Kulak burun bogaz ihtisas dergisi : KBB = Journal of ear, nose, and throat| displayauthors={{{displayauthors|}}}| display-authors={{{displayeditors|}}}| authorformat={{{authorformat|}}}| author-separator={{{author-separator|}}}| author-name-separator={{{author-name-separator|}}}}}</ref>
  
 
==Technical overview==
 
==Technical overview==

Revision as of 15:59, 3 December 2015

Usage

Saves you filling out a citation template every time you want to cite a source. If your source has a PMID, just enter {{Cite pmid|PMID of your source}}.

Simplest form which will put a number at the citation location and place the citation in the reference section:

<ref>{{Cite pmid|PMID}}</ref>[1]

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:

<ref name="Example2006">{{Cite journal| pmid = 12122621| year = 2002| last1 = Ozturan | first1 = O.| last2 = Miman | first2 = M. C.| last3 = Yiğit | first3 = B.| last4 = Cokkeser | first4 = Y.| last5 = Kizilay | first5 = A.| last6 = Aktaş | first6 = D.| title = Approaches to twisted noses and results of treatment| volume = 9| issue = 1| pages = 21–29| journal = Kulak burun bogaz ihtisas dergisi : KBB = Journal of ear, nose, and throat| displayauthors={{{displayauthors|}}}| display-authors={{{displayeditors|}}}| authorformat={{{authorformat|}}}| author-separator={{{author-separator|}}}| author-name-separator={{{author-name-separator|}}}}}</ref>[2]

To refer to the same reference elsewhere in the same article, use:

<ref name="Example2006" />[2]

Removing the "edit" link

If you want to remove the "edit" link that this template places, add a second parameter with the text "noedit":

<ref name="Example2006a">{{Cite journal| pmid = 12122621| year = 2002| last1 = Ozturan | first1 = O.| last2 = Miman | first2 = M. C.| last3 = Yiğit | first3 = B.| last4 = Cokkeser | first4 = Y.| last5 = Kizilay | first5 = A.| last6 = Aktaş | first6 = D.| title = Approaches to twisted noses and results of treatment| volume = 9| issue = 1| pages = 21–29| journal = Kulak burun bogaz ihtisas dergisi : KBB = Journal of ear, nose, and throat| displayauthors={{{displayauthors|}}}| display-authors={{{displayeditors|}}}| authorformat={{{authorformat|}}}| author-separator={{{author-separator|}}}| author-name-separator={{{author-name-separator|}}}}}</ref>[3]

Technical overview

The template works by transcluding a template, which is stored as Template:cite pmid/xxxxxxxx. This subpage is filled out by a bot using the {{cite journal}} syntax. If the article already exists in, say, Template:Cite doi, a redirect to the appropriate page will be created.

Example references

  1. Makar, A. B.; McMartin, K. E.; Palese, M.; Tephly, T. R. (1975). "Formate assay in body fluids: Application in methanol poisoning". Biochemical medicine. 13 (2): 117–126. doi:10.1016/0006-2944(75)90147-7. PMID 1.
  2. 2.0 2.1 Ozturan, O.; Miman, M. C.; Yiğit, B.; Cokkeser, Y.; Kizilay, A.; Aktaş, D. (2002). "Approaches to twisted noses and results of treatment". Kulak burun bogaz ihtisas dergisi : KBB = Journal of ear, nose, and throat. 9 (1): 21–29. PMID 12122621.
  3. Ozturan, O.; Miman, M. C.; Yiğit, B.; Cokkeser, Y.; Kizilay, A.; Aktaş, D. (2002). "Approaches to twisted noses and results of treatment". Kulak burun bogaz ihtisas dergisi : KBB = Journal of ear, nose, and throat. 9 (1): 21–29. PMID 12122621.

See also

Template:Cite doi family