Difference between revisions of "Template:Citation"
Jump to navigation
Jump to search
m (Protected "Template:Citation" [edit=sysop:move=sysop]) |
m |
||
(40 intermediate revisions by the same user not shown) | |||
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= | + | <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|}}}}} | ||
+ | </includeonly> | ||
+ | <noinclude> | ||
==Usage== | ==Usage== | ||
− | + | <p>This template can be used to create references using the Harvard system. To use the template use the code below. You do not need to include variables that you are not using:</p> | |
− | + | <br> | |
− | + | <nowiki> | |
− | <p>This template can be used to create references using the Harvard system | + | {{citation</nowiki> |
− | + | |initiallast = | |
− | + | |initialfirst = | |
− | + | |2last = | |
− | + | |2first = | |
− | + | |3last = | |
− | + | |3first = | |
− | + | |4last = | |
− | + | |4first = | |
− | + | |5last = | |
− | + | |5first = | |
− | + | |6last = | |
− | + | |6first = | |
− | + | |finallast = | |
− | + | |finalfirst = | |
− | <nowiki>{{ | + | |year = |
− | + | |title = | |
− | + | |ed = | |
− | + | |city = | |
− | + | |pub = | |
− | + | |range = | |
− | + | <nowiki>}}</nowiki> | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | <nowiki>}} </nowiki> | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
==Example== | ==Example== | ||
− | + | '''Using the following:''' | |
<nowiki> | <nowiki> | ||
{{citation</nowiki> | {{citation</nowiki> | ||
− | | | + | |last = Tizard |
− | | | + | |first = I |
|year = 2004 | |year = 2004 | ||
|title = Veterinary Immunology: An Introduction | |title = Veterinary Immunology: An Introduction | ||
− | |ed = 7th | + | |ed = 7th ed. |
|city = Philadelphia | |city = Philadelphia | ||
|pub = Saunders | |pub = Saunders | ||
+ | |range = 23-35 | ||
<nowiki>}}</nowiki> | <nowiki>}}</nowiki> | ||
'''Gives:'''<br> | '''Gives:'''<br> | ||
Line 87: | Line 49: | ||
|year = 2004 | |year = 2004 | ||
|title = Veterinary Immunology: An Introduction | |title = Veterinary Immunology: An Introduction | ||
− | |ed = 7th | + | |ed = 7th ed. |
|city = Philadelphia | |city = Philadelphia | ||
|pub = Saunders | |pub = Saunders | ||
+ | |range = 23-35 | ||
}} </p> | }} </p> | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
</noinclude> | </noinclude> |
Revision as of 14:27, 7 July 2008
Usage
This template can be used to create references using the Harvard system. To use the template use the code below. You do not need to include variables that you are not using:
{{citation |initiallast = |initialfirst = |2last = |2first = |3last = |3first = |4last = |4first = |5last = |5first = |6last = |6first = |finallast = |finalfirst = |year = |title = |ed = |city = |pub = |range = }}
Example
Using the following:
{{citation |last = Tizard |first = I |year = 2004 |title = Veterinary Immunology: An Introduction |ed = 7th ed. |city = Philadelphia |pub = Saunders |range = 23-35 }}
Gives:
Tizard, I. (2004) Veterinary Immunology: An Introduction. 7th ed. ed. Philadelphia: Saunders. pp.23-35.