Template:PMID/doc
This is a documentation subpage for Template:PMID. It may contain usage information, categories and other content that is not part of the original template page. |
This template is used on approximately 7,000 pages and changes may be widely noticed. Test changes in the template's /sandbox or /testcases subpages, or in your own user subpage. Consider discussing changes on the talk page before implementing them. |
This template provides an external link to PubMed abstracts of biomedical journals.
It is intended to be used where a short in-text citation link is adequate to get the point across and where including a full citation might be overkill (as, for example, on talk pages).
Usage
The template requires a PMID abstract number to be given:
Call: {{PMID|12345678}} Result: PMID 12345678
To find a PMID abstract number, search for the article at https://www.ncbi.nlm.nih.gov/pubmed
This template also supports up to nine PMIDs, so the template comes in helpful to conveniently format lists of PMIDs (for example, in tables):
Call: {{PMID|12345678|23456789|12344321}} Result: PMID 12345678, 23456789, 12344321
For leadouts different from the default "," this can be specified using the optional |leadout=
parameter:
Call: {{PMID|12345678|23456789|12344321|leadout=and}} Result: PMID 12345678, 23456789 and 12344321
The template also supports plain links using the |plainlink=
parameter:
Call: {{PMID|12345678|23456789|12344321|plainlink=yes}} Result: 12345678, 23456789, 12344321
Call: {{PMID|12345678|23456789|12344321|leadout=and|plainlink=yes}} Result: 12345678, 23456789 and 12344321
Full citation
To generate full Template:Cite journal markup from a known PubMed abstract number, use Diberri's Wikipedia template filling tool which, for the example above, may yield something like:
- Rubinstein, M. H. (1976). "A new granulation method for compressed tablets [proceedings]". Journal of Pharmacy and Pharmacology. 28 Supplement: 67P. PMID 12345.
See also
- {{PubMed}}
- Wikipedia:PMID
- {{ISBN}}
- {{IETF RFC}}
- {{Catalog lookup link}}