Editing
Template:Harvard citation documentation
(section)
Jump to navigation
Jump to search
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
===Applications of these templates=== ====Harvard citation: [[Template:harv|<code><nowiki>{{harv}}</nowiki></code>]]==== <!--{{see also|Wikipedia:Citing sources#Parenthetical referencing}}--> Template {{tl2|harv}} creates a [[Wikipedia:Citing sources#Parenthetical referencing|parenthetical reference]] with a link to the full citation in the references section at the bottom of the article. {{Markup |<nowiki>Article text.<ref>{{harv|Smith|2006|p=25}}</ref> ==Notes== {{reflist}} ==References== * {{cite book | last = Smith | first = John | title = Smith's book | date = 2006 }}</nowiki> | Article text.<ref>{{harv|Smith|2006|p=25}}</ref> {{fake heading|sub=3|Notes}} {{reflist}} {{fake heading|sub=3|References}} * {{cite book|last=Smith|first=John|title=Smith's book|date=2006}} }} {{anchor|Shortened footnote}} ====Shortened footnote: [[Template:sfn|<code><nowiki>{{sfn}}</nowiki></code>]] or [[Template:harvnb|<code><nowiki>{{harvnb}}</nowiki></code>]]==== {{see also|Wikipedia:Citing sources#Short citations|Help:Shortened footnotes}} Template {{tl2|harvnb}} inside a {{tag|ref|o}} span can be used to create a [[Help:Shortened footnotes|shortened footnote]] that is linked to the full citation at the bottom of the article. Template {{tl2|sfn}} (without the use of {{tag|ref|o}}) has the same effect, automatically adds a period (full stop) after the page number, and combines identical footnotes automatically. {{markup|<nowiki> Article text.{{sfn|Smith|2007|p=25}} More article text.{{sfn|Smith|2007|p=25}} Still more article text.{{sfn|Smith|2007|p=26}} ==Notes== {{reflist}} ==References== * {{cite book | last = Smith | first = John | date = 2007 | title = Smith's Book }} </nowiki>| Article text.{{sfn|Smith|2007|p=25}} More article text.{{sfn|Smith|2007|p=25}} Still more article text.{{sfn|Smith|2007|p=26}} {{fake notes and references||}} * {{cite book | last = Smith | first = John | date = 2007 | title = Smith's Book }} |<nowiki> Article text.<ref name=Smith2008p25>{{harvnb|Smith|2008|p=25}}.</ref> More article text.<ref name=Smith2008p25/> Still more article text.<ref>{{harvnb|Smith|2008|p=26}}.</ref> ==Notes== {{reflist}} ==References== * {{cite book | last = Smith | first = John | date = 2008 | title = Smith's Book }} </nowiki>| Article text.<ref name=Smith2007p25>{{harvnb|Smith|2008|p=25}}.</ref> More article text.<ref name=Smith2007p25/> Still more article text.<ref>{{harvnb|Smith|2008|p=26}}.</ref> {{fake notes and references||}} * {{cite book | last = Smith | first = John | date = 2008 | title = Smith's Book }} }} ====In text attribution: [[Template:harvtxt|<code><nowiki>{{harvtxt}}</nowiki></code>]]==== {{see also|Wikipedia:Citing sources#In-text attribution}} Template {{tl2|harvtxt}} can be used to link an [[Wikipedia:Citing sources#In-text attribution|in-text attribution]] to the full citation at the bottom of the page. {{markup |<nowiki>According to {{harvtxt|Smith|2009|p=25}} ... ==References== * {{citation | last = Smith | first = John | date = 2009 | title = Smith's Book }} </nowiki> | According to {{harvtxt|Smith|2009|p=25}} ... {{Fake heading|sub=3|References}} * {{citation | last = Smith | first = John | date = 2009 | title = Smith's Book }} }} ====Bundled citation: [[Template:harvnb|<code><nowiki>{{harvnb}}</nowiki></code>]] or [[Template:sfnm|<code><nowiki>{{sfnm}}</nowiki></code>]]==== {{see also|Wikipedia:Citing sources#Bundling citations}} Template {{tl2|harvnb}} can be used to [[WP:CITE#Bundling citations|bundle citations]]. {{tl2|sfnm}} also produces bundled citations. {{markup|<nowiki> Article text ({{harvnb|Smith|2010|p=25}}; {{harvnb|Jones|2010}}). </nowiki>| Article text ({{harvnb|Smith|2010|p=25}}; {{harvnb|Jones|2010}}). |<nowiki> Article text.<ref>{{harvnb|Smith|2010|p=25}}; {{harvnb|Jones|2010}}</ref> </nowiki> |Article text.<ref>{{harvnb|Smith|2010|p=25}}; {{harvnb|Jones|2010}}</ref> {{Fake heading|sub=3|Notes}} <references /> |<nowiki> Article text.{{sfnm|la1=Smith|y1=2010|p1=25|la2=Jones|y2=2010}} </nowiki> |Article text.<ref>{{harvnb|Smith|2010|p=25}}; {{harvnb|Jones|2010}}</ref> {{Fake heading|sub=3|Notes}} <references /> |<nowiki> ==References== * {{cite book |last = Smith |first = John ... Smith's book}} * {{cite book |last = Jones |first = Mary ... Jones' book}} </nowiki> |{{Fake heading|sub=3|References}} * {{cite book |last = Smith |first = John |date = 2010 |title = Smith's book }} * {{cite book |last = Jones |first = Mary |date = 2010 |title = Jones' book }} }} Note that {{tl2|sfn}} is inappropriate for bundled citations; use {{tl2|harvnb}} or {{tl2|sfnm}}. ====More exotic Harvard citations: [[Template:harvid|<code><nowiki>{{harvid}}</nowiki></code>]] or [[Template:harvs|<code><nowiki>{{harvs}}</nowiki></code>]]==== {{Main|Template:Harvard citations|Template:harvid}} More exotic Harvard citations can be constructed using the {{tl2|harvs}} template, such as multiple papers by the same author, using both the first and last names, links to articles about the author, and others. Any kind of unusual link can also be constructed using the idiom <code><nowiki>[[#{{harvid|</nowiki></code>''parameters''<code><nowiki>}}|</nowiki></code>''link name''<code><nowiki>]]</nowiki></code>. ({{tl|citeref}} is a wrapper for {{tl|harvid}} making it easier to consistently create such internal links in small superscript<sup>[n]</sup> or plain-text label styles.) {{markup|<nowiki> The theory was developed by {{harvs|txt|first=F. J.|last=Murray|author1-link=F. J. Murray|first2=J.|last2=von Neumann|author2-link=John von Neumann|year=1936|year2=1937|year3=1943}}. </nowiki>| The theory was developed by {{harvs|txt|first=F. J.|last=Murray|author1-link=F. J. Murray|first2=J.|last2=von Neumann|author2-link=John von Neumann|year=1936|year2=1937|year3=1943}}. |<nowiki> The theory was developed by [[F. J. Murray]] and [[John von Neumann|J. von Neumann]] ([[#{{harvid|Murray|von Neumann|1936}}|1936]],[[#{{harvid|Murray|von Neumann|1937}}|1937]],[[#{{harvid|Murray|von Neumann|1943}}|1943]]). </nowiki>| The theory was developed by [[F. J. Murray]] and [[John von Neumann|J. von Neumann]] ([[#{{harvid|Murray|von Neumann|1936}}|1936]], [[#{{harvid|Murray|von Neumann|1937}}|1937]], [[#{{harvid|Murray|von Neumann|1943}}|1943]]). |<nowiki> == References == * {{citation | last1 = Murray | first1 = F. J. | date = 1936 | ...}} * {{citation | last1 = Murray | first1 = F. J. | date = 1937 | ...}} * {{citation | last1 = Murray | first1 = F. J. | date = 1943 | ...}} </nowiki>| {{fake header|sub=3|References}} * {{citation | last=Murray | first=F. J.| last2=von Neumann | first2=John | date=1936 | title=Mathematics Paper }} * {{citation | last=Murray | first=F. J.| last2=von Neumann | first2=John | date=1937 | title=Another Mathematics Paper }} * {{citation | last=Murray | first=F. J.| last2=von Neumann | first2=John | date=1943 | title=Yet Another Mathematics Paper }} }} Some articles use this idiom <code><nowiki>[[#CITEREF</nowiki></code>''id ''|'' link name ''<code><nowiki>]]</nowiki></code>. See notes on [[#Implementation notes|implementation details]] below.
Summary:
Please note that all contributions to UBWiki may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see
UBWiki:Copyrights
for details).
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)
Navigation menu
Personal tools
Not logged in
Talk
Contributions
Create account
Log in
Namespaces
Template
Discussion
English
Views
Read
Edit
View history
More
Search
Navigation
Main page
Recent changes
Random page
Help about MediaWiki
Tools
What links here
Related changes
Special pages
Page information