Changes

Jump to navigation Jump to search
532 bytes added ,  12:44, 8 July 2008
no edit summary
Line 1: Line 1: −
<includeonly>{{{initiallast|}}}, {{{initialfirst|}}}.{{if|1={{{2last|}}}|2={{altlast|1={{{2last|}}}}}|3={{{empty|}}}}} {{if|1={{{2first|}}}|2={{altfirst|1={{{2first|}}}}}|3={{{empty|}}}}}{{if|1={{{3last|}}}|2={{altlast|1={{{3last|}}}}}|3={{{empty|}}}}} {{if|1={{{3first|}}}|2={{altfirst|1={{{3first|}}}}}|3={{{empty|}}}}}{{if|1={{{4last|}}}|2={{altlast|1={{{4last|}}}}}|3={{{empty|}}}}} {{if|1={{{4first|}}}|2={{altfirst|1={{{4first|}}}}}|3={{{empty|}}}}}{{if|1={{{5last|}}}|2={{altlast|1={{{5last|}}}}}|3={{{empty|}}}}} {{if|1={{{5first|}}}|2={{altfirst|1={{{5first|}}}}}|3={{{empty|}}}}}{{if|1={{{6last|}}}|2={{altlast|1={{{6last|}}}}}|3={{{empty|}}}}} {{if|1={{{6first|}}}|2={{altfirst|1= {{{6first|}}}}}|3= {{{empty|}}}}}{{if|1={{{finallast|}}}|2={{finallast|1={{{finallast|}}}}}|3={{{empty|}}}}} {{if|1={{{finalfirst|}}}|2={{finalfirst|1={{{finalfirst|}}}}}|3={{{empty|}}}}} ({{{year|}}}) <b>{{{title|}}}.</b> {{if|1={{{city|}}}|2={{city|1={{{city|}}}}}|3={{{empty|}}}}} {{if|1={{{pub|}}}|2={{pub|1={{{pub|}}}}}|3={{{empty|}}}}}{{if|1={{{jor|}}}|2={{jor|1={{{jor|}}}|2={{if|1= {{{vol||}}}|2={{vol|vol={{{vol|}}}}}|3= {{{empty|}}}}}}}|3={{{empty|}}}}} <noinclude>{{{range}}}</noinclude>
+
<includeonly>{{{initiallast|}}}, {{{initialfirst|}}}.{{if|1={{{2last|}}}|2={{altlast|1={{{2last|}}}}}|3={{{empty|}}}}} {{if|1={{{2first|}}}|2={{altfirst|1={{{2first|}}}}}|3={{{empty|}}}}}{{if|1={{{3last|}}}|2={{altlast|1={{{3last|}}}}}|3={{{empty|}}}}} {{if|1={{{3first|}}}|2={{altfirst|1={{{3first|}}}}}|3={{{empty|}}}}}{{if|1={{{4last|}}}|2={{altlast|1={{{4last|}}}}}|3={{{empty|}}}}} {{if|1={{{4first|}}}|2={{altfirst|1={{{4first|}}}}}|3={{{empty|}}}}}{{if|1={{{5last|}}}|2={{altlast|1={{{5last|}}}}}|3={{{empty|}}}}} {{if|1={{{5first|}}}|2={{altfirst|1={{{5first|}}}}}|3={{{empty|}}}}}{{if|1={{{6last|}}}|2={{altlast|1={{{6last|}}}}}|3={{{empty|}}}}} {{if|1={{{6first|}}}|2={{altfirst|1= {{{6first|}}}}}|3= {{{empty|}}}}}{{if|1={{{finallast|}}}|2={{finallast|1={{{finallast|}}}}}|3={{{empty|}}}}} {{if|1={{{finalfirst|}}}|2={{finalfirst|1={{{finalfirst|}}}}}|3={{{empty|}}}}} ({{{year|}}}) <b>{{{title|}}}.</b> {{{ed|}}} {{{city|}}}: {{{pub|}}}. <noinclude>{{{range}}}</noinclude>
 
{{if|1= {{{range|}}}|2= {{pp|1= {{{range}}}}}|3= {{{empty|}}}}}
 
