Difference between revisions of "Template:Reference"

From SEQwiki
Jump to: navigation, search
 
(chg)
 
(47 intermediate revisions by 5 users not shown)
Line 1: Line 1:
<noinclude>
+
<noinclude>This is the 'Reference' template. It should be called by the [[Form:Reference|Reference Form]].
This is the 'Reference' template.
+
 
It should be called in the following format:
+
 
<pre>
+
[[Category:System template|R]]
{{Reference
+
 
|pmid=
+
== Template code ==
|title=
 
|year=
 
|journal=
 
|author=
 
|vol=
 
}}
 
</pre>
 
Edit the page to see the template text.
 
 
</noinclude><includeonly>
 
</noinclude><includeonly>
{| class="wikitable"
+
This reference describes
! pmid
+
{{#arraymap:{{{reference describes|}}}|,|x|<big>[[Reference describes::x]]</big>}}.
| [[pubmed id::{{{pmid|}}}]]
+
 
 +
{| {{Table style/wikitable}}
 +
! PMID
 +
| {{#if: {{{pmid|}}} | PMID {{{pmid}}} {{#set: pubmed id = {{{pmid}}} }} | Please provide a PMID! }}
 
|-
 
|-
! title
+
! Title
 
| [[Title::{{{title|}}}]]
 
| [[Title::{{{title|}}}]]
 
|-
 
|-
! year
+
! Year
 
| [[Year::{{{year|}}}]]
 
| [[Year::{{{year|}}}]]
 
|-
 
|-
! journal
+
! Journal
 
| [[Journal::{{{journal|}}}]]
 
| [[Journal::{{{journal|}}}]]
 
|-
 
|-
! author
+
! Author
| {{#arraymap:{{{author|}}}|,|x|[[Author::x]]}}
+
| {{#arraymap: {{{author|}}} |, |@@@@ |[[Has author::@@@@]] }}
 
|-
 
|-
! vol
+
! Volume
 
| [[Volume::{{{vol|}}}]]
 
| [[Volume::{{{vol|}}}]]
|}
+
|-
 +
! 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]]
 +
 +
<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