Difference between revisions of "Template:Reference"

From SEQwiki
Jump to: navigation, search
(Some edits come in pairs)
(chg)
 
(7 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 32: Line 33:
  
 
<!-- Remote citation count lookup -->
 
<!-- Remote citation count lookup -->
{{Citation lookup
+
{{ Citation lookup | pmid = {{{pmid|}}} | title = {{{title|}}} }}
  | pmid = {{{pmid|}}}
+
{{ Altmetric lookup | pmid = {{{pmid|}}} }}
  | title = {{{title|}}}
 
}}
 
  
 +
{{#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