Wikipedia:PMID
This page is a how-to guide.
It details processes or procedures of some aspect or aspects of Wikipedia's norms and practices. It is not one of Wikipedia's policies or guidelines.
|
|
The {{PMID}} template is used to create a link from a PMID codes for life sciences and biomedical articles to PubMed.
As of May 2017, Wikipedia software recognizes inline PMID codes for life sciences and biomedical articles and automatically creates a search link to PubMed, much as it does for ISBNs for books (see Wikipedia:ISBN). No template is required to enable this feature, but this feature will be disabled at some point. See Help:Magic links for links to more information.
It is important when making a link to have only a space after "PMID" followed by the numbers; do not use the colon which is present in PubMed citations.
Example:
- Correct:
{{PMID|4957203}}
→ PMID 4957203 - Deprecated: PMID 4957203
- Incorrect: PMID:4957203
- Incorrect: PubMed 4957203
Multiple PMIDs[edit]
The above automatic recognition will work only for single PMIDs. If, however, multiple PMIDs need to be listed in a row (for example in a table), this can be accomplished using the {{PMID3}} template.
{{PMID3|id1|id2|id3|id4|...}}
Example (with "," as default leadout):
- {{PMID3|4957203|4957203|4957203|4957203}}
results in:
Example (with "and" as leadout):
- {{PMID3|4957203|4957203|4957203|4957203|leadout=and}}
results in:
In citation templates[edit]
A single PMID can also be included in templates such as the Citation Style 1 series by means of the |pmid=
parameter. Integer values starting at 1
are allowed.
The linking is done internally to the template using a module or a subtemplate. The "PMID" string links to the article "PubMed", and the PMID number acts like a magic link.
- Koprowski, H.; Wiktor, T. J.; Kaplan, M. M. (1960-04-28). "Enhancement of rabies virus infection by lymphocytic choriomeningitis virus". Virology. 28 (4): 754–756. PMID 4957203.
See also[edit]
External links[edit]
- To generate full Template:Cite journal markup from a known PubMed Abstract number, use Wikipedia template filling tool
- Biblio.php, an extension of Mediawiki, the wiki software used here at Wikipedia. It provides a bibliography management system for wikis and supports direct PMID-based referencing
- Another tool to automatically generate Wikipedia citations from a PubMed ID (in German)