Difference between revisions of "Template:Reference"

From SEQwiki
Jump to: navigation, search
(Updating links)
(chg)
 
(17 intermediate revisions by 3 users not shown)
Line 6: Line 6:
 
== Template code ==
 
== Template code ==
 
</noinclude><includeonly>
 
</noinclude><includeonly>
This reference describes <big>[[Reference describes::{{{reference describes}}}]]</big>.
+
This reference describes
 +
{{#arraymap:{{{reference describes|}}}|,|x|<big>[[Reference describes::x]]</big>}}.
  
 
{| {{Table style/wikitable}}
 
{| {{Table style/wikitable}}
 
! PMID
 
! PMID
| PMID {{{pmid|}}} [[pubmed id::{{{pmid|}}}| ]]
+
| {{#if: {{{pmid|}}} | PMID {{{pmid}}} {{#set: pubmed id = {{{pmid}}} }} | Please provide a PMID! }}
 
|-
 
|-
 
! Title
 
! Title
Line 22: Line 23:
 
|-
 
|-
 
! Author
 
! Author
| {{#arraymap:{{{author|}}}|,|x|[[Author::x]]}}
+
| {{#arraymap: {{{author|}}} |, |@@@@ |[[Has author::@@@@]] }}
 
|-
 
|-
 
! Volume
 
! Volume
Line 29: Line 30:
 
! Start page
 
! Start page
 
| [[Start page::{{{start page|}}}]]
 
| [[Start page::{{{start page|}}}]]
|}
+
|}  
{{#stripnewlines:
 
 
 
{{#if: {{{debugx|}}} |
 
DEBUG: {{Citation lookup debug | {{{pmid|}}} }} |
 
{{Citation lookup | {{{title|}}} }}
 
}}
 
 
 
According to [http://www.ebi.ac.uk/citexplore/ CiteXplore], [http://www.ebi.ac.uk/citexplore/performQuery.do?queryString=cites:{{{pmid|}}}_MED this reference] has {{#show: {{PAGENAME}} |? Number of citations}} citations. For reference, you can check Google Scholar, which lacks an API because Google are evil.
 
  
 +
<!-- Remote citation count lookup -->
 +
{{ Citation lookup | pmid = {{{pmid|}}} | title = {{{title|}}} }}
 +
{{ Altmetric lookup | pmid = {{{pmid|}}} }}
  
 +
{{#default_form:Reference}}
 
[[Category:Reference]]
 
[[Category:Reference]]
 
}}
 
  
 
<H2>Full text description</H2>
 
<H2>Full text description</H2>
 
</includeonly>
 
</includeonly>

Latest revision as of 23:41, 15 July 2019

This is the 'Reference' template. It should be called by the Reference Form.

Template code