{{if|1= {{{range|}}}|2= {{pp|1= {{{range}}}}}|3= {{{empty|}}}}}
 
</includeonly>
 
</includeonly>
 
<noinclude>
 
<noinclude>
__NOTOC__
   
==Usage==
 
==Usage==
<p>This template can be used to create references using the Harvard system. To use the template copy the code below. You only need to include the variables that you are using.</p>'''Authors'''<br><p>The first name being referenced should always by 'initiallast' and 'initialfirst' and the last name being referenced should always be 'finallast' and 'finalfirst'. Therefore:
+
{| align="right"
 +
  | __TOC__
 +
  |}
 +
<p>This template can be used to create references using the Harvard system for both books and journals. To use the template copy the code below. You only need to include the variables that you are using.</p>
 +
===Authors===
 +
<p>The first name being referenced should always by 'initiallast' and 'initialfirst' and the last name being referenced should always be 'finallast' and 'finalfirst'. Therefore:
 
* A single author book/journal would include 'initiallast' and 'initialfirst'
 
* A single author book/journal would include 'initiallast' and 'initialfirst'
 
* A book with two authors would include 'initiallast', 'initialfirst', 'finallast' and 'finalfirst
 
* A book with two authors would include 'initiallast', 'initialfirst', 'finallast' and 'finalfirst
 
* A book with several authors would be 'initiallast', 'initialfirst', '2last', '2first' ... 'finallast' and 'finalfirst</p>
 
* A book with several authors would be 'initiallast', 'initialfirst', '2last', '2first' ... 'finallast' and 'finalfirst</p>
<br>
+
===Book and journals===
 +
*Books will use the parameters 'city' and 'pub'
 +
*Journals use the parameters 'jor' and 'vol'
 +
===The template===
 
  <nowiki>
 
  <nowiki>
 
{{citation</nowiki>
 
{{citation</nowiki>
Line 30: Line 37:  
  |ed =  
 
  |ed =  
 
  |city =  
 
  |city =  
  |pub =  
+
  |pub =
 +
|jor =
 +
|vol = 
 
  |range =  
 
  |range =  
 
  <nowiki>}} </nowiki>
 
  <nowiki>}} </nowiki>
 
'''NB: Template can be used in a single line to save space:
 
'''NB: Template can be used in a single line to save space:
*<nowiki>{{citation</nowiki> |initiallast =  |initialfirst =  |2last = |2first = |3last = |3first = |4last = |4first = |5last = |5first = |6last = |6first = |finallast = |finalfirst = |year =  |title =  |ed =  |city =  |pub =  |range = <nowiki>}}</nowiki>
+
*<nowiki>{{citation</nowiki> |initiallast =  |initialfirst =  |2last = |2first = |3last = |3first = |4last = |4first = |5last = |5first = |6last = |6first = |finallast = |finalfirst = |year =  |title =  |ed =  |city =  |pub =  |jor = |vol = |range = <nowiki>}}</nowiki>
 
==Example==
 
==Example==
 
===For a single author with no page reference:===
 
===For a single author with no page reference:===
Line 93: Line 102:  
|range = 1-35
 
|range = 1-35
 
}}
 
}}
 +
</p>
 +
===For journals:===
 +
<nowiki>
 +
{{citation</nowiki>
 +
|initiallast = Metcalfe
 +
|initialfirst = D.D
 +
|2last = Baram
 +
|2first = D
 +
|finallast = Mekori
 +
|finalfirst = Y
 +
|year = 1997
 +
|title = Mast Cells
 +
|jor = Physiological Reviews
 +
|vol = 77(4)
 +
|range = 1033-1064}}
 +
<nowiki>}}</nowiki>
 +
'''Gives:'''<br>
 +
<p>
 +
{{citation
 +
|initiallast = Metcalfe
 +
|initialfirst = D.D
 +
|2last = Baram
 +
|2first = D
 +
|finallast = Mekori
 +
|finalfirst = Y
 +
|year = 1997
 +
|title = Mast Cells
 +
|jor = Physiological Reviews
 +
|vol = 77(4)
 +
|range = 1033-1064}}
 
</p>
 
</p>
 
</noinclude>
 
</noinclude>

Navigation menu