Difference between revisions of "Template:Reference"

From SEQwiki
Jump to: navigation, search
(chg)
 
(12 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|}}}]]
|}
+
|}  
  
 +
<!-- Remote citation count lookup -->
 +
{{ Citation lookup | pmid = {{{pmid|}}} | title = {{{title|}}} }}
 +
{{ Altmetric lookup | pmid = {{{pmid|}}} }}
 +
 +
{{#default_form:Reference}}
 
[[Category:Reference]]
 
[[Category:Reference]]
 
<!-- Perform remote lookup of citation counts -->
 
{{Citation lookup | {{{pmid|}}} }}
 
  
 
<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