Skip to main content
edited title
Link
Stephen Ostermiller
  • 99.4k
  • 18
  • 141
  • 364

How do I create templates for linking to PubMed Central ids and and DOI names in MediaWiki?

Clearer title, with fewer acronyms, better formatting and grammar
Source Link
Stephen Ostermiller
  • 99.4k
  • 18
  • 141
  • 364

How do I create templates for PMCsPubMed Central ids and dois that fulfil the requirements listed belowand DOI names in WikiaMediaWiki?

Templates I want would be suchto build templates that would render {{PMC|PMC number}} would render as a PMC number, that. That is, hyperlinked to the respective PubMed Central entry for said number. For example, {{PMC|2824929}} would be rendered as PMC 2824929. 

For doisDOI names, it's pretty much the same deal (i.e., I write {{doi|doi number}}) but it comes out as doi:doithe DOI number hyperlinked to the respective dx.doi.org entry. For example, {{doi|10.4103/0972-2327.56312}} would be rendered as: doi:10.4103/0972-2327.56312.

How do I create templates for PMCs and dois that fulfil the requirements listed below in Wikia?

Templates I want would be such that {{PMC|PMC number}} would render as PMC number, that is hyperlinked to the respective PubMed Central entry for said number. For example, {{PMC|2824929}} would be rendered as PMC 2824929. For dois it's pretty much the same deal (i.e., I write {{doi|doi number}}) but it comes out as doi:doi number hyperlinked to the respective dx.doi.org entry. For example, {{doi|10.4103/0972-2327.56312}} would be rendered as: doi:10.4103/0972-2327.56312.

How do I create templates for PubMed Central ids and and DOI names in MediaWiki?

I want to build templates that would render {{PMC|PMC number}} as a PMC number. That is, hyperlinked to the respective PubMed Central entry for said number. For example, {{PMC|2824929}} would be rendered as PMC 2824929. 

For DOI names, it's pretty much the same deal (i.e., I write {{doi|doi number}}) but it comes out as the DOI number hyperlinked to the respective dx.doi.org entry. For example, {{doi|10.4103/0972-2327.56312}} would be rendered as: doi:10.4103/0972-2327.56312.

Source Link

How do I create templates for PMCs and dois that fulfil the requirements listed below in Wikia?

Templates I want would be such that {{PMC|PMC number}} would render as PMC number, that is hyperlinked to the respective PubMed Central entry for said number. For example, {{PMC|2824929}} would be rendered as PMC 2824929. For dois it's pretty much the same deal (i.e., I write {{doi|doi number}}) but it comes out as doi:doi number hyperlinked to the respective dx.doi.org entry. For example, {{doi|10.4103/0972-2327.56312}} would be rendered as: doi:10.4103/0972-2327.56312.