Template:PMID/doc: Difference between revisions

From Bonkipedia
[[mw:]]>Pppery
No edit summary
 
m (1 revision imported: Workaround and Utility Templates)
 
(No difference)

Latest revision as of 17:52, 12 November 2022

This template provides an external link to PubMed abstracts of biomedical journals.

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

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

The template also supports plain links using the |plainlink= parameter:

Call: {{PMID|12345678|23456789|12344321|plainlink=yes}}
Result: PMID 12345678
Call: {{PMID|12345678|23456789|12344321|leadout=and|plainlink=yes}}
Result: PMID 12345678


See also