Difference between revisions of "Template:Reference"

From SEQwiki
Jump to: navigation, search
(I was trying to set up a call to the pubmed 'tag' within the template based on the {{PAGENAME}} magic word, but you cant call tags with magic words! Is there a parser function version... no.)
(Tidying up the template to create a nicer layout.)
Line 4: Line 4:
 
== Template code ==
 
== Template code ==
 
</noinclude><includeonly>
 
</noinclude><includeonly>
{| class="wikitable"
+
This reference describes the following bioinformatics application:
! pmid
+
* [[Reference describes::{{{reference describes}}}]].
 +
 
 +
{| {{Table style 01}}
 +
! PMID
 
| [[pubmed id::{{{pmid|}}}]]
 
| [[pubmed id::{{{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|}}}|,|x|[[Author::x]]}}
 
|-
 
|-
! vol
+
! Volume
 
| [[Volume::{{{vol|}}}]]
 
| [[Volume::{{{vol|}}}]]
 
|}
 
|}
  
This reference describes the following bioinformatics application:
 
* [[Reference describes::{{{reference describes}}}]].
 
  
  
 
[[Category:Reference]]
 
[[Category:Reference]]
 
</includeonly>
 
</includeonly>

Revision as of 20:54, 17 August 2009

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

Template code