Difference between revisions of "Template:Reference"

From SEQwiki
Jump to: navigation, search
(chg)
 
(24 intermediate revisions by 4 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|}}} [[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:
 
  
{{Google Scholar lookup | {{{title|}}} }}
+
<!-- Remote citation count lookup -->
 
+
{{ Citation lookup | pmid = {{{pmid|}}} | title = {{{title|}}} }}
According to [http://scholar.google.com Google Scholar], [http://scholar.google.com/scholar?q={{urlencode:{{{title|}}}}} this reference] has {{#show: {{PAGENAME}} |? Number of citations}} citations.
+
{{ 